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
a {display:block; float:left; color:#898989; text-decoration:none; padding:0 8px 8px 8px; width:90px; text-transform:capitalize; border-right:thin solid #c2b59b; white-space: nowrap; overflow: hidden; -o-text-overflow: ellipsis; -ms-text-overflow: ellipsis; text-overflow: ellipsis;} | |
a.one {padding:0 8px 8px 0;} | |
a.three {border-right:none;} | |
a span {display:inline-block; height:15px; width:15px; border-radius:7.5px; position:relative; top:3px; margin:0 5px 0 0;} | |
<?php | |
$tags = get_tags(); | |
$count = 1; | |
foreach ( $tags as $tag ) { | |
$tag_link = get_tag_link( $tag->term_id ); |
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
{% capture dates %}2013 2014 2015 2016 2017 2018 2019 2020{% endcapture %} | |
{% capture tags %}{% for tag in blog.all_tags %}{{ tag }} {% endfor %}{% endcapture %} | |
<div id="categories" class="widget"> | |
<h2>Categories</h2> | |
{% for tag in blog.all_tags %} | |
{% assign check = tag | downcase | split:' ' %} | |
{% unless dates contains check[0] %} | |
<a href="{{ blog.url }}/tagged/{{ tag | handle }}">{{ tag }}</a> | |
{% endunless %} | |
{% endfor %} |
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
<script type="text/javascript"> | |
function fisherYates ( myArray ) { | |
var i = myArray.length, j, temp; | |
if ( i === 0 ) return false; | |
while ( --i ) { | |
j = Math.floor( Math.random() * ( i + 1 ) ); | |
temp = myArray[i]; | |
myArray[i] = myArray[j]; | |
myArray[j] = temp; | |
} |
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 curProduct = product.handle %} | |
{% assign count = 0 %} | |
<div id="related"> | |
<script> | |
function fisherYates ( myArray ) { | |
var i = myArray.length,j,temp; | |
if (i === 0) return false; | |
while (--i) { | |
j = Math.floor(Math.random()*(i+1)); |
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
<select id="product-select" name="id"> | |
{% assign selected = 'notYet' %} | |
{% for variant in product.variants %} | |
{% if variant.available and selected == 'notYet' %} | |
<option value="{{ variant.id }}" selected="selected">{{ variant.title }}</option> | |
{% assign selected = 'alreadySelected' %} | |
{% else %} | |
<option value="{{ variant.id }}">{{ variant.title }}</option> | |
{% endif %} | |
{% endfor %} |
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
<table> | |
{% tablerow product in collection.products cols: 3 %} | |
{% assign parentCount = tablerowloop.index %} | |
<a href="{{ product.url | within: collection }}"> | |
<img id="img{{ tablerowloop.index }}" src="{{ product.featured_image | product_img_url: 'large' }}" alt="{{ product.title | escape }}" /> | |
{{ product.title }} | |
{% assign wholesalePriceCheck = 'unset' %} | |
{% for variant in product.variants %} | |
{% assign opt1 = variant.option1 | handle %} |
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
{% for article in blogs.retailers.articles reversed %} | |
{% assign content = article.content | strip_html | split:',' %} | |
{% assign state = content[1] %} | |
{% unless states contains state %} | |
{% assign count = count | plus:1 %} | |
{% assign stores = 0 %} | |
{% capture states %}{{ state }} {{ states }}{% endcapture %} | |
<h3 class="state">{{ state }}</h3> | |
<p> | |
<script> |
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
<form> | |
<h3>Search by type</h3> | |
<input type="checkbox" id="all" onchange="searchType('all')" /> All<br /> | |
<input type="checkbox" id="product" onchange="searchType('product')" /> Product<br /> | |
<input type="checkbox" id="article" onchange="searchType('article')" /> Blog Post<br /> | |
<input type="checkbox" id="page" onchange="searchType('page')" /> Page<br /> | |
</form> | |
<form id="search-form" name="search" action="/search"> | |
<input type="text" id="type" name="type" value="" /> |
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
<form action="/cart/add" method="post"> | |
{% if product.variants.size > 1 %} | |
{% if product.options[0] %} | |
{% assign used = '' %} | |
<label for="select-one">{{ product.options[0] }}</label> | |
<select id='select-one' onchange="letsDoThis()"> | |
{% for variant in product.variants %} | |
{% unless used contains variant.option1 %} | |
<option value="{{ variant.option1 }}">{{ variant.option1 }}</option> | |
{% capture used %}{{ used }} {{ variant.option1 }}{% endcapture %} |
OlderNewer