Home › Forums › WoodMart support forum › Swatches not displaying on variable products, showing dropdowns instead
Swatches not displaying on variable products, showing dropdowns instead
- This topic has 2 replies, 2 voices, and was last updated 1 hour, 15 minutes ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
August 23, 2025 at 12:38 am #681671
marcosrjdesouzaParticipantHello,
I need your help. I have configured my product attributes (e.g., “Numero de condutores”) to display as “Text (label)” swatches. The configuration in Products > Attributes is correct for all of them.
However, on the single product page, they are still showing as default dropdown menus instead of the styled swatches.
I have already tried all the standard solutions:
I confirmed that every attribute is set to the “Text (label)” swatch style.
I increased the “AJAX variation threshold” to 300 in the theme settings.
I have cleared all caches multiple times (plugin, theme, server, and browser hard reload).
I performed a full plugin conflict test, deactivating everything except WoodMart Core, WooCommerce, and Elementor. The problem persists.
We found and fixed a 404 error in the console related to a brand image, but it did not solve the issue.
We are using the WoodMart Layout Builder for the single product page.
Could you please investigate what might be causing the theme to override the attribute swatch settings?
Thank you.
Attachments:
You must be logged in to view attached files.August 23, 2025 at 7:31 am #681677
marcosrjdesouzaParticipantHello,
Hello, I made some changes to the styling question. I set my product attributes to display as “Text (Label)” swatches, but they continue to render as standard dropdown menus or as a vertical list of labels on the product page.
The problem is that the swatch container (.product-labels) is being rendered with styles that force it to be vertical and “floating” (position: absolute), and I can’t override this with custom CSS, even using !important.
Here’s everything we’ve tried:
I’ve confirmed that all attributes are set to the “Text (Label)” swatch style in Products > Attributes.
I’ve increased the “AJAX Variation Limit” to 300 in Theme Settings > Shop > Variable Products.
I’ve run a full plugin conflict test; the issue persists only with WoodMart Core, WooCommerce, and Elementor active.
We’re using WoodMart Layout Builder for the individual product page, and the “Add to Cart” widget has the “Sample Layout” option set to “inline.” This setting has no effect.
We’ve tried replacing the .product-labels class with custom CSS, but the theme’s default styles aren’t being overridden.
We’ve repeatedly cleared all cache levels (plugin, theme, and hard resetting the browser).
It appears that a theme script or a highly specific CSS rule is preventing any customization. Could you provide the correct solution or CSS to force the samples to display inline and within the normal page flow?
Thank you.
August 23, 2025 at 11:48 am #681708
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register