PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Change layout of variations table

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi!

 

We got some customization problem. We want to add parent featured image on the Variations table (before the variants). We sell swimwear (each piece has 20 sizes = variants), so when you click "Select" on the WOOT, the variations table pops up. Is there a way to customize it?

 

Look here how this works for me: https://produkcja.lavel.pl/dostepne-produkty/

Hello

Please  check  this  option - https://share.stackovergo.com/image/i20210826101718.png

Yes, I've seen that already.

But there is no parent picture. There is an option called eg "Featured" but none of the options show parent's featured image.

Moreover, the question is little bit different - is there a way to eg. add variations table's php file to theme's folder for edditing? Simply, is there a way to override variations' table layout/php file.

Hello

But there is no parent picture. - There are images of the variation - https://share.stackovergo.com/image/i20210827122841.png

 is there a way to eg. add variations table's php file to theme's folder for edditing - it will always be a table, All you can do with a table is add columns - https://products-tables.com/how-to-add-custom-column-to-the-tables/

It won't help me achieve what I need.

So, another approach I came up with is to make script in javascript that adds featured parent photo. To achieve this I need to have parent SKU/ID on the variations table popup.

Would I find this information there? If not, is there a way to add parent SKU and/or ID to that table? It would let me look up for parent featured image (and other informations) and would let me to show it on the variations popup.

 

It would also help me achieve the second desire - it would let me to add arrows (left/right) to the variations table popup, that would change variations table to the NEXT/PREV product. And I would really like to let my clients to walk through each product without leaving variations table popup (it would save A LOT of clicks :P)

 

Thanks for your support :)

Hello

Please  try  to  check  it - https://products-tables.com/how-to-add-custom-column-to-the-tables/  -  If you look at the code, you will see that the function has a product (variant) ID.  To  get  parent  product - https://woocommerce.wp-a2z.org/oik_api/wc_productget_parent_id/