Chaning CSS for Home Page Only | Shopify
I'm using Shopify to build out my website and I like the home page nav how it is, but I'd like to change the other pages nav bar to 100% width. Since they all share the same code I know…
I'm using Shopify to build out my website and I like the home page nav how it is, but I'd like to change the other pages nav bar to 100% width. Since they all share the same code I know…
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…
I would like to add a new function to the product details page that shows me the current quantity of the variant that is in stock. I get this far with Liquid, only if another variant is selected, the display…
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'…
{% 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…
I have a currency selector function that automatically detects the location of the user and updates the website's currency & the select location both on load and when the #currency_form is changed. The problem is that when I run the…
I am trying to strip empty <P> tags from a block of HTML within a Shopify theme. For some reason the remove filter is not detecting whatever the space character is inside the tag. I've even tried copy/pasting from source…
I'm trying to add divs to product descriptions in Shopify so that I can then create an accordion. Currently my code looks like this In the .liquid file: <div class="product-single__description rte"> {{ product.description }} </div> This is the output: <div…
I'm having an issue with a for loop in Shopify. I'm sure it used to work, but I can't get it to work over the number 9 now. {% assign productTag1 = Availability14 %} (in this example, the product has…
I am trying to modify a site to make it open external links in a new tab. Currently I have a loop which works fine except that it opens ALL links in a new tab which is not desired: I…