Remove add to cart button and preserve only buy now

This topic has 4 replies, 2 voices, and was last updated 2 years, 8 months ago ago by Rose Tyler

  • Avatar: gouda yassine
    gouda yassine
    Participant
    April 16, 2022 at 06:53

    hello I would like to remove the add to cart button on my product page and on the sticky bar and preserve only buy now

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 16, 2022 at 07:04

    Hello,

    Add the next code in Theme Options > Theme custom CSS
    .single-product .ajax_add_to_cart, .single_add_to_cart_button~.et-or-wrapper {display: none !important;}

    Regards

    Avatar: gouda yassine
    gouda yassine
    Participant
    April 16, 2022 at 07:25

    Thank you very much it worked just a quick question can I do the same on the home page .
    that is to say, just make a buy now button appear and not add to cart .
    Thank you very much

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 16, 2022 at 10:12

    Hello,

    Theme Options > WooCommerce > Shop > Products style > Product Content Elements > disable Add to cart button

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘remove add to cart button and preserve only buy now’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.