Home Forums WoodMart support forum Grey Out Add To Cart Button For Out Of Stock Variation Product

Grey Out Add To Cart Button For Out Of Stock Variation Product

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #606500

    Little Panda
    Participant

    Hello,

    Can the add to cart button be greyed out or removed for an out of stock variation product?

    At the moment when a variation product is out of stock the add to cart button still hows even though the item cannot be added to the cart. It’s confusing for our customers.

    Kind Regards

    Little Panda

    #606545

    Hello,

    Your requirements are not clear. Do you want to remove the add to cart button only for the variations which are out of stock and on the same product to show the add-to-cart button for in stock variations?

    Best Regards.

    #606553

    Little Panda
    Participant

    Yes is that possible? Or grey out the out of stock variation products on the item?

    #606668

    Hello,

    Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS.

    .woocommerce-variation-add-to-cart-disabled { 
    display:none !important; 
    }

    Best Regards

    #606673

    Little Panda
    Participant

    Excellent that seems to work. Well worth the support renewal cost. Just about to renew for our third or fourth time.

    Best woocommerce theme by far. Keep up the good work!

    #606739

    Hello,

    Thank you for the kind words and continued support! We’re thrilled to hear it’s working well for you. We’re here whenever you need us—enjoy using the theme!

    Best Regards

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