Categories

Featured templates

Magento. How to disable cart on mobile devices

Andre Flores March 30, 2016
Rating: 5.0/5. From 2 votes.
Please wait...

Hello! This video tutorial shows how to disable cart on mobile devices in Magento templates.

Magento. How to disable cart on mobile devices

You may want to remove the cart from your mobile Magento store since it takes much space or you simply do not like it:

magento_disable_mobile_cart_1

Let’s learn how to get rid of it.

  1. Using Total Commander or any other file manager software use the search command to find the file which contains header-minicart” class – in our case it is header.phtml file under /app/design/frontend/tm_themes/themeXXX/template/page/html/ directory (where XXX is your theme number).

  2. Open the file for editing and look for the following string of code:

	
getChildHtml('minicart_head'); ?>

Simply comment out the code so it looks as follows: