brianbunny Posted February 2, 2020 Posted February 2, 2020 I want to hide the "Add to Cart" button on some product pages, but not all product pages. Is it possible to do this with header code injection? <div class="sqs-add-to-cart-button-wrapper" id="yui_3_17_2_1_1580608190881_561" style="visibility: visible;"> <div class="sqs-add-to-cart-button sqs-suppress-edit-mode" role="button" tabindex="0" data-collection-id="5e0a55ad0b6558246c1dafef" data-item-id="5e0ceb43bb6d5e7d706119a9" data-product-type="1" data-use-custom-label="true" data-original-label="Add to Cart" id="yui_3_17_2_1_1580608190881_312"> <div class="sqs-add-to-cart-button-inner">Add to Cart</div> </div> </div>
tuanphan Posted February 5, 2020 Posted February 5, 2020 Yes. You can do this. First set tag for some products. Then you can use CSS to hide products belong this tag. Set tag first, then share link to a product. We can check carefully. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.