- Add properties for gift cards under product.liquid. Must be within the tags.
- Retrieve the properties in gift_cart.liquid
- Celebrate
Preface: This needs a lot of cleaning up but on the front end it's beautiful.
Add the icons font from the supply theme. This will work without the icons font.
Add the filters.liquid file to your snippets folder. Include the snippet on the collections.liquid page
See demo here for a limited time: http://simplejacktest.myshopify.com/collections/all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cc = Currency.currentCurrency; | |
$( document ).ajaxComplete(function() { | |
if (Currency.currentCurrency.length == 0){ | |
jQuery('.selected-currency').text(cc); | |
} else { | |
jQuery('.selected-currency').text(Currency.currentCurrency); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign featured_image = product.featured_image | default: product.featured_image %} |
Nested / Sub Dropdown Menu for (Almost) Any Shopify theme Based off of Timber
- Replace site-nav.liquid with the snippet below.
- Add the styles below to timber.scss.liquid.
- Go make popcorn.
- Check your homepage to see if this has worked.
- It didn't work.
- Eat the popcorn and try to figure out what went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First unminify bootstrap.min.css | |
Add this css to line 551 of bootstrap.min.css | |
/* added by kyle @ shopify */ | |
.col-lg-6{ | |
width:50%; | |
float:left; | |
} | |
.col-lg-3{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Begin Sub Colections --> | |
{% if collection.handle == 'shoei' %} | |
{% if linklists.shoei.links.size > 0 %} | |
<!-- BEGIN table.products --> | |
<table class="products"> | |
{% tablerow link in linklists.shoei.links cols: 8 %} | |
<div> | |
<a href="{{ link.url }}" title="Browse our {{ link.object.title | escape }} collection."> | |
<img src="{{ link.object.products.first.featured_image | product_img_url: 'micro' }}" width="auto" alt="{{ link.object.title | escape }}" /> | |
<p style="text-align:center;">{{ link.title }}</p> |