How to remove the functions of the store with the buttons "Add to cart" or only through css display: none; ? Cart disabled in admin - Mage_Checkout: disable.

    1 answer 1

    There is a template in which buttons are added to the basket

    Here are some options for removing the button:

    1. Post in the template itself (because this template is displayed by default) - ../app/design/frontend/theme/package/template/catalog/product/view/addtocart.phtml
    2. Comment out in the catalog.xml layer the part that adds this template in the product card in the section, here is the code that adds the template:

        <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"> <block type="core/text_list" name="alert.urls" as="alert_urls" translate="label"> <label>Alert Urls</label> </block>