• Resolved lop74

    (@lop74)


    Hello. This is thee first time here. I couldn’t find this topic in the forum.
    A few days ago I’ve changed the theme of my website to OceanWP and since then, in the list of products of the store, a notice of No stock is shown above the products available for reservation (I use the spanish versión of wp, excuse me if this is not the right translation).
    Imagen ejemplo
    (“No hay existencias” means “Out of Stock”) With the one that is written with black background, on the left, I have no problem because it is a product marked as out of stock and not available, but the one on the right, with a transparent background, is a product marked as available for reservation and is available to buy (although not in stock).
    This looks like the product is also not available to buy and the customers do not click in it.
    I need to remove it urgently.
    With the products with variations I have found a small trap without touching code that works more or less but with those that do not have variations there is no way, as long as the stock is at zero.
    I have searched the support forums for all the languages of the known universe and I have found absolutely nothing.
    Thank you very much in advance.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author oceanwp

    (@oceanwp)

    Hello, try this css code in the custom css section of the customizer:

    .woocommerce ul.products li.product.outofstock .outofstock-badge {
        display: block;
    }
    .woocommerce ul.products li.product .outofstock-badge {
        display: none;
    }

    I’m having a similar issue. Even with the css code above I still have “out of stock” labels on most of my products. I have tried entering a price and selecting “in stock” and then switching back to “variable product”. After updating the product I check it again and I have the same result.

    Theme Author oceanwp

    (@oceanwp)

    Hello @jonathanfrasure, can you create a pre-purchase ticket on oceanwp.org? I will ask you more things.

    Thread Starter lop74

    (@lop74)

    Sorry @oceanwp, I didn’t noticed of your answer.
    It worked for me, thank you very much. Problem solved.

    Theme Author oceanwp

    (@oceanwp)

    Glad to hear that ??

    @oceanwp I just sent the pre purchace ticket. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Out of Stock advise’ is closed to new replies.