Remove add to cart button on the separate category only
-
Hello
I would like to remove add to cart button on the separate category only and without hiding the variations. In other project it was enough to set up the stock to 0, but it is not working. I have found this code from previous topics, but it does remove everywhere and it should be only from one category.
.single-product-content .single_variation_wrap {
display:none!important;
}
Hello,
Try to use our Theme Settings Presets for specific conditions. Read more about our presets functionality in the documentation here:
https://xtemos.com/docs-topic/theme-settings-presets/
Best Regards
Hello
I did not succeed to remove it. Could you please provide more details or code?
Hello,
Please see this video for better understanding:
https://youtu.be/VqOVUFcO03M
Best Regards.
Hello
Thank you very much this removes category page, I need to be removed from single product under the specific category
Hello,
Try to create a custom layout for a single product page and select the specific category in this condition:https://ibb.co/9hbYP4S, Then edit this layout in the builder which you are using and remove the add to cart widget.
Here is the documentation:
https://xtemos.com/docs-topic/single-product-page-builder/
Alternatively, You can do it with the help of theme preset you need to select the condition “Single posts from term”. In this case you need to do it for every product.
https://ibb.co/Bzx2Z6k
Best Regards.
Hello
The first option – to create a specific layout – only gives options to remove add to cart button together with variations (colors).
I have tried the presets, but it is not reacting, the button stays.
Hello,
When you disable the add to cart function it will remove the product variation. When you enable the catalog mode from theme settings it will remove the product variation as well. Please use the Product Additional information table in the layout, this widget shows your product attributes in the product page. This is the possible way in our theme settings.
Best Regards.
Hello
Thank you for all the answers, but I have found a plugin that customizes the button easily and not causing any problems, so you could close the topic.
Most Welcome!!!.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards.
The topic ‘Remove add to cart button on the separate category only’ is closed to new replies.