Home Forums WoodMart support forum Out of stock product variations are still selectable

Out of stock product variations are still selectable

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #722380

    designfrenzy.nl
    Participant

    Hi,

    I want to grey out of stock variations of variable products on the product page.
    Currently the out of stock variations are still fully selectable. Once you click on the add to bag button it says ‘product unavailable’ but I want out of stock variations behave like out of stock products and the variation swatch to be disabled.

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Navigate to Products > Attributes > edit attribute > Choose the disabled swatch. The disabled Swatch style is for the variants of the Products that are disabled, not for the Out of Stock variants. So, you need to have the variant of the Product not checked with the Enable option on it and then the Disabled Swatch style will work accordingly.

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

    Additionally, If you want it to work with out-of-stock variations, navigate to WooCommerce > Settings > Products > Inventory > enable the option“Hide out of stock items from the catalog,” then it will work for out-of-stock variations.

    Best Regards

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