Well, by default this page comes with 12 stores in each page and 3 stores per row, and off course all active vendor’s stores.
Now, you may change this page display and listed stores. Here is list all supported short code attributes –
- theme -> default: classic, alternate: simple, compact
- per_page -> change how may stores will display in each page (default: 12) -> use: per_page=”20″ (now 20 stores will display in each page)
- per_row -> default: 3, change use: per_row=”2″ (up to 5 supported)
- has_map -> Well this page comes with a map to show all stores using map view, Default: YES, disable use: has_map=”no”
- map_zoom -> Default map zoom: 5
- auto_zoom -> map will auto-zoom depending upon store point on map or not? Default: YES, disable use: auto_zoom=”no”
- orderby -> you may set this define stores display order. Default: newness_asc, alternate: newness_desc, alphabetical_asc, alphabetical_desc, rating_asc, rating_desc, random
- has_orderby-> this is used for enable/disable orderby drop-down for this page. Default: YES, disable use: has_orderby=”no”
Filter attributes: this will help you to setup filters for this page –
- has_search -> this is used for enable/disable search box filter for this page. Default: YES, disable use: has_search=”no”
- search_term-> you may use this to set default search term for the page. Use: if you set -> search_term=”test” then it will show all stores which name has “test” keyword
- has_category -> this is used for enable/disable category filter. Default: YES, disable use: has_category=”no”
- search_category-> you may use this to set default search category for the page. Use: if you set -> search_category=”51″ then it will show all stores which associated with category ID 51
- has_country -> this is used for enable/disable country filter. Default: YES, disable use: has_country=”no”
- has_state -> this is used for enable/disable state filter. Default: YES, disable use: has_state=”no”
- has_city-> this is used for enable/disable city filter. Default: NO, disable use: has_state=”yes”
- search_city -> you may use this to set default search city for the page. Use: if you set -> search_city=”kolkata” then it will show all stores which are from “kolkata” city
- has_zip -> this is used for enable/disable zip code filter. Default: NO, disable use: has_zip=”yes”
- search_zip -> you may use this to set default zip code for the page. Use: if you set -> search_zip=”7112233″ then it will show all stores which have this zip code “712233”
- has_radius -> this is used for enable/disable radius filter. Default: yes, disable use: has_radius=”no” (Though it’s default value “yes” still it will only work if you enable “Store List Radius Filter” option from GEO Location setting)
- has_product -> this will help you to show only those stores which already has some published products, Default: NO, use: has_product=”yes” (now it will list only those stores which already has products in store)
- includes -> you may specify particular store ids, comma separated, hence only those will b visible, use: includes=”2,3,8,65″ (now only these 4 stores will be visible)
- excludes -> you may exclude few particular stores form list, use: excludes=”5,4,9,65″ (now these 4 stores will be exclude from list)
- include_membership -> you may include by membership id as well, hence all vendors associated that membership will be shown
- exclude_membership -> you may exclude by membership id as well, hence all vendors associated that membership will be excluded
Well, don’t get confused on the uses of these parameters, here’s how your short code will look like –
[wcfm_stores search_category="9,12" has_product="yes" has_radius="yes"]
More Use Cases
Store List for “kolkata” city and category “Home Delivery” –
[wcfm_stores has_radius="no" has_country="no" has_state"no" has_city="yes" has_zip="yes" search_city="kolkata" store_category="12"]
Do not add space between double quotes (“).