Home › Forums › WoodMart support forum › Atribiute Swatches
Atribiute Swatches
- This topic has 9 replies, 2 voices, and was last updated 3 days, 8 hours ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
July 15, 2025 at 10:53 am #674043
biuro-2007ParticipantHi,
I have reinstalled the woodmart theme and can’t turn on atribiute swatches. Help please.
https://aldrux.pl/product/stedman-st2000/July 15, 2025 at 3:02 pm #674255
Aizaz Imtiaz AwanKeymasterHello,
Navigate to Products > Attributes > Select the attribute you want to configure and click Configure Terms, and enable swatch type.
You can read more here https://xtemos.com/docs-topic/variable-products-and-swatches/ and https://xtemos.com/docs-topic/attribute-swatches/
If you have any questions, feel free to contact us.
Best Regards,
July 15, 2025 at 3:06 pm #674258
biuro-2007ParticipantIt is broken, I have setup all fine but it doswn’t work
Attachments:
You must be logged in to view attached files.July 15, 2025 at 3:10 pm #674260
biuro-2007ParticipantI have tried but it dosen;t work or I don;t know why.
login please and do it for me.July 15, 2025 at 3:55 pm #674307
Aizaz Imtiaz AwanKeymasterHello,
You have not enabled the text swatches on your site in attribute terms. I’ve now activated the text swatches for some terms under the “Rozmiar” attribute, and the swatches are working correctly.
Please revisit your site and check the “Creator 2.0” product to see the changes in effect.
You can read more about swatches here. https://xtemos.com/docs-topic/variable-products-and-swatches/ and https://xtemos.com/docs-topic/attribute-swatches/
Best Regards,
July 15, 2025 at 6:51 pm #674363
biuro-2007ParticipantHi Aizaz
I’m using the Woodmart theme and variation swatches are working in general — colors and sizes are displayed as buttons. However, unavailable combinations (e.g. Color + Size) are not being marked as disabled. I expected the unavailable options to be automatically greyed out or show an “X” (as shown in your demo), but in my case they still look active and selectable.
What I’ve already done:
I’m using global attributes (not custom ones)
I created all valid combinations manually (over 400 variations)
I removed unavailable combinations from the product
Swatch settings in Theme Settings → Shop → Swatches are configured (swatch style + disabled swatch style selected)
I cleared all caches (WP Rocket, browser, server-side)
I disabled all swatch-related plugins to avoid conflicts
I’m using the latest version of Woodmart and WooCommerce
Despite all of that, unavailable combinations don’t change their appearance or get disabled on the product page. Is there anything else I should check? Or is this a bug in the latest release?
https://aldrux.pl/product/creator-2-0/
clik at color aloe (the first) and size 5XLThanks in advance for your help!
Best regards,
Leszek TatarczukJuly 16, 2025 at 8:45 am #674419
Aizaz Imtiaz AwanKeymasterHello,
Navigate to Products > Attributes > edit attribute > Choose the disabled swatch style.
So, you need to have the variant of the Product not checked with the Enable option on it, and then the Disabled Swatch style will work accordingly for variations.
See these images for reference:
https://snipboard.io/BMehIF.jpg
https://snipboard.io/NbOzfP.jpgBest Regards,
July 16, 2025 at 10:27 am #674457
biuro-2007ParticipantHi Aizaz,
Generaly, the swatches works fine, the problem is when I have 490 variations. With 490 variatnios it dosen\’t work. Let me know if you can do somthing to make it possible??
e.g.
in this product it works: https://aldrux.pl/product/stedman-st2000/
in this product it dosen;t work: https://aldrux.pl/product/creator-2-0/July 16, 2025 at 11:22 am #674472
biuro-2007ParticipantI’m using the Woodmart theme and I have a variable product with 490 variations (e.g. over 40 colors × 12 sizes). I noticed that the variation swatches do not show as disabled or crossed-out when a certain combination is unavailable. Instead, the only feedback the user gets is the default message:
“Sorry, no product matches your selection. Please choose a different combination.”This makes the product harder to use for customers, because all options look available until they get the error.
To clarify:
On products with fewer variations, everything works correctly — unavailable options are crossed out or greyed out.
On this large product (490 variations), that functionality seems to break.
I’ve already added this filter in functions.php to increase the variation threshold:
add_filter( ‘woocommerce_ajax_variation_threshold’, ‘custom_wc_ajax_variation_threshold’, 10, 2 );
function custom_wc_ajax_variation_threshold( $qty, $product ) {
return 500;
}Variations load properly and the product is functional, but swatch visual feedback doesn’t work.
I’ve tested with and without plugins, cache cleared, and also confirmed that the problem is not due to server limits — just the number of combinations.Can you please advise?
Is there a known limitation with the swatch system and high number of variations?
Can you suggest a way to enable the disabled swatches behavior for such products?
Is there a JS limitation, and can we work around it?
July 16, 2025 at 1:16 pm #674513
Aizaz Imtiaz AwanKeymasterHello,
You need to increase the “AJAX variation threshold” option in Theme Settings > Shop > Variable products: https://prnt.sc/x_BOGCelUZQ7 (set the max value). Then check back on your site and check the issue.
Best Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register