skip to Main Content

Shopify 2.0 sections everywhere

It was my understanding from the Shopify 2.0 announcement that finally Shopify were allowing users to add sections to every page and template individually, rather than just the homepage, or individual templates. However I'm in the middle of building my…

VIEW QUESTION

Cycle inside render tag – Shopify

I am looping through products and I need the cycle tag based on loop. {% for product in collection.products %} {% render 'product-grid-item', product: product %} {% endfor %} Inside the "product-grid-item", I have: {% assign class_1 = 'small-6 medium-4'…

VIEW QUESTION

Create new json element and push element in json in Shopify liquid files

{% cartitems = [{ "id":1,"properties":{"_bundle_sku":"111""},"quantity":1}, { "id":2,"properties":{"_bundle_sku":"222""},"quantity":1}, { "id":3,"properties":{"_bundle_sku":"333""},"quantity":1}, { "id":4,"properties":{"_bundle_sku":"222""},"quantity":1} }] %} This is for example I am getting result of my cart items and now I like to keep items together whose _bundle_sku values are same. But I…

VIEW QUESTION
Back To Top
Search