[英]Hide/remove 'add to cart' button on shop page for one product only
Is there a way to hide or remove the ADD TO CART button on the shop page for a single product only?有没有办法仅针对单个产品隐藏或删除商店页面上的“添加到购物车”按钮? This would be in order to force the user to click to the single product page, where they are to "build" or customize their product.
这是为了强制用户单击单个产品页面,他们将在其中“构建”或自定义他们的产品。
I tried the following line of code, but it didn't get the job done:我尝试了以下代码行,但没有完成工作:
#product-3093 .products-grid .button.btn-cart {
display: none;}
Any help will be greatly appreciated.任何帮助将不胜感激。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.