Skip to content

Tricky3/shopify-jsonStoreLister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopify JSON Store Lister

Architecture:

  • /config/settings.html adding the fieldset/section to theme settings file
  • /layout/theme.liquid adding the module to the Shopify theme, by including:
    • /snippets/retailers.liquid javascript file. It decodes the...
    • /assets/retailers_data.json outputs it as an object in the...
    • /templates/page.retailers.liquid alternate Page template containing
    • div#retailers_placeholder

Dependencies

JSON file setup

[
  {
    "Name": "Tricky3",
    "Address": "PO Box 12345",
    "Address 2": "",
    "City": "Santa Barbara",
    "Province/State": "CA",
    "Country": "USA",
    "Postal/Zip Code": "78910",
    "Phone": "123.456.7890",
    "Fax": "",
    "Email": "[email protected]",
    "Website": "http://tricky3.uk/"
  },
  {
    "etc" : "etc."
  }
]

notes

  • trailing slashes should be escaped
  • designate "Country": "ONLINE" for online-only retailers
  • designate "Province/State": 'SPECIAL' for special retailers

View Options

  • 1 Drop Down Style, driven by jQuery Selectbox plugin
  • 2 Links-based, with collapsible groups
  • 3 Full-list, with horizontal or vertical layout

Features

Responsive Layout with configurable Breakpoints & Columns :: Script calculates automatically the width for each column Options for hiding Retailers Outside the US, Online and/or Special Retailers Aggregate data for Retailers Outside the US as well as for Special Retailers Script automatically orders and groups the data by name and country

As seen on:

Thanks to:

About

For Listing Retailer/Wholesalters/Stores on Shopify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •