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="/search" method="get" id="search"> | |
<p> | |
<label class="move" for="searchtext">Search</label> | |
<input type="search" id="searchtext" name="q" placeholder="Search" /> | |
<input type="image" id="searchbutton" src="{{ 'icon-search.gif' | asset_url }}" alt="Search" /> | |
</p> | |
</form> | |
<style> | |
#search p { |
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> | |
// (c) Copyright 2016 Caroline Schnapp. All Rights Reserved. Contact: mllegeorgesand@gmail.com | |
// See https://docs.shopify.com/themes/customization/navigation/link-product-options-in-menus | |
var Shopify = Shopify || {}; | |
Shopify.optionsMap = {}; | |
Shopify.updateOptionsInSelector = function(selectorIndex) { | |
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
<p> | |
<label for="color">Color</label> | |
<select id="color" required> | |
<option value=""> | |
Select a color | |
</option> | |
<option value="Maroon"> | |
Maroon | |
</option> | |
<option value="Razzmatazz"> |
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
<div id="shopify-product-customization-help"> | |
<h6 class="title">Product Customization Help</h6> | |
<ul class="links"> | |
<li> | |
<a class="clear-attributes" href="#" title="Clear all customization attributes" onclick="Shopify.Customizr.clearAttributes();return false;">Clear attributes</a> | |
</li> | |
<li> | |
<a class="inspect-attributes" href="#" title="Inspect attributes" onclick="Shopify.Customizr.inspectAttributes('attributes-wrapper');return false;">Inspect attributes</a> | |
</li> | |
<li> |
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 nothing_but_downloads = true %} | |
{% for line in line_items %} | |
{% if nothing_but_downloads == true and line.variant.requires_shipping == true %} | |
{% assign nothing_but_downloads = false %} | |
{% endif %} | |
{% endfor %} | |
{% if nothing_but_downloads %} | |
SPECIAL CONTENT |
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
<!-- BEFORE --> | |
var selectCallback = function(variant, selector) { | |
if (variant && variant.available == true) { | |
// selected a valid variant | |
jQuery('#add-to-cart').removeClass('disabled').removeAttr('disabled'); // remove unavailable class from add-to-cart button, and re-enable button | |
if(variant.price < variant.compare_at_price){ | |
jQuery('#price-preview').html(Shopify.formatMoney(variant.price, "{{ shop.money_format }}") + "<del>" + Shopify.formatMoney(variant.compare_at_price, "{{ shop.money_format }}") + "</del>"); | |
} else { | |
jQuery('#price-preview').html(Shopify.formatMoney(variant.price, "{{ shop.money_format }}")); |
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
<!-- In index.liquid --> | |
<!-- BEFORE --> | |
{% for product in collections[settings.frontpage_collection].products limit:8 %} | |
<!-- FIXED --> | |
{% for product in collections[settings.frontpage_collection].products limit: settings.frontpage_pagination_limit %} |
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
{% layout settings.customer_layout %} | |
<div id="template"> | |
<div id="customer"> | |
<div class="template_header"> | |
<h2 class="title">Customer Login</h2> | |
</div> | |
{% form 'customer_login' %} | |
{{ form.errors | default_errors }} |
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 | |
{{ "/services/javascripts/currencies.js" | script_tag }} | |
B | |
{{ "currencies.js" | asset_url | script_tag }} |