Mobile Site - CrystalCommerce Liquid Documentation for Designers

Mobile Site

Clients can now enable a Mobile Site from their admin. If they have the mobile site enabled, it will look for the theme.liquid in their mobile/ directory (like how dev/ works), and templates for mobile in the mobile/templates directory. You can see an example of the default mobile site at http://store.arux.net.

If the Mobile Site is enabled for a client, you can view it from a non-mobile browser using the param enable_mobile=1. This will set your session to use the mobile views. If you set the param disable_mobile=1 it will disable the mobile views for your session.

To link to the mobile site from the full site, use a link like this:

<a href="{{ site.enable_mobile_url }}">Mobile Site</a>

See the Page documentation on the right for the default mobile themes for each page.