New Template Tags for ShopSite Version 11 SP1
There are two main new features in ShopSite Version 11 SP1 that should be added to your custom templates. Other tags listed on this page are modifications to existing tags and do not need to be changed or added to custom templates.
Mobile Device Support
To enable ShopSite's new Mobile Device Support feature there are only 2 steps required. First go to Preferences > Mobile, and turn on the mobile option. Second, if you are using custom page and product more information page templates, make sure that you have the following tags in your page template(s) and your product more information page template(s).
[-- MOBILE_JAVASCRIPT --] - goes within the <head></head> tags.
[-- SS_MOBILE_REDIRECT --] - goes just after the <body> tag.
Mobile Template Tags
If you would like to customize the mobile pages further than what the default mobile templates allow, I would suggest copying and modifying the mobile templates. With mobile templates, many of the regular template tags will work, but there are some new tags that are specific to the mobile configuration features. Below are the new tags for mobile templates.
[-- IF SS_MOBILE --] - if mobile feature is turned on
[-- IF MOBILE --] - if mobile device (real time only)
[-- SS_MOBILE_PC --] - outputs "View HTML Site" or "View Mobile SIte" links
[-- STORE.MB_HEADER --]
[-- STORE.MB_FOOTER --]
[-- STORE.MB_BACKGROUNDCOLOR --]
[-- STORE.MB_TEXTCOLOR --]
[-- STORE.MB_LINKCOLOR --]
[-- STORE.MB_VISITEDLINKCOLOR --]
[-- STORE.MB_ACTIVELINKCOLOR --]
[-- STORE.MB_LINK1 --]
[-- STORE.MB_LINK2 --]
[-- STORE.MB_LINK3 --]
[-- STORE.MB_LINK4 --]
[-- IF STORE.MB_UseCompanyLogo --]
[-- STORE.MB_CompanyLogo --]
[-- END_IF --]
[-- STORE.MB_CompanyURL --]
[-- STORE.MB_CompanyLINK --]
[-- STORE.MB_AddToCart --] - add to cart text
[-- MB_PageMenu --] - will either do Menu or on of the Page Links depending on configuration
[-- PRODUCT.MOREINFOURL --] - outputs the link for the associated dynamic more info page
[-- PAGE.PAGEURL --] - replaces [--OUTPUT_DIRECTORY_URL--]/[--Page.FileName--] in the LINK_TO_PAGE define section
Google +1
[-- IF Google_PlusOne --]
[-- GOOGLE_PLUSONE script --] - only JavaScript within <head>
[-- GOOGLE_PLUSONE tag --] - only Google +1 tag
[-- GOOGLE_PLUSONE --] - both JavaScript and Google +1 tag
[-- END_IF --]
New Parameters for Existing Tags
[-- PAGEMENU no_jscript --] - removes the inline JavaScript
[-- CR_Name column --] - displays registration name fields in a column rather than a line.