brianbunny 0 Share 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> Link to post
0 tuanphan 9,016 Share 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. You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
Question
brianbunny 0
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>
Link to post
Top Posters For This Question
1
1
Popular Days
Feb 2
1
Feb 5
1
Top Posters For This Question
brianbunny 1 post
tuanphan 1 post
Popular Days
Feb 2 2020
1 post
Feb 5 2020
1 post
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment