Jun 8
WoodMart Variation Image swatch conflict
The Problem:
On variable products using two attributes—Color (color) and Size
(megethos)—clicking on a color swatch fails to update the main product
gallery image (on the single product page) or the thumbnail image (on
the product grid) unless a size is selected first.
Technical Analysis:
The WooCommerce Dependency Lock: By default, WooCommerce native
scripts do not trigger the found_variation event until a complete and
unique variation combination is chosen (Color + Size). Because clicking a
color swatch leaves the size undefined, WooCommerce blocks the image
change.
The Swatch/Slider Conflict: WoodMart handles advanced swatches
beautifully, but because the theme’s slider gallery (Slick/Owl) relies
on native WooCommerce events to track variations, the gallery stays
frozen on the initial image.
The Multilingual Selector Miss: Standard scripts looking for
generic attributes like size fail to find the elements because the size
attribute uses the Greek localization pa_megethos.
The Impact on User Experience:
Customers clicking different color swatches see no visual response from
the main gallery. They assume the color switches are broken or that
different color photos do not exist, unless they happen to choose a size
first.
Closed
Hello, Thank you for reaching out to us with your question. We appreciate that you use our theme and are happy to help you in any way we can. To ensure that we are able to provide you with the best support possible, we encourage you to create a new topic on our support forum with your question or issue. Our support team actively monitors the forum and will be able to provide you with a prompt and thorough response. To create a new topic on our support forum, please follow these steps: 1. Visit https://xtemos.com/forums/forum/woodmart-premium-template/ and sign in with your account. 2. Click on the “Create New Topic” button and provide a descriptive title and detailed description of your question or issue. 3. Click “Submit” to post your question. Once you have posted your question on the support forum, our team will review it and provide a response as soon as possible. Thank you for your cooperation, and we look forward to hearing from you on the support forum. Best regards