Closed Bouncey closed 7 years ago
@Bouncey sorry for the trouble! The settings.json
downloaded from the Customize Design area is actually a bit different than the file that's used in Dugway... you can see this in action with our Lunch Break theme: https://github.com/bigcartel-themes/lunch-break/blob/master/source/settings.json#L72-L179
Your best option might just be simulating the theme values in .dugway.json
instead, which we talk about here: https://github.com/bigcartel/dugway#store-customization
In that case you can just add in those featured products settings, restart Dugway, and you should be good to go.
"customization": {
"featured_order": "position",
"featured_products": 2
}
Great! It's working now. :tada:
Thanks @nickendle.
I have a client with a current Big Cartel store, and in there existing template they have this at the top of
home.html
:and it works just fine on the live site.
I have downloaded their template files and copied them into my dugway project dir, however there are no products to display.
This conditional returns false:
So this renders:
I have configured the
.dugway.json
file with their subdomain.Their
settings.json
:If I remove the
limit
andorder
options I receive the full list of products.Any help would be gratefully received
Dugway: 0.10.4 ruby: 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] gem: 2.5.1 OS: Ubuntu 16.04LTS