The [storepage] shortcode is used by the Pages and Power add ons to render live location data on a location (store) page. The template is set under the Pages / Settings tab in the Initial Page Features group via the Page Template setting.
The [storepage] Shortcode
By default the [storepage] shortcode does not output any content. You need to use one of the following attributes to generate location-specific output.
The Field Attribute
The field attribute is used to output location data fields from the current active location linked to the page. The field names should be the field slug. They slug is not case sensitive. By default a slug is the field name in lowercase with no spaces.
This will also set the field name used for some of the other attributes. Thus is is important to list this first if using some attributes such as the “type” attribute.
[storepage field=store] will output the name of the location.
Continue reading “The Store Page [storepage] Shortcode”