Categories

Featured templates

Magento. How to remove quantity box on product details page

Ryan DeWitt March 23, 2016
Rating: 3.7/5. From 3 votes.
Please wait...
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
Magento Ecommerce Themes
This entry was posted in Magento Tutorials and tagged box, Magento, quantity, remove. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket