How to configure the default theme
Check how to use custom attributes.
Business custom attributes
sp_business_banner_warning
Shows a warning banner at business level (non store pages)
sp_business_banner_info
Shows a information banner at business level (non store pages)
sp_business_services_list
Defines the list of available services for the business in the following format where services are separated by commas and each service is defined by its slug and its name separated by colons. P.e: parking:Parking,wifi:Wi-Fi,takeout:Takeout,delivery:Delivery,outdoor_seating:Outdoor Seating
Location custom attributes
sp_location_banner_warning
Shows a warning banner at store page level (only at the store page)
sp_location_banner_info
Shows a information banner at store page level (only at the store page)
sp_location_services_list
Defines the available services for the store by a list of service slugs separated by commas, using the available list previouly defined at sp_business_services_list
. P.e: parking,wifi,takeout,delivery,outdoor_seating
Theme variables
Example of theme variables in theme.json
{
...
"variables": {
"primary_color": "#eb0f23",
"maps_provider": "googlemaps",
"maps_api_key": "...",
"facebook_page": "https://www.facebook.com",
"twitter_page": "https://www.twitter.com",
"instagram_page": "https://www.instagram.com",
"home_website": "https://localistico.com",
"show_whole_map_on_load": "true",
"locator_list_of_areas_mode": "administrative_area_level2",
"favicon_url": ""
}
...
}
Possible values for theme variables at theme.json
file:
primary_color
Any hex color such as #ff1100
maps_provider
googlemaps
carto
mapbox
maps_api_key
A valid API key for the provider. Leave empty if no needed.
facebook_page
Any valid URL. Leave empty to avoid element on footer.
twitter_page
Any valid URL. Leave empty to avoid element on footer.
instagram_page
Any valid URL. Leave empty to avoid element on footer.
home_website
Any valid URL. Leave empty to avoid element on breadcrumb.
show_whole_map_on_load
true
false
locator_list_of_areas_mode
administrative_area_level2
to show list of provinces/regions below the store locator.city
: To show list of cities below the store locator.none
: To hide list of areas below the store locator.
favicon_url
Any valid URL with the favicon.
custom_logo_url
Any valid URL for a custom logo image.