In order to use one theme for a Magento web site when it is loaded through a personal computer and a different one for mobile devices follow the steps listed below.

Do NOT enter its name in the Default theme field. This way the default theme will be loaded when the web site is opened through a computer.

Next you should add exceptions for the mobile devices. Navigate to the Magento administrative area -> System -> Configuration -> Design -> Themes. Click on the Add Exceptions buttons besides the Templates, Skin and Layout labels.

Enter the following line in the Matched Expression field:

iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|Android|Opera Mini
	

In the Value field enter the name of your newly installed mobile theme and Save the changes.

Then you can open your web site through your computer and your mobile phone. You will see that it loads with two different themes depending on the device

Posted in: Magento

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677