I am trying to: obtain a classic woocommerce product gallery in a content template associated to be used with woocommerce products - the behaviour that if you have variations' images set up in the product, when you select the sigle variation from the dropdown, the associated image changes automatically.
my theme is enfold latest version, and when i use it in default mode without the content template, works fine
i tried to change theme to storefront - the issue is present
i tried to deactivate ALL plugins except from woocommerce, the issue is present
all my apps (WP, plugins, theme) are at the latest version available.
the issue is always the same, and disappears in the moment i deactivate the association of content template's usage with products and reload page: the theme/woocommerce combo has ists default templates bask, and everythings work fine, but i loose all my customizations & CP and custom taxonomies, etc.
more: i already tried all i found in KB and forums:
https://toolset.com/forums/topic/is-it-possible-to-set-multi-image-as-gallery-like-woocommerce-product-gallery%ef%bc%9f/ > https://toolset.com/forums/topic/slider-in-content-template-2/#post-458061
https://toolset.com/forums/topic/single-product-content-template-with-woocommerce-product-gallery/
https://toolset.com/forums/topic/how-to-combine-toolset-with-woocommerce-to-build-the-product-image-gallery/
nothing works, seems a bug, but maybe i'm doing something wrong
Link to a page where the issue can be seen: hidden link
I expected to see: when i change selection of the variation, che associated image changes automatically
Instead, I got: the image never changes, it always remains the default product featured image
Hi,
Thank you for contacting us and I'd be happy to assist.
To troubleshoot this, I'll need to see how this Toolset content template for the single product page is set up in the admin area.
Can you please share temporary admin login details, in reply to this message?
Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.
regards,
Waqar
Thank you for sharing the access details.
While I can see the issue of the product images not changing with the variation selection on your website, I couldn't reproduce this on my test website.
Even, if I copy your website's content template code on my test website, the image switching works. This suggests that something specific to your website is involved.
Do I have your permission to download your website's clone/snapshot, to investigate this on a different server?
yes sure you can download and investigate 🙂
thx,
s.
Thank you for the permission.
During troubleshooting on the website's clone, I noticed that the issue with the image switching is fixed if the Toolset Layouts plugin is deactivated.
Your website isn't using any layout created using this plugin and it's no longer needed on the new websites too. So you can deactivate and remove this plugin and the image switching will work.
My issue is resolved now. Thank you!