Hi, I want to know what is the best method for hiding add to cart button only on specific products without the use of any apps? Can someone please tell me how to disable the Add to cart button in specific items in the Brooklyn theme? Go to Appearance > Customizer > WooCommerce > Add to Cart and choose the options for your custom WooCommerce add to cart buttons. This new battery technology does not take power from the engine like any other battery, it will require less energy from alternator so more power will be available for drive train. There are several ways to completely hide the Add to cart button from your store. It requires 15 minutes of design time. form#5508452647065.product-form {display:none;}. Thanks. If the product page template for the theme you're using has all of the product page content, then you can simply make a duplicate of that template and remove the "Add to Cart" button from the duplicate. Answers to the most popular questions about the WordPress content management system. More you can read here, how to create an alternate templatehttps://shopify.dev/tutorials/customize-theme-create-alternate-templateshttps://www.shopify.in/partners/blog/shopify-alternate-templatesNote: In alternate template you have to remove the 'add to cart' functionality.Thanks. php file of your child theme: remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart'); Hide add to cart buttons in non-sectioned themes. How do I remove Add to Cart button on shop? From you Shopify admin, go to Online Store > Themes > Actions > Edit Code; Under Templates, click Add a new template > Create a new template for Product called alternate (or whatever you want to call it); On line 5 of this new template, change so it looks like this: % section 'product-template-alternate' %.

If your theme supports dynamic checkout, then prevent the buttons from showing by following the steps to hide dynamic checkout buttons on product pages. If you're on a paid plan and using one of the free Shopify made themes, our theme support team may also be able to assist with the changes. Although I'm sorry to hear the method I posted above won't work on the theme you're using. Ash | Social Care @ Shopify- Was my reply helpful? To figure out whether your theme supports sections, go to the theme's Edit code page. 2. {% else %} Navigate to Admin > WooCommerce > Settings > Products and click the Remove Add to Cart settings tab. php. In the box there, paste this at the bottom: a[title="View cart"] display: none; From your Shopify admin, click Online Store, and then click Themes (or press G W T). When you are ready to show your Add to cart buttons again, go back to your product-template.liquid file on the Edit HTML/CSS page, remove the {% comment %} and {% endcomment %} tags, and click Save. We have some more information here on creating new templates in your theme! Lots of helpful guides and tips. Sometimes the themes product page template will refer to a section, such as in this screenshot: In this case, you'll need to make a duplicate of the template, as well as the section referenced within the template. {% unless current_variant.available %} How you can use PayPal to accept payments and pay your Shopify bill, Optimizing Storefront for Mobile Shopping. , Replace Add to cart with a contact link, Find out your theme's architecture version, Explore Online Store 2.0 theme customizations, hide dynamic checkout buttons on product pages, When you find the code, wrap it in Liquid. The plugin offers two options for removing the Add to Cart button at product level: For demonstration purpose, let us enable both of these options. Ash here from the Shopify team. If you could help that would be amazing. {% endunless %} Step 4: Find the code for the Add to cart button. In the Sales channels section, tap Online Store. Is your theme optimized to be user-frie Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Let me know if you're not comfortable with performing the customization on your own, and we can explore that option! In the Templates folder, click the product. We stock product from a company whos internet policy restricts online sales, so were not allowed to sell directly online - more of a call to buy. wp-admin edit user url wont show up correct url, Elementor and svg - wrong colours [closed], Manage roles and capabilities without loads of code, Hide 'add to cart' button for some products [duplicate]. I'm sure it is something really simple. Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers. In your WordPress dashboard, go to Appearance and click on Customize. Step 1: Select Themes. ,