Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Code Injection Visibility to Hidden


brianbunny

Question

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
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

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


×
×
  • Create New...