Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4402 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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"

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 23
1592
3
thg 5 24
23813
0
thg 9 18
3671
0
thg 12 16
3958
0
thg 11 19
3733