Home Forums WoodMart support forum Add to Cart Button

Add to Cart Button

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

    banane
    Participant

    Hallo, I know from other themes that the add-to-cart button is grayed out or deactivated if the product is “not in stock”. What do I have to adjust to make this work?

    #531395

    Hung Pham
    Keymaster

    Hello banane,

    Thanks for reaching to us.

    Unfortunately, there is no such an option. WooCommerce offers hiding out-of-stock products from the catalog instead. You can find the option in the WooCommerce > Settings > Product > Inventory.

    Also, when your product is Sold out / Out of stocks the Add to cart button is hidden and the sold out badge is shown on your product. So in general, even if you have the Add to cart button, the product cannot be added to the cart because of Sold out / Out of stocks status.

    If you have any questions please feel free to contact us.

    Best Regards,

    #531556

    banane
    Participant

    A good solution:
    `.single_add_to_cart_button.disabled, .single_add_to_cart_button.disabled:hover {background-color: #DFDFDF; color: #9C9C9C;}

    #531559

    banane
    Participant

    Then it also looks deactivated.

    #531655

    Hung Pham
    Keymaster

    Hello banane,

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!

    Regards,

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

The topic ‘Add to Cart Button’ is closed to new replies.