How do I remove the add to cart button and keep only the buy button

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

  • Avatar: XStore | Multipurpose WooCommerce Theme
    qosemo
    Participant
    June 15, 2023 at 16:04

    How do I remove the add to cart button and keep only the buy button?
    I searched a lot on the forum and didn’t find any useful way
    Please help
    https://www12.0zz0.com/2023/06/15/15/357552838.png

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 15, 2023 at 16:31

    Hello, Qosemo,

    Thank you for contacting us and for using XStore.

    Please add the next code in Theme Options > Theme custom CSS:

    .single-product .single_add_to_cart_button:not(.et-single-buy-now),
    .single-product div.quantity~.et-or-wrapper {
        display: none;
    }

    If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.

    Kind Regards,
    8theme team

    Avatar: XStore | Multipurpose WooCommerce Theme
    qosemo
    Participant
    June 15, 2023 at 16:42

    I do not think that the problem has been solved, see what happened in the first pictures
    https://www6.0zz0.com/2023/06/15/15/786751170.png
    Also, it is still in a second image when I click on a quick look, it appears as it is
    https://www6.0zz0.com/2023/06/15/15/911181606.png

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 15, 2023 at 16:55

    Hello, Qosemo,

    Thank you for your response.

    You forget about the dot here – https://prnt.sc/pu65ID_mVwe9
    Please change the previous code to:

    .single_add_to_cart_button:not(.et-single-buy-now),
    div.quantity~.et-or-wrapper {
        display: none !important;
    }

    and check the result then.

    Kind Regards,
    8theme team

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

You must be logged in to reply to this topic.Log in/Sign up

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