Hi all customer,
In this topic tutorial we’ll help you resolve the issue images in the product not change when change product variation attribute.
You should do it via child theme follow this:
How to customize WordPress theme using Child theme
Template structure & Overriding templates via a theme
In this case you need to override temple:
wp-content/themes/pricom/woocommerce/single/add-to-cart/variable.php
by copy this file to
wp-content/themes/pricom-child/woocommerce/single/add-to-cart/variable.php
Please notice you need to change pricom to another theme folder like teespace,…
After copy this file to child theme you need add this code at line 22:
$available_variations = $product->get_available_variations(); // For large number of variation
The code will become like this:

Hope this helps and thanks for reading!
******
Best Regards,
HaruTheme
-
This topic was modified 1 month, 3 weeks ago by
admin.
-
This topic was modified 1 month, 3 weeks ago by
admin.
-
This topic was modified 1 month, 3 weeks ago by
admin.
-
This topic was modified 1 month, 3 weeks ago by
admin.