The Storefront module can be called with a number of search options pre-loaded.
When you create a link from a page to the Storefront, you can reference the built-in function directly. But to link to a specific Storefront view (for example, to show a specific category or set of categories), you need to link to the Storefront using an “External Link”, similar to the following:
http://democlub.clubexpress.com/content.aspx?page_id=587&club_id=245449
where the first part of the URL will be your domain name and the club_id will be your ID (245449 references the demo club.) page_id=587 references the Storefront.
The following options can be specified as part of the URL link to the Storefront:
- &cat=####,####,#### - Specify a category or series of categories to display. You can find the category code in the Category Manager.
- &price_group=#,# -Specify a price range\
- 1 = "$0-20", 2= "$20-50", 3 = "$50-100", etc.
- &digital=y - Show digital products
- &special=y - Show special/sale products
For &digital, &special and &featured, stating any value will activate the filter for your custom Storefront link. For example, "&digital=no" or "&digital=0" will show digital products. To exclude those items, do not include them in the link you create.
http://democlub.clubexpress.com/content.aspx?page_id=587&club_id=245449&price_group=1,3&digital=y&special=y&cat=1032,1036
The above example shows a custom link to a Storefront showing digital and sale products $0-20 and $50-100 in the specified categories (1032 and 1036).