Home / Forums / WoodMart support forum / Product attribute hidden in archive due to .wd-hidden class
Home › Forums › WoodMart support forum › Product attribute hidden in archive due to .wd-hidden class
Product attribute hidden in archive due to .wd-hidden class
- This topic has 17 replies, 2 voices, and was last updated 2 months, 1 week ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
April 15, 2026 at 5:25 pm #716046
soporte_webParticipantHello,
We have recently added a new variation (model 808) to the product “Alfombra de vinilo tejido Leblon”. The variation is correctly visible on the single product page, but it does not appear in the product archive view.
While debugging the issue, we noticed that this attribute value is being rendered with the class .wd-hidden in the archive/swatches output. We would like to understand the reason why this class is being applied, as it effectively hides the attribute value from the frontend.
Could you please clarify under which conditions Woodmart assigns the .wd-hidden class to attribute values in the archive or swatches rendering? Is this behavior related to variation availability, attribute display limits, stock status, or any specific theme option?
We have already checked the attribute configuration and ordering settings for the “model” attribute on the product, but we still cannot identify the reason for this behavior.
Thank you in advance for your support.
April 16, 2026 at 11:03 am #716099Hello,
This behavior is related to the option “Limit swatches on grid” that you have enabled in the theme settings > shop > Variable products.
When this option is active, WoodMart limits the number of visible swatches in the product archive to improve layout and performance. Any additional variations beyond the defined limit are automatically assigned the .wd-hidden class and therefore not displayed.
That is why your newly added variation (model 808) is hidden in the archive view.
You can either:
- Disable “Limit swatches on grid” to show all variations, or
- Increase the swatch limit
Best Regards,
April 16, 2026 at 5:22 pm #716155
soporte_webParticipantHello, thank you for your response.
We would like to know exactly what modification has been made, as we have not changed any of the options mentioned (such as “Limit swatches on grid”), and it is now being displayed.
Kind regards.
April 17, 2026 at 8:19 am #716179Hello,
Navigate to Theme Settings > Shop > Variable Products > disable the option “Limit swatches on grid”: https://ibb.co/21WGh8C8
Best Regards,
April 17, 2026 at 9:21 am #716187
soporte_webParticipantHello,
We are currently replicating your steps in our STAGE environment, as we are experiencing the same issue and want to understand how to properly solve it in future cases.
We have tried disabling the “Limit swatches on grid” option and enabling it again (since we actually want to limit it to 4 models), but the variation is still not displayed.
For this reason, we would like to know exactly what change you applied on your side to make it work correctly. We need to understand this both from a technical perspective and to properly explain it to our client and handle similar cases in the future.
Could you please clarify what specific action was taken?
Thank you in advance.
April 17, 2026 at 10:26 am #716197Hello,
No specific code modification was applied on our side. The behavior you are seeing is directly related to how the “Limit swatches on grid” option works in the theme.
When this option is enabled, the theme limits the number of visible swatches (e.g., 4). Any additional variations are not removed — they are simply hidden and grouped under a “+X” indicator (for example, “+2”).
To view those hidden variations on the product archive, you need to click on the “+X” button, which expands and reveals the remaining swatches.
If you want all variations to be always visible without needing to click “+X”, you will need to either:
- Disable the “Limit swatches on grid” option, or
- Increase the swatch limit value
This is expected behavior and is designed to keep the product grid layout clean when there are many variations.
Best Regards,
April 17, 2026 at 12:52 pm #716204
soporte_webParticipantHello,
Thank you for the clarification.
We understand your comments regarding the behavior of the “Limit swatches on grid” option and the “+X” indicator.
However, from our side we would like to highlight an important point: even if there were no code changes, there must have been some change in state or configuration between the time the issue was reported and the time it was reviewed.
In order to properly handle these cases with the client in the future, we need to confirm what change was made.
We are currently facing the same issue as in production: the model is not displayed, and we need to know what needs to be modified in order for it to appear correctly.
Thank you in advance.
April 17, 2026 at 2:30 pm #716216Hello,
But the Model (808) appears correctly in the “Alfombra de vinilo tejido Leblon” product in the product archive.
See Screenshot for clarification: https://postimg.cc/zHn8T77v
Best Regards,
April 18, 2026 at 12:06 am #716260
soporte_webParticipantHello,
Thank you for the screenshot.
Indeed, the model (808) is correctly displayed in the environment you are showing. However, we would like to clarify that this corresponds to the production environment.
The case we are currently analyzing and replicating is in our STAGE environment, where the behavior remains as initially reported: the model is not displayed in the product archive.
For this reason, we need to identify the exact change (whether configuration or attribute state) that caused it to display correctly in production, so we can apply the same solution in STAGE and in future similar cases.
We look forward to your clarification.
Thank you in advance.
April 18, 2026 at 11:04 am #716282Hello,
Try to regenerate “Regenerate the product attributes lookup table” in Woocommerce > Status > Tools and check the issue.
See this screenshot: https://gyazo.com/73736acec1f3ef5787e4e1610d3f3851
If the issue remains, share the product page URL where the issue persists along with the wp logins details so I will further check on your site and give you a possible solution.
Best Regards
April 20, 2026 at 11:28 am #716399
soporte_webParticipantHello,
We have tried regenerating the “Regenerate the product attributes lookup table” option in WooCommerce > Status > Tools, but it did not resolve the issue.
We are attaching a screenshot showing the current behavior.
We are providing you access to the STAGE environment so you can review it directly.
Please, it is IMPORTANT for us to understand exactly what action you take or what changes you apply, as we need to be able to replicate the solution if this happens again in the future.We look forward to your response.
Thank you in advance.
April 20, 2026 at 3:36 pm #716444Hello,
I’m sorry, but I’m unable to access your site because it’s asking for additional sign in details
https://postimg.cc/SnNQD0RRPlease share the details and also share the product page url where the variations are not showing so i will further check on your site and give you a possible solution.
Best Regards
April 21, 2026 at 10:14 am #716511
soporte_webParticipantHello,
Apologies for not providing the required access details earlier.We are now sharing the necessary information so you can properly review the case.
We look forward to your feedback.
Thank you in advance.April 21, 2026 at 1:09 pm #716549Hello,
I have checked your site and the “Model 808” is showing fine in “Alfombra de vinilo tejido Leblon” product in the product archive.
See Screenshot for clarification: https://postimg.cc/dDC1pBgC
Best Regards
April 21, 2026 at 2:34 pm #716560
soporte_webParticipantHello,
Thank you for your check.
We are attaching screenshots showing how we are seeing it on our side, as in our case model 808 is not displayed.
We have included images from both the homepage and the archive, where the variation is not visible.
As you can see in our screenshots, our intention is to display 4 models (not all) in the archive, but within that limit, model 808 should be one of the visible ones.
Additionally, we are attaching an image where it can be seen that the first element has the .wd-hidden class, and it corresponds precisely to model 808, which is why it is not being rendered on the frontend.
Could you please review it again? It seems the behavior is not consistent depending on the environment or session.
We look forward to your feedback.
Thank you in advance.
April 21, 2026 at 3:49 pm #716579Hello,
Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site, and then check the issue. I am sure your issue will be solved. Then activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists, then keep the 3rd party plugins deactivated and let me know, so I can check and give you a possible solution.
Best Regards
April 21, 2026 at 4:46 pm #716588
soporte_webParticipantHello,
Thank you for your suggestion.
However, we would like to point out that in the production environment the issue was resolved without deactivating or modifying any third-party plugins.
For this reason, we understand that the cause should not be related to a plugin conflict, but rather to some configuration, state, or cache-related change.
Could you please check if any other changes were applied in production that might have caused it to work correctly?
We look forward to your response.
Thank you in advance.
April 22, 2026 at 10:30 am #716639Hello,
From our side, no manual configuration or code change was applied in production.
Try to clear the Cache (server/CDN/object cache) — production may have refreshed cache, while STAGE still serves older data, Transient data / WooCommerce cache not fully cleared
Attribute order/term order recalculation after saving the product or attributes.
If the issue remains, could you please temporarily disable all plugins that are not related to our theme and switch to the parent theme? Test how it works and let us know if this helps. Keep them turned off so we can test this, either.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register