• Hi there,
    I’m just testing your plugin (awesome by the way!), and I was wondering if there’s a way to hide options that aren’t available?

    So for example if I have 5 color options, but 2 are currently out of stock can I hide those 2 out of stock options?

    I’ve tried adding the following:

    .wpcvs-term.wpcvs-disabled {
        display: none;
    }

    Which kind of works, but only after a selection is made.
    When the page initially loads all options are available, then once one is selected the disabled terms disappear.

    Is it possible the have the product load only the available options do you think?

    Thanks for your help!

    Kind regards,
    JP

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same problem and I am waiting for resolution ??

    Best regards
    SZ

    Thread Starter JapeNZ

    (@japenz)

    Hi there,
    So unfortunately the

    .wpcvs-term.wpcvs-disabled {
        display: none;
    }

    code I was testing hides everything not currently selected.
    This is fine unless you have multiple variable options, as it then makes things very confusing.

    As an alternative I’m using a colour that stands out to show unavailable selection options like so:

    .wpcvs-term.wpcvs-disabled {
        background-color: #d00000 !important;
        opacity: initial;
    }

    But the problem of unavailable options (disabled) only being applied once a selection is made, still persists.

    Any idea how we can have these immediately unavailable (disabled) when the product page loads?

    Thanks again for your help!

    Kind regards,
    JP

    • This reply was modified 2 years, 4 months ago by JapeNZ.
    Thread Starter JapeNZ

    (@japenz)

    Hello again,

    As an example of the issue you can view a product here: Spawn #300

    You’ll notice it’s only once you select an option that the unavailable attributes change colour.

    Kind regards,
    JP

    • This reply was modified 2 years, 4 months ago by JapeNZ.

    Variants show as buttons in my case and in no way the plugin recognizes which options are active and which are inactive (out of stock)…

    On the product archive page after selecting an unavailable option, the “Add to cart” button is not active, but there is no information about it.

    It would be nice if the plugin would add a corresponding class for terms that are unavailable.

    • This reply was modified 2 years, 2 months ago by Pawe? Patyk.
    uaoh

    (@uaoh)

    Hi, I have the same problem, There are any updates?

    Kind regards,
    Mauro

    I have the same challenge. I’d love to only display the variations that are in stock, but all are displayed. Would be great to have the option to toggle a switch in the plugin settings to “Hide unavailable variations”. @wpclever

    Hi all, they fixed it in the latest update (2.3.3)!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hide unavailable terms’ is closed to new replies.