Home › Forums › WoodMart support forum › Out of Stock message is displaying instead of product variations.

Out of Stock message is displaying instead of product variations.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #730122

    rgbadmin
    Participant

    Our shop is set to catalog mode, and the stock statuses of our products are not managed.
    Every product is set to “In Stock” and most have variants.
    On every product, the “This product is currently out of stock and unavailable.” is displaying.
    Our theme and plugins are fully updated. The WoodMart patcher has no patches.

    I placed the site details in the private content area.

    #730123

    rgbadmin
    Participant

    This message is creating confusion for our clients. Since we are heading into the weekend, we have used CSS to style the message making it white and the text small.

    The CSS styles can be found in the Child Theme’s style.css document starting on line 758.

    p.stock.out-of-stock {
        color: #ffffff !important;
    	font-size: 10px !important;
    }
    #730130

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    I have checked the products and found that the variations do not have prices assigned.

    For example, on the “Verano”product, the individual variations do not have a price configured:

    Since the product is a variable product and the variations do not have prices, WooCommerce treats those variations as unavailable, which is why the “This product is currently out of stock and unavailable.” message is displayed.

    Please edit the product and add the appropriate e price to each variation under Product Data > Variations. After assigning the prices, please check the product again.

    Best Regards

    #730268

    rgbadmin
    Participant

    The products previously never had prices assigned to them.
    The purpose of the site is to be used as a gallery/catalog with no prices or stock availability.

    We do not want prices to be visible.

    #730297

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    If you do not want to manage prices for these products, you can hide this message from the frontend instead. It can be hidden with custom CSS. Try to add this CSS code in Theme Settings > Custom CSS:

    p.stock.out-of-stock {
        display: none;
    }

    This will hide the “This product is currently out of stock and unavailable.” message without affecting the catalog products themselves.

    Best Regards

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