[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

Magento. How to remove quantity box on product details page

Magento. How to remove quantity box on product details page

This tutorial shows how to remove quantity box on the product details page in Magento.

Magento. How to remove quantity box on product details page-1

  1. Open /app/design/frontend/tm_themes/themeXXX/template/catalog/product/view/addtocart.phtml file in your editor. Alternative path to file is the following (it depends on the template): /app/design/frontend/default/themeXXX/template/catalog/product/view/addtocart.phtml (themeXXX is actual theme name).

    Look for code that looks like on the screenshot below (div may have another class in your template). Remove the code:

    Magento. How to remove quantity box on product details page-2

  2. The modified file looks like on the screenshot below:

    Magento. How to remove quantity box on product details page-3

  3. Save changes and upload the modified file to your hosting. Refresh the page. Quantity box was removed:

    Magento. How to remove quantity box on product details page-4

Feel free to check the detailed video tutorial below:

Magento. How to remove quantity box on product details page