This topic has 4 replies, 2 voices, and was last updated 1 years, 6 months ago ago by Rose Tyler
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
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
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
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
You must be logged in to reply to this topic.Log in/Sign up