I am using Magento's design exceptions to set the theme as mobile for mobile devices.
Since I am not using a separate store view or website, is it possible to provide to the user a 'Switch to Desktop' link? I guess I would need to override a controller somewhere, would appreciate anyone that can help me out with a starting point.
Best Answer
The short answer here is no, though, you could drop a javascript cookie called
forcedesktop
and set it to true. This would be set onclick for the switcher link.Then rewrite the design exception method to sniff for existence of the cookie:
app/code/local/YourCompany/YourModule/etc/config.xml
app/code/local/YourCompany/YourModule/Model/Design/Package.php