Search Descriptions Version
 
 
This article applies to: MultiStore

Mobile Support for 9.3 and Higher


Starting in version 9.3, AspDotNetStorefront has improved mobile functionality that automatically detects customers on mobile devices and switches them to a skin specially designed for smaller screens. The new functionality supports the full registration and checkout process, and even adds support for kit products!

If you are on an earlier version of the software, please see this page for details on the Mobile Plugin, or this page for more information on the built-in mobile functionality.

Enabling Mobile Support

To turn on mobile device handling on your site, simply set the Mobile.IsEnabled AppConfig to true. For more information on configuration that can be done, see the 'Customizing the Mobile Platform' section below.

NOTE: Customers who have upgraded to 9.3 from earlier versions should make sure that the new mobile skin was copied to their site during the upgrade. See the Mobile.SkinID setting below.

Customizing the Mobile Platform

The mobile platform handles customers on mobile devices by switching them to use a new skin that has modified XML packages, a template designed for smaller screens, and uses jQuery Mobile tools to make navigation more mobile-friendly. The template for this skin is a standard .NET master page and can be edited just like the normal desktop skin can, but some additional familiarity with jQuery Mobile may be necessary depending on what changes you're trying to make. See this page for some basic information on AspDotNetStorefront skinning. There is also some extremely user-friendly and helpful documentation on the jQuery Mobile platform at http://jquerymobile.com/test/.

'Out of the box', the mobile skin is SkinID 2 (see Mobile.SkinID below). If your site was upgraded from an earlier version or you've had a new skin created for your site, that ID may need to change. Check with your developer to find out what to set that to.

The mobile platform has quite a few AppConfigs that can be modified to change appearance and behavior:

AppConfig Name Description
Mobile.Action.ThemeId
(see examples above)
This setting changes the appearance of 'call to action' buttons like Next, Previous, Add to Cart, etc. You can switch between 5 jQuery Mobile themes by changing this to a, b, c, d, or e.
Mobile.AllowAddressChangeOnCheckoutShipping If this is set to true, customers will be able to choose from a dropdown list of all their saved addresses during checkout. If false, orders will automatically go to the customer's default shipping address.
Mobile.ContactPhoneNumber This controls the phone number to link to if you have Mobile.IncludePhoneLinks set to true.
Mobile.DefaultLocaleSetting This sets the locale to use for mobile device display. This should generally be set to the same as the DefaultLocale AppConfig.
Mobile.DefaultXmlPackageEntity For developers only! This AppConfig changes the XML package that will be used for entity display on the mobile skin. This can be changed, or you can edit the existing mobile.entity.default.xml.config XML package will be in your mobile skin's XmlPackages folder.
Mobile.DefaultXmlPackageProduct For developers only! This AppConfig changes the XML package that will be used for product display on the mobile skin. This can be changed, or you can edit the existing mobile.product.default.xml.config XML package will be in your mobile skin's XmlPackages folder.
Mobile.Entity.ImageWidth For developers only! This controls the width of product images on entity pages. Your images do not have to match this size when they're uploaded to the site, they will be resized with CSS.
Mobile.Entity.PageSize This sets the number of products to list per page on mobile entity pages.
Mobile.GoogleCheckout.LiveCheckoutButton For developers only! This sets the URL for the Google Checkout button. This can be changed, but be sure to leave the {0} replace token, which the storefront will use to insert your MerchantID.
Mobile.Header.ThemeId
(see examples above)
This setting changes the appearance of the header at the top of every mobile page. You can switch between 5 jQuery Mobile themes by changing this to a, b, c, d, or e.
Mobile.IncludeEmailLinks If true, the mobile skin will show a link to send an email in the footer of every page. The email address is taken from the GotOrderEmailFrom AppConfig.
Mobile.IncludePhoneLinks If true, the mobile skin will show a link to call your store in the footer of every page. The number displayed comes from the Mobile.ContactPhoneNumber AppConfig.
Mobile.IsEnabled If this is set to false, all customers will be shown the desktop skin regardless of the device they are on.
Mobile.PageExceptions For developers only! Pages listed in this AppConfig will not trigger switching mobile devices to the mobile skin. Multiple pages can be listed as a comma separated list.
Mobile.PayPal.Express.ButtonImageURL For developers only! This sets the URL for the PayPal Express button.
Mobile.ProductSlider.ImageWidth For developers only! Sets the width of product images that display in the product slider, which is used for featured products, recently-viewed products, related products, upsell products, and "also bought" products.
Mobile.ProductSlider.MaxProducts Sets the max number of products to show in the product slider. Keep this number low to increase page load times. This value should be evenly divisible by the value of Mobile.ProductSlider.Width for best results.
Mobile.ProductSlider.Width For developers only! This defines the number of products each 'pane' of the product slider will display.
Mobile.ShortUserAgentList For developers only! This list of comma separated values is part of what the mobile platform matches against to identify mobile devices. See also Mobile.UserAgentList.
Mobile.ShowAlternateCheckouts If true, Google Checkout and/or PayPal Express will show up on your mobile shopping cart page if they are also enabled on the main site.
Mobile.ShowMobileOniPad If true, the site will switch iPad users to the mobile skin.
Mobile.SkinId This sets which skin to switch users on mobile devices to. This is Skin 2 on a clean 9.3 install, but may be different if you have upgraded or had custom skins built. Check with your developer before changing this.
Mobile.ThemeId
(see examples above)
This setting changes the general appearance of the mobile skin, controlled by jQuery Mobile. You can switch between 5 jQuery Mobile themes by changing this to a, b, c, d, or e. Note that the skin can be further customized by having a developer/designer modify the template and stylesheets for you. You are not limited to these 5 themes!
Mobile.UserAgentList For developers only! This list of comma separated values is part of what the mobile platform matches against to identify mobile devices. See also Mobile.ShortUserAgentList.

NOTE: The default entity displayed on the Mobile home page is the Departments (a.k.a. Sections). If you wish to change that, you can do so by editing the Topic: Mobile.9HomeTopIntro for the entityname="section" and changing the "section" to the entity you wish to be displayed on the home page, such as "category"

NOTE: The "MSx" logo in the stock mobile skin header is hard-coded text that can be replaced in the mobile template.master file. If unfamiliar with editing the template.master file, please consult a knowledgeable developer for assistance.