Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds config files for discussion #36

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions config/default-settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "Default options",
"style_code": "default",
"settings": {
"main": {
"store": {
"storeTitle": "This Shop",
"storeLogo": "@images\/dist\/bones-logo.svg",
"enableHomeBlogPreview": true,
"enableHomeAbout": true,
"enableHomeHero": true,
"homeHeroImage": "https:\/\/placehold.it\/1200x400"
},
"headfoot": {
"footerLegalText": "\u00a9 2017 LemonStand eCommerce Inc.",
"stickyHeader": true
},
"links": {
"facebookLink": "",
"twitterLink": "",
"instagramLink": ""
},
"fonts": {
"googleFontURL": "https:\/\/fonts.googleapis.com\/css?family=Bungee|Quicksand"
}
},
"none": {
"fillWindow": true,
"autoSubmitOnlyShippingMethod": true
},
"product": {
"product": {
"enableReviews": true,
"enableRatings": true,
"enableCartCrossSells": true,
"enableCartUpsells": true
},
"categories": {
"categoryListImageEqualizeStrategy": "stretch"
},
"summary": {
"productListImageEqualizeStrategy": "stretch"
}
}
}
}
84 changes: 84 additions & 0 deletions config/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"main": {
"name": "General settings",
"store": {
"name": "Store settings",
"order": "",
"field": {
"type": "image",
"name": "Home Page - Hero Image"
}
},
"headfoot": {
"name": "Header and footers",
"order": "",
"field": {
"type": "checkbox",
"name": "Keep header menu on the page as user scrolls"
}
},
"links": {
"name": "Links",
"order": "",
"field": {
"type": "text",
"name": "Instagram Social Account Link"
}
},
"fonts": {
"name": "Fonts",
"order": "",
"field": {
"type": "text",
"name": "Google Font URL"
}
}
},
"none": {
"name": null,
"order": "",
"field": {
"type": "checkbox",
"name": "Checkout Page - Auto-submit shipping option if there is only one option"
}
},
"product": {
"name": "Product settings",
"product": {
"name": "Products",
"order": "",
"field": {
"type": "checkbox",
"name": "Cart Page - Show upsells"
}
},
"categories": {
"name": "Categories",
"order": "",
"field": {
"type": "dropdown",
"options": {
"stretch": "Stretch",
"top": "Align Top",
"middle": "Align Middle",
"bottom": "Align Bottom"
},
"name": "Category List - Image Height Equalization Strategy"
}
},
"summary": {
"name": "Summary",
"order": "",
"field": {
"type": "dropdown",
"options": {
"stretch": "Stretch",
"top": "Align Top",
"middle": "Align Middle",
"bottom": "Align Bottom"
},
"name": "Product List - Image Height Equalization Strategy"
}
}
}
}
Empty file removed options.json
Empty file.