Hello,
You can disable the "Add to Cart" button in E-commerce product page in Odoo 12V easily.
To configure it from frontend follow the following steps:
- Go to the Odoo Website Product Page then click on HTML/CSS Editor under the Customize Tab.
- You need to remove or comment the following HTML/CSS Code
<a id="add_to_cart" class="btn btn-primary btn-lg mt8 js_check_product a-submit" href="#">Add to Cart</a>
For more information refer to the screenshot,
You can also disable it from Odoo Backend; you need to follow the below-mentioned steps:
- Open the Odoo and click on the Settings menu. Here, click on Activate the Developer Mode. Even, one can also activate the developer mode by typing ‘debug=1’ after ‘web?’ in the URL.
- Go to the 'Views' menu under 'Technical settings'
- Now, search for the 'Product'. It is a QWeb template for the product page in website_sale module. For more information refer screenshot-2,
- Open the product template and comment or remove the same line mentioned above (<a id="add_to_cart" class="btn btn-primary btn-lg mt8 js_check_product a-submit" href="#">Add to Cart</a>)
Please Note: The Add to Cart will be disabled only till you do not update the Website Module.
If you want to make the changes permanently then you have to do the same changes in website_sale Module.
If you have any issues/queries then, please https://webkul.uvdesk.com/en/customer/create-ticket/
For any doubt contact us at support@webkul.com
https://prnt.sc/qgfufx
https://prnt.sc/qgfz7u