How to disable "Add to Cart" button in E-commerce product page in Odoo 12?
I am trying to use the Odoo 12 E-commerce function as an online catalog so I would like to disable "Add to Cart" button while I cannot disable it in product page.
I tried to delete the line:
<a role="button" id="add_to_cart" class="btn btn-primary btn-lg mt8 js_check_product a-submit" href="#">Add to Cart</a>
in XML Product, but it does not allow me to save, which showing this error:
Server errorA server error occured. Please check you correctly signed in and that the file you are saving is correctly formatted.
There are some modules for older versions but I cannot use them in version 12.
Thanks in advance.