Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I have purchased the tmart theme from a third party and I am wanting to remove the option for customers to 'add to cart'. This is my store preview, if you click all products and hover over an item you will see the 'Add to Cart' appear.
https://817nshxb5j2b5tak-78887420232.shopifypreview.com
Hi @SamiGiftsi ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
{% if handle contains "collection"%}
<style>
.product__action li:has(.cart__menu){display:none !important}
</style>
{% endif %}
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hiya,
Unfortunately this did not work and the Add to cart option is still appearing.