Home › Forums › WoodMart support forum › Inactive variations are visible and AJAX variation

Inactive variations are visible and AJAX variation

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #730469

    kharlamov.man
    Participant

    Hello WoodMart Support,

    I’m using WoodMart 8.6.1 with WooCommerce and need help with two variation settings:

    1. I would like inactive (disabled) variations to be hidden from the product page, rather than shown as selectable color swatches. How can I configure this?
    2. The AJAX variation threshold is currently 30. I have a product with about 100 variations and would like to increase the threshold. Your settings search finds “AJAX variation threshold” under Shop → Variable products, but clicking the result does not take me to the setting, and the field is not visible on that page. How can I change it through the standard WoodMart interface?

    I can provide a screenshot of the settings search result if helpful.

    Thank you!

    #730489

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    01.Could you please clarify what you mean by inactive (disabled) variations? Are these variations that are out of stock, or variations that have been manually disabled?

    If by inactive (disabled) variations you mean manually disabled variations, you can configure the Disabled Swatch style by navigating to:
    Products > Attributes > Edit Attribute

    Then select the desired Disabled Swatch style.

    Please note that this setting applies to manually disabled variations, not out-of-stock variations. To apply it, edit the relevant product variation and disable the Enabled option. The Disabled Swatch style will then be applied accordingly.
    However, please note that this option changes the appearance of disabled variations; it does not hide them completely.

    See these images for reference:
    https://snipboard.io/BMehIF.jpg
    https://snipboard.io/NbOzfP.jpg

    02. You can change the AJAX variation threshold from the standard WoodMart settings.

    Please navigate to Theme Settings > Shop > Variable Products

    There you will find the AJAX variation threshold option. You can increase the value from the default 30 to the number of variations you require, for example 100.
    https://postimg.cc/06xjd6Ft

    After changing the value, click Save Settings and test the product again.

    Best Regards

    #730503

    kharlamov.man
    Participant

    Hello,
    Thank you for your reply.
    Unfortunately, the suggested solution does not fully solve my issue.
    1. Regarding inactive variations:
    I need unavailable/inactive color variations to be completely hidden from the product page, not just displayed with a different “Disabled Swatch” style.
    For example, if a certain color variation is disabled or unavailable for this product, I do not want the customer to see this color swatch at all.
    Is there a WoodMart setting that allows unavailable/disabled variation swatches to be completely hidden?
    If there is no such setting, could you please provide the recommended hook/filter or code snippet for WoodMart to hide them?
    2. Regarding the AJAX variation threshold:
    You wrote:
    “Theme Settings > Shop > Variable Products > AJAX variation threshold”
    However, I do not have the AJAX variation threshold option in this section of my WoodMart settings.
    My goal is to increase the variation limit from the default 30 to at least 100 variations per product.
    Could you please clarify:
    – Why is this setting missing in my WoodMart installation?
    – Was this option moved or removed in newer WoodMart versions?
    – What is the correct way to increase the AJAX variation threshold to 100 in the current version of WoodMart?
    – If it must now be done with PHP, please provide the correct hook/filter compatible with WoodMart.
    So, to summarize, I need:
    – AJAX variation threshold increased to at least 100;
    – unavailable/disabled color swatches completely hidden, not just visually disabled.
    Please provide the exact solution for the current WoodMart version.
    Best regards,

    Attachments:
    You must be logged in to view attached files.
    #730506

    kharlamov.man
    Participant

    I am attaching a screen recording.

    #730538

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    01. Try to use the code below for help:

    .wd-swatches-single .wd-swatch.wd-disabled {
        display: none;
    }

    Define it in Theme Settings > Custom CSS and check how it works:

    02. Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field of this topic so that we can check this concern on your Site and help you out accordingly.

    Best Regards

    #730549

    kharlamov.man
    Participant

    ok

    #730552

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry to say, the login details you provided are not working. Please share the correct login details so I can check the issue and give you a possible solution.

    Best Regards

    #730557

    kharlamov.man
    Participant

    I am sending the details.

    #730576

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Thank you for providing the access details.

    Regarding the AJAX Variation Threshold, please first enable the following option:
    Theme Settings > Shop > Variable Products > Additional images of variations

    After enabling this option, the AJAX Variation Threshold setting will become available in the same section.

    See the screenshot for better understanding: https://postimg.cc/8FzsmRHG

    You can then increase the value from the default 30 to 100 (or the required number of variations).

    Please save the Theme Settings after changing the value and check the product again.

    Best Regards.

    #730583

    kharlamov.man
    Participant

    Thank you for the help.

    #730602

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You’re Most Welcome!

    Feel free to write back anytime. If you need further assistance, we are always here to help you.

    If you have a minute, we’d truly appreciate your feedback — it helps us improve the product and shape future updates more effectively. We’d love your feedback on our theme:
    https://www.trustpilot.com/review/xtemos.com

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Inactive variations are visible and AJAX variation’ is closed to new replies.