Hide manually added ”Add to Cart” buttons
-
Say I have a button like this that is manually added on a page (via WordPress-Admin -> Pages)
<a href="?add-to-cart=3213" data-quantity="1" class="button product_type_simple add_to_cart_button ajax_add_to_cart" data-product_id="3213" data-product_sku="" aria-label="Add "Menu of the day" to your order" rel="nofollow">Add to Cart</a>
It is only the add to cart button. I didn’t add shortcode because I don’t want to display the thumbnail, name of the product and price. Just the button.
The plugin does not hide it, how should I solve this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Hide manually added ”Add to Cart” buttons’ is closed to new replies.