Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4414 มุมมอง

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?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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"

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 23
1616
3
พ.ค. 24
23840
0
ก.ย. 18
3682
0
ธ.ค. 16
3966
0
พ.ย. 19
3738