Can someone please tell me how to disable the Add to cart button in specific items in the Brooklyn theme? Scroll down to product data metabox and click on Role-Based Pricing tab. To access this file, of to WordPress > wp-content > plugins > woocommerce > woocommerce. Go to Appearance > Customizer > WooCommerce > Add to Cart and choose the options for your custom WooCommerce add to cart buttons. Scroll down to Cancel or pause your store. Find the theme you want to edit, and then click Actions > Edit code. Let me know if that's the case, and I'll be happy to get this request into their hands. Hello,Create an alternate template and call them to specific product. I hope this helps out, and feel free to reply back here if you have trouble with any of these steps. Next, in your Shopify admin click on Products and open one of the products that you want to have the new Contact button. Log into the WordPress Dashboard and go to Plugins > Add New. Hiding the "Add to Cart" button on just a few specific products is absolutely possible without the use of an app, but this will require some code customization to your theme. May I ask what theme you're currently using, though? - Was your question answered? How do I enable add to cart button in WooCommerce? Re: How to hide add to cart for specific products? You'll want to look in the "Templates" folder on the left hand side to find your product template. We have some more information here on creating new templates in your theme! Each product page on your store is generated from a product page template in your themes code.
{{ 'products.product.add_to_cart' | t }} Non-sectioned themes were released before October 2016, and do not have files in the Sections directory. 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 tried adding the following css to hide the add to cart button for this specific product but it does not work. Delete all the contents of this file; Open the file Sections > product-template.liquid and copy all the contents of this file and paste it into the newly created product-template-alternate.liquid file you just created in step 4. In the Minimal theme, the add to cart button code looks like this: When you are ready to show your Add to cart buttons again, go back to your product.liquid template on the Edit HTML/CSS page, remove the {% comment %} and {% endcomment %} tags, and click Save. Your online store speed can enhance your stores discoverability, boost conversion rates a Shopping is at our fingertips with mobile devices. If you are using a sectioned theme, click the Sectioned themes button and follow the instructions. If you could help that would be amazing. 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. In the Debut theme, the add to cart button code looks like this: Using the example above, the new code would look like this: Make sure that you don't comment out the