Skip to Content
Menu
This question has been flagged
2 Replies
4423 Views

Hello friends, I need my customers to continue seeing my products, but at the moment I can't let them add them to the cart. How do I hide the add to cart button?

Avatar
Discard
Best Answer

Open your product page in your website builder frontend there is a menu called Customize open it and click on HTML/CSS/JS Editor menu it will open a sidebar view and you can update the cart button in line 57 and update the form t-if value from: 

t-if="product._is_add_to_cart_possible()"

and update it to:

t-if="False"



Happy to help :) an upvote will be awesome

Avatar
Discard
Best Answer

You can disable that functionality from your shop webpage (/shop) as well. While on the shop page in the Customize menu you have the option to turn off "Add to Cart"

Avatar
Discard
Related Posts Replies Views Activity
0
Apr 23
1619
3
May 24
23848
0
Sep 18
3689
0
Dec 16
3969
0
Nov 19
3744