Filter with only stock variations. - by Samaracrp

3 replies3 participantsUpdated by Rose Tyler

  • Avatar: Samaracrp
    Samaracrp
    Participant

    I have a lingerie store and size filters are important! I would like the filter to show only the variations in stock. How do I do that ?
    Filter with only stock variations.
    Example: I have a lingerie that has P M G. I want that when the variation G is 0, automatically when filtering by G, that product no longer appears, or appears as out of stock.

    3 Answers

    Avatar: John Holden
    John Holden
    Participant

    Hi,

    If you need attributes just for filter only, just use the simple products with attributes http://prntscr.com/r25qs7 You’ll be able to filter products by these attributes.

    Regards,
    Hung PD

    Avatar: Samaracrp
    Samaracrp
    Participant

    I don’t think you understand, my variations appear ok! I registered them, but I want the product that runs out of a certain variation not to appear in the filter!
    Ex the Top Marina product ended up in M, when the customer filters M it does not appear, but when filtering P or G it appears, understand?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    WooCommerce > Settings > Products > Inventory > Out of stock visibility > Hide out of stock items from the catalog – try this option.
    If this doesn’t give the desired result, submit your request here – https://www.8theme.com/taskboard/

    Regards

You must be logged in to reply to this topic.Log in/Sign up