How to keep out of stock variations showing in product dropdown

This topic has 4 replies, 2 voices, and was last updated 5 years, 9 months ago ago by Rose Tyler

  • Avatar: felement
    felement
    Participant
    February 1, 2019 at 11:36

    Hi,

    I’m not sure if this is Royal theme or Woocommerce functionality, but I’ve been given a requirement on the variation dropdown to show all sizes regardless of whether they are in or out of stock. I found a function to add a (out of stock) label to the sizes, but when the product is loaded, some functionality hides those out of stock variations and only shows those in stock

    So, what I’m looking for is something like this in the drop down

    Small (Out of Stock)
    Medium (In Stock)
    Large (In Stock)
    X-Large (Out of Stock)

    But functionally this currently shows

    Medium (In Stock)
    Large (In Stock)

    How can I override to ensure all sizes are showing? As mentioned I’m not sure if this Royal or Woocommerce so any info would be really helpful

    Best regards

    Darren

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 1, 2019 at 11:53

    Hello,

    Thanks for contacting us.
    Woocommerce > Settings > Products > Inventory > Out of stock visibility > uncheck “Hide out of stock items from the catalog”.

    Regards

    Avatar: felement
    felement
    Participant
    February 1, 2019 at 12:04

    Hi,

    Thank you for replying so quickly, having unchecked it on a local environment, it doesn’t seem to have made a difference, is that setting more for showing products in the category archives, etc rather than variation dropdowns on the product pages? Sorry still getting my head around some aspect of Woo.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 1, 2019 at 13:10

    Hello,

    To check if this situation relates to our theme or to Woocommerce, you need to activate default WC theme – Storefront, on your site temporarily. If variations are displayed in the same way even with the default theme, please contact support of woocommerce plugin.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

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

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.