Personalized checkout and custom promotions with Shopify Scripts
I've seen instructions for adding a new custom product (liquid) file to disable 'add to cart' but my custom product template is .json. I need to remove the add to cart button from these pages: https://www.customflags.com/collections/customflags/products/custom-flag
I can see that you added a property to the button "display: none;", but it is overwritten by the default css. I suggest to add this property to the parent element, the <div> above with the class "product-add-to-cart" and add an "!important" after: "display:none !important;". This "important" would overwrite the default customization, and it would be better to have the entire div hidden in order to be sure that the responsiveness is not affected.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025