6 | - {{ form.errors | default_errors }}
7 | {% endcomment %}
8 | {% if form.errors %}
9 |
28 | {% endif %}
29 |
--------------------------------------------------------------------------------
/snippets/header-currency.liquid:
--------------------------------------------------------------------------------
1 | {% assign codes = 'USD,EUR,GBP,CAD,ARS,AUD,BBD,BDT,BSD,BHD,BRL,BOB,BND,BGN,ILS,MMK,KYD,CLP,CNY,COP,CRC,HRK,CZK,DKK,DOP,XCD,EGP,XPF,FJD,GHS,GTQ,GYD,GEL,HKD,HUF,ISK,INR,IDR,NIS,JMD,JPY,JOD,KZT,KES,KWD,LVL,LTL,MXN,MYR,MUR,MDL,MAD,MNT,MZN,ANG,NZD,NGN,NOK,OMR,PKR,PYG,PEN,PHP,PLN,QAR,RON,RUB,SAR,RSD,SCR,SGD,SYP,ZAR,KRW,LKR,SEK,CHF,TWD,THB,TZS,TTD,TRY,UAH,AED,UYU,VEB,VND,ZMK' | split: ',' %}
2 | {% assign supported_codes = settings.supported_currencies | split: ' ' %}
3 |
{{ shop.currency }}
4 | {% if settings.show_multiple_currencies %}
5 |
6 | {{ shop.currency }}
7 | {% for code in supported_codes %}
8 | {% if code != shop.currency and codes contains code %}
9 | {{ code }}
10 | {% endif %}
11 | {% endfor %}
12 |
13 | {% endif %}
--------------------------------------------------------------------------------
/snippets/oldIE-js.liquid:
--------------------------------------------------------------------------------
1 | {% comment %}
2 | oldIE fixes/shivs
3 | HTML5 shiv, Selectivizer
4 | - respond.js Gavin Ballard
5 | - http://gavinballard.com/using-respond.js-with-shopify-redux/
6 | {% endcomment %}
7 | {% assign respond_js_secret_key = shop.domain | md5 %}
8 |
16 |
17 | {% comment %}{{ 'modernizr-2.8.3.min.js' | asset_url | script_tag }}{% endcomment %}
18 |
--------------------------------------------------------------------------------
/snippets/price.liquid:
--------------------------------------------------------------------------------
1 | {% assign formatted_price = price | money %}
2 |
3 | {% unless settings.show_dollar_symbol %}
4 | {% assign formatted_price = formatted_price | remove: '$' %}
5 | {% endunless %}
6 |
7 | {% comment %}
8 | Unless this store uses multiple currencies,
9 | if we apply a special style to cents,
10 | we will wrap them in a sup (superscript) element.
11 | {% endcomment %}
12 |
13 | {% unless shop.money_format contains 'money' %}
14 | {% if settings.superscript_decimals %}
15 | {% if shop.money_format contains '{{amount}}' %}
16 | {% capture formatted_price %}{{ formatted_price | replace: '.','
' }} {% endcapture %}
17 | {% elsif shop.money_format contains '{{amount_with_comma_separator}}' %}
18 | {% capture formatted_price %}{{ formatted_price | replace: ',','
' }} {% endcapture %}
19 | {% endif %}
20 | {% endif %}
21 | {% endunless %}
22 |
23 |
{{ formatted_price }}
24 |
{{ price | money }}
25 |
--------------------------------------------------------------------------------
/snippets/currency-picker.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {% assign codes = 'USD,EUR,GBP,CAD,ARS,AUD,BBD,BDT,BSD,BHD,BRL,BOB,BND,BGN,ILS,MMK,KYD,CLP,CNY,COP,CRC,HRK,CZK,DKK,DOP,XCD,EGP,XPF,FJD,GHS,GTQ,GYD,GEL,HKD,HUF,ISK,INR,IDR,NIS,JMD,JPY,JOD,KZT,KES,KWD,LVL,LTL,MXN,MYR,MUR,MDL,MAD,MNT,MZN,ANG,NZD,NGN,NOK,OMR,PKR,PYG,PEN,PHP,PLN,QAR,RON,RUB,SAR,RSD,SCR,SGD,SYP,ZAR,KRW,LKR,SEK,CHF,TWD,THB,TZS,TTD,TRY,UAH,AED,UYU,VEB,VND,ZMK' | split: ',' %}
5 | {% assign supported_codes = settings.supported_currencies | split: ' ' %}
6 | {{ shop.currency }}
7 | {% for code in supported_codes %}
8 | {% if code != shop.currency and codes contains code %}
9 |
10 | {% endif %}
11 | {% endfor %}
12 |
13 |
--------------------------------------------------------------------------------
/snippets/pagination.liquid:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/sections/blog.liquid:
--------------------------------------------------------------------------------
1 |
2 | {% include section.settings.layout %}
3 | {% schema %}
4 | {
5 | "name": "Blog section",
6 | "class": "index-section index-section--flush",
7 | "max_blocks": 3,
8 | "settings": [
9 | {
10 | "type": "select",
11 | "id": "layout",
12 | "label": "Select layout design",
13 | "options": [
14 | {
15 | "value": "blog-1",
16 | "label": "Design 1"
17 | },
18 | {
19 | "value": "blog-2",
20 | "label": "Design 2"
21 | }
22 | ]
23 | },
24 | {
25 | "type": "text",
26 | "id": "heading",
27 | "label": "Heading",
28 | "default": "LATEST BLOGS & UPDATES"
29 | },
30 | {
31 | "type": "blog",
32 | "id": "blog",
33 | "label": "Blog"
34 | }
35 | ],
36 | "blocks": [],
37 | "presets": [
38 | {
39 | "name": "Blog section",
40 | "category": "Feature Sections"
41 | }
42 | ]
43 | }
44 | {% endschema %}
45 |
--------------------------------------------------------------------------------
/snippets/popup.liquid:
--------------------------------------------------------------------------------
1 |
2 |
22 |
23 | {{ '//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js' | script_tag }}
--------------------------------------------------------------------------------
/snippets/main-menu.liquid:
--------------------------------------------------------------------------------
1 |
2 | {% for link in linklists[section.settings.header_menu_1].links %}
3 | {% assign child_list_handle = link.title | handleize %}
4 | {% assign megamenu = false %}
5 |
6 | {% for block in section.blocks %}
7 | {% if block.type == 'megamenu' %}
8 | {% if child_list_handle == block.settings.mega_menu %}
9 | {% include 'mega-menu' %}
10 | {% assign megamenu = true %}
11 | {% endif %}
12 | {% endif %}
13 | {% endfor %}
14 |
15 | {% if megamenu == false %}
16 | {% if linklists[child_list_handle].links != blank %}
17 |
18 | {{link.title}}
19 |
24 |
25 | {% else %}
26 |
27 | {{link.title}}
28 |
29 | {% endif %}
30 | {% endif %}
31 | {% endfor %}
32 |
--------------------------------------------------------------------------------
/snippets/header-search.liquid:
--------------------------------------------------------------------------------
1 | {% assign layout = section.settings.header_layout | strip %}
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
{{ 'layout.search_bar.placeholder' | t }}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
26 |
27 |
--------------------------------------------------------------------------------
/snippets/header-mob-nav.liquid:
--------------------------------------------------------------------------------
1 | {% for link in linklists[section.settings.header_menu_1].links %}
2 | {% assign child_list_handle = link.title | handleize %}
3 | {% assign megamenu = false %}
4 |
5 | {% for block in section.blocks %}
6 | {% if block.type == 'megamenu' %}
7 | {% if child_list_handle == block.settings.mega_menu %}
8 | {% include 'mega-menu' %}
9 | {% assign megamenu = true %}
10 | {% endif %}
11 | {% endif %}
12 | {% endfor %}
13 |
14 | {% if megamenu == false %}
15 | {% if linklists[child_list_handle].links != blank %}
16 |
25 | {% else %}
26 |
29 | {% endif %}
30 | {% endif %}
31 | {% endfor %}
--------------------------------------------------------------------------------
/snippets/header-currency-1.liquid:
--------------------------------------------------------------------------------
1 | {% assign codes = 'USD,EUR,GBP,CAD,ARS,AUD,BBD,BDT,BSD,BHD,BRL,BOB,BND,BGN,ILS,MMK,KYD,CLP,CNY,COP,CRC,HRK,CZK,DKK,DOP,XCD,EGP,XPF,FJD,GHS,GTQ,GYD,GEL,HKD,HUF,ISK,INR,IDR,NIS,JMD,JPY,JOD,KZT,KES,KWD,LVL,LTL,MXN,MYR,MUR,MDL,MAD,MNT,MZN,ANG,NZD,NGN,NOK,OMR,PKR,PYG,PEN,PHP,PLN,QAR,RON,RUB,SAR,RSD,SCR,SGD,SYP,ZAR,KRW,LKR,SEK,CHF,TWD,THB,TZS,TTD,TRY,UAH,AED,UYU,VEB,VND,ZMK' | split: ',' %}
2 | {% assign supported_codes = settings.supported_currencies | split: ' ' %}
3 |
4 |
5 | {{ 'general.header.currency'| t }}
6 | {{ shop.currency }}
7 |
8 | {% if settings.show_multiple_currencies %}
9 |
16 | {% endif %}
17 |
--------------------------------------------------------------------------------
/sections/collection.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 | {% include section.settings.collection_layout %}
4 |
5 | {% schema %}
6 | {
7 | "name": "Featured collection",
8 | "class": "index-section",
9 | "settings": [
10 | {
11 | "type": "select",
12 | "id": "collection_layout",
13 | "label": "Select section layout",
14 | "options": [
15 | {
16 | "value": "feature-carousal",
17 | "label": "Layout 1"
18 | },
19 | {
20 | "value": "feature-carousal2",
21 | "label": "Layout 2"
22 | }
23 | ]
24 | },
25 | {
26 | "type": "text",
27 | "id": "heading",
28 | "label": "Heading",
29 | "default": "FEATURED PRODUCTS"
30 | },
31 | {
32 | "id": "collection",
33 | "type": "collection",
34 | "label": "Collection"
35 | },
36 | {
37 | "type": "text",
38 | "id": "products_tab_count",
39 | "label": "No of products to show",
40 | "default": "8"
41 | }
42 | ],
43 | "presets": [
44 | {
45 | "name": "Featured collection",
46 | "category": "Collection"
47 | }
48 | ]
49 | }
50 | {% endschema %}
51 |
--------------------------------------------------------------------------------
/sections/service-box.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 | {% include section.settings.layout %}
4 |
5 | {% schema %}
6 | {
7 | "name": "Service Boxes section",
8 | "max_blocks": 4,
9 | "settings": [
10 | {
11 | "type": "select",
12 | "id": "layout",
13 | "label": "Select layout design",
14 | "options": [
15 | {
16 | "value": "feature-service1",
17 | "label": "Design 1"
18 | }
19 | ]
20 | }
21 | ],
22 | "blocks": [
23 | {
24 | "type": "box",
25 | "name": "Feature box",
26 | "settings": [
27 | {
28 | "type": "text",
29 | "id": "feature_service_title",
30 | "label": "Feature Title"
31 | },
32 | {
33 | "type": "textarea",
34 | "id": "feature_service_description",
35 | "label": "Feature description"
36 | }
37 | ]
38 | }
39 | ],
40 | "presets": [{
41 | "name": "Service box section",
42 | "category": "Feature Sections",
43 | "blocks": [
44 | {
45 | "type": "box"
46 | },
47 | {
48 | "type": "box"
49 | }
50 | ]
51 | }]
52 | }
53 | {% endschema %}
54 |
--------------------------------------------------------------------------------
/snippets/header-top-links.liquid:
--------------------------------------------------------------------------------
1 |
2 |
22 |
23 | {% include 'header-currency' %}
24 |
25 |
--------------------------------------------------------------------------------
/snippets/feature-advert3.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {% if section.blocks.size > 0 %}
5 | {% for block in section.blocks limit:3 %}
6 |
26 | {% endfor %}
27 | {% endif %}
28 |
29 |
30 |
--------------------------------------------------------------------------------
/snippets/feature-advert6.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {% if section.blocks.size > 0 %}
5 | {% for block in section.blocks limit:6 %}
6 | {% cycle '
', '' %}
7 |
8 |
25 | {% cycle '','
' %}
26 | {% endfor %}
27 | {% endif %}
28 |
29 |
30 |
--------------------------------------------------------------------------------
/snippets/product-grid-item-small.liquid:
--------------------------------------------------------------------------------
1 | {% unless current_collection %}
2 | {% assign current_collection = collection %}
3 | {% endunless %}
4 |
5 | {% assign on_sale = false %}
6 | {% if product.compare_at_price > product.price %}
7 | {% assign on_sale = true %}
8 | {% endif %}
9 |
10 | {% assign sold_out = true %}
11 | {% if product.available %}
12 | {% assign sold_out = false %}
13 | {% endif %}
14 | {% assign img_size = '90x120' %}
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | {{ product.title }}
23 |
24 | {% if product.compare_at_price > product.price %}
25 |
26 | {{ product.compare_at_price_max | money }}
27 |
28 |
29 | {{ product.price | money }}
30 |
31 | {% else %}
32 |
33 | {{ product.price | money }}
34 |
35 | {% endif %}
36 |
37 |
--------------------------------------------------------------------------------
/snippets/comment.liquid:
--------------------------------------------------------------------------------
1 |
2 | {% comment %}
3 |
4 | This snippet generates the structure of a comment.
5 | It is used to show not only recent comments, but also comments that were
6 | just published but not yet approved.
7 |
8 | More information:
9 | - http://docs.shopify.com/themes/liquid-variables/comment
10 |
11 | {% endcomment %}
12 |
13 |
24 |
25 |
26 |
29 |
35 |
{{ comment.content }}
36 |
37 |
--------------------------------------------------------------------------------
/assets/parallax100.js:
--------------------------------------------------------------------------------
1 | (function($){
2 | "use strict";
3 | $.fn.extend({
4 |
5 | parallax100: function(options) {
6 | var defaults = {
7 | speedScroll: 3
8 | }
9 |
10 | var options = $.extend(defaults, options);
11 |
12 | return this.each(function() {
13 |
14 | var obj = $(this);
15 | var bgParallax = $(obj);
16 | var posWindow = $(window).scrollTop();
17 | var hWindow = $(window).height();
18 | var posParallax = $(obj).offset().top;
19 | var hParallax = $(obj).outerHeight();
20 | var x = 0;
21 | var y = options.speedScroll;
22 |
23 | var setPosParallax = function() {
24 | if($(window).width() > 992) { //&& $(this).outerHeight() < $(window).height()
25 |
26 | x = $(obj).offset().top - $(window).scrollTop();
27 |
28 | $(bgParallax).css('background-position','center '+(x/y)+'px');
29 | }
30 | else {
31 | $(bgParallax).css('background-position','center', '0');
32 | }
33 | }
34 |
35 | setPosParallax();
36 |
37 | $(window).on('resize', function(){
38 | setPosParallax();
39 | });
40 |
41 | $(window).on('scroll',function(){
42 | setPosParallax();
43 | });
44 |
45 | });
46 | }
47 | });
48 |
49 | })(jQuery);
--------------------------------------------------------------------------------
/snippets/price-sale.liquid:
--------------------------------------------------------------------------------
1 | {% assign saved_amount = compare_price | minus: product_price %}
2 |
3 | {% comment %}
4 | Unless this store uses multiple currencies,
5 | we will remove the decimals when they are equal to 00,
6 | or when the amount is > 10 (dollars, pounds, etc.).
7 | {% endcomment %}
8 |
9 | {% if shop.money_format contains 'money' %}
10 | {% assign saved_amount = saved_amount | money %}
11 | {% else %}
12 | {% if saved_amount > 1000 %}
13 | {% if shop.money_format contains '{{amount}}' and shop.money_format contains '.' %}
14 | {% assign saved_amount = saved_amount | money_without_trailing_zeros %}
15 | {% elsif shop.money_format contains '{{amount}}' %}
16 | {% assign saved_amount = saved_amount | money | split: '.' | first %}
17 | {% elsif shop.money_format contains '{{amount_with_comma_separator}}' %}
18 | {% assign saved_amount = saved_amount | money | split: ',' | first %}
19 | {% else %}
20 | {% assign saved_amount = saved_amount | money_without_trailing_zeros %}
21 | {% endif %}
22 | {% else %}
23 | {% assign saved_amount = saved_amount | money_without_trailing_zeros %}
24 | {% endif %}
25 | {% endif %}
26 |
27 | {{ 'products.general.save_html' | t: saved_amount: saved_amount }}
28 |
29 | {% comment %}
30 | {% if compare_price > product_price %}
31 | Save {{ compare_price | minus: product_price | times: 100 | divided_by: compare_price | round }}%
32 | {% endif %}
33 | {% endcomment %}
34 |
--------------------------------------------------------------------------------
/assets/countdowntime.js:
--------------------------------------------------------------------------------
1 | /*
2 | (function ($) {
3 | "use strict";
4 |
5 | function getTimeRemaining(endtime) {
6 | var t = Date.parse(endtime) - Date.parse(new Date());
7 | var seconds = Math.floor((t / 1000) % 60);
8 | var minutes = Math.floor((t / 1000 / 60) % 60);
9 | var hours = Math.floor((t / (1000 * 60 * 60)) % 24);
10 | var days = Math.floor(t / (1000 * 60 * 60 * 24));
11 | return {
12 | 'total': t,
13 | 'days': days,
14 | 'hours': hours,
15 | 'minutes': minutes,
16 | 'seconds': seconds
17 | };
18 | }
19 |
20 | function initializeClock(id, endtime) {
21 | var daysSpan = $('.days');
22 | var hoursSpan = $('.hours');
23 | var minutesSpan = $('.minutes');
24 | var secondsSpan = $('.seconds');
25 |
26 | function updateClock() {
27 | var t = getTimeRemaining(endtime);
28 |
29 | daysSpan.html(t.days);
30 | hoursSpan.html(('0' + t.hours).slice(-2));
31 | minutesSpan.html(('0' + t.minutes).slice(-2));
32 | secondsSpan.html(('0' + t.seconds).slice(-2))
33 |
34 | if (t.total <= 0) {
35 | clearInterval(timeinterval);
36 | }
37 | }
38 |
39 | updateClock();
40 | var timeinterval = setInterval(updateClock, 1000);
41 | }
42 |
43 | var deadline = new Date(Date.parse(new Date()) + 1546318800);
44 | initializeClock('clockdiv', deadline);
45 |
46 | })(jQuery);
47 | */
--------------------------------------------------------------------------------
/sections/ad-banner.liquid:
--------------------------------------------------------------------------------
1 |
2 | {% include section.settings.feature_advert_design %}
3 | {% schema %}
4 | {
5 | "name": "Ad banner section",
6 | "class": "index-section index-section--flush",
7 | "max_blocks": 6,
8 | "settings": [
9 | {
10 | "type": "select",
11 | "id": "feature_advert_design",
12 | "label": "Select Design",
13 | "options": [
14 | {
15 | "value": "feature-advert3",
16 | "label": "Design 3 (Three images )"
17 | },
18 | {
19 | "value": "feature-advert6",
20 | "label": "Design 6 (Six images )"
21 | }
22 | ],
23 | "default": "feature-advert6"
24 | }
25 | ],
26 | "blocks": [
27 | {
28 | "type": "image",
29 | "name": "Image slide",
30 | "settings": [
31 | {
32 | "type": "image_picker",
33 | "id": "image",
34 | "label": "Image",
35 | "info": "ad image"
36 | },
37 | {
38 | "type": "text",
39 | "id": "link_text",
40 | "label": "Link Text"
41 | },
42 | {
43 | "type": "url",
44 | "id": "link",
45 | "label": "Link URL"
46 | }
47 | ]
48 | }
49 | ],
50 | "presets": [{
51 | "name": "Ad banner section",
52 | "category": "Image",
53 | "blocks": [
54 | {
55 | "type": "image"
56 | },
57 | {
58 | "type": "image"
59 | }
60 | ]
61 | }]
62 | }
63 | {% endschema %}
64 |
--------------------------------------------------------------------------------
/snippets/search-result.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 | {% if item.featured_image %}
4 |
5 | {% comment %}
6 | We have a featured_image, so it's likely a product
7 | {% endcomment %}
8 |
13 |
14 | {% endif %}
15 |
16 | {% comment %}
17 | If we don't have a featured_image, add a push-- class to keep the alignment the same
18 | {% endcomment %}
19 |
20 |
{{ item.title | link_to: item.url }}
21 |
22 | {% if item.compare_at_price > item.price %}
23 |
24 |
25 | {% include 'price' with item.price %}
26 |
27 |
28 |
29 |
30 | {% assign compare_price = item.compare_at_price %}
31 | {% assign product_price = item.price %}
32 | {% include 'price-sale' %}
33 |
34 |
35 | {% else %}
36 |
37 |
38 | {% include 'price' with item.price %}
39 |
40 |
41 | {% endif %}
42 |
43 |
{{ item.content | strip_html | truncatewords: 50 }}
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/snippets/google-fonts.liquid:
--------------------------------------------------------------------------------
1 | {% if settings.type_base_family contains 'Google' %}
2 | {% assign type_base_parts = settings.type_base_family | split: '_' %}
3 | {% capture baseGoogleUrl %}{{ type_base_parts[1] }}:{{ type_base_parts[2] }}{% endcapture %}
4 | {% comment %} {{ '//fonts.googleapis.com/css?family=' | append: baseGoogleUrl | stylesheet_tag }}{% endcomment %}
5 | {% endif %}
6 | {% if settings.type_header_family contains 'Google' %}
7 | {% unless settings.type_header_family contains type_base_parts[1] %}
8 | {% assign type_header_parts = settings.type_header_family | split: '_' %}
9 | {% capture headerGoogleUrl %}{{ type_header_parts[1] }}:{{ type_header_parts[2] }}{% endcapture %}
10 | {% comment %} {{ '//fonts.googleapis.com/css?family=' | append: headerGoogleUrl | stylesheet_tag }}{% endcomment %}
11 | {% endunless %}
12 | {% endif %}
13 | {% if settings.type_accent_family contains 'Google' %}
14 | {% unless settings.type_accent_family contains type_base_parts[1] or settings.type_accent_family contains type_header_parts[1] %}
15 | {% assign type_accent_parts = settings.type_accent_family | split: '_' %}
16 | {% capture accentGoogleUrl %}{{ type_accent_parts[1] }}:{{ type_accent_parts[2] }}{% endcapture %}
17 | {% comment %} {{ '//fonts.googleapis.com/css?family=' | append: accentGoogleUrl | stylesheet_tag }}{% endcomment %}
18 | {% endunless %}
19 | {% endif %}
20 | {{ '//fonts.googleapis.com/css?family=' | append: baseGoogleUrl | append: '|' | append: headerGoogleUrl | append: '|' | append: accentGoogleUrl |stylesheet_tag }}
21 |
22 |
--------------------------------------------------------------------------------
/snippets/blog-sidebar.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
12 |
13 |
14 | {% if settings.show_blog_side_listing %}
15 |
16 |
17 | {{ settings.blog_side_listing_title }}
18 |
19 |
20 | {% assign product_collection = settings.collection_side_listing %}
21 | {% for product in collections[product_collection].products limit:5 %}
22 | {% include 'product-grid-item-small' %}
23 | {% endfor %}
24 |
25 | {% endif %}
26 |
27 |
28 | {{ 'blogs.sidebar.tags_cloud' | t }}
29 |
30 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/snippets/slider-1.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {% if section.blocks.size > 0 %}
6 | {% for block in section.blocks %}
7 |
8 |
9 | {% if block.settings.heading != blank %}
10 |
11 | {{ block.settings.heading }}
12 |
13 | {% endif %}
14 | {% if block.settings.subheading != blank %}
15 |
16 | {{ block.settings.subheading }}
17 |
18 | {% endif %}
19 | {% if block.settings.slide_link_text != blank %}
20 |
26 | {% endif %}
27 |
28 |
29 | {% endfor %}
30 | {% endif %}
31 |
32 |
33 |
--------------------------------------------------------------------------------
/snippets/slider-2.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {% if section.blocks.size > 0 %}
6 | {% for block in section.blocks %}
7 |
8 |
9 | {% if block.settings.heading != blank %}
10 |
11 | {{ block.settings.heading }}
12 |
13 | {% endif %}
14 | {% if block.settings.subheading != blank %}
15 |
16 | {{ block.settings.subheading }}
17 |
18 | {% endif %}
19 | {% if block.settings.slide_link_text != blank %}
20 |
26 | {% endif %}
27 |
28 |
29 | {% endfor %}
30 | {% endif %}
31 |
32 |
33 |
--------------------------------------------------------------------------------
/snippets/slider-3.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {% if section.blocks.size > 0 %}
6 | {% for block in section.blocks %}
7 |
8 |
9 | {% if block.settings.heading != blank %}
10 |
11 | {{ block.settings.heading }}
12 |
13 | {% endif %}
14 | {% if block.settings.subheading != blank %}
15 |
16 | {{ block.settings.subheading }}
17 |
18 | {% endif %}
19 | {% if block.settings.slide_link_text != blank %}
20 |
26 | {% endif %}
27 |
28 |
29 | {% endfor %}
30 | {% endif %}
31 |
32 |
33 |
--------------------------------------------------------------------------------
/templates/customers/reset_password.liquid:
--------------------------------------------------------------------------------
1 | {% include 'breadcrumb' %}
2 |
3 |
4 |
5 | {% form 'reset_customer_password' %}
6 |
7 |
{{ 'customer.reset_password.title' | t }}
8 |
9 |
{{ 'customer.reset_password.subtext' | t: email: email }}
10 |
11 | {% include 'form-errors-custom' %}
12 |
35 | {% endform %}
36 |
37 |
38 |
--------------------------------------------------------------------------------
/snippets/related-products.liquid:
--------------------------------------------------------------------------------
1 | {% assign number_of_products = 8 %}
2 | {% assign number_of_products_to_fetch = number_of_products | plus: 1 %}
3 |
4 | {% if collection == null or collection.handle == 'frontpage' or collection.handle == 'all' %}
5 | {% assign found_a_collection = false %}
6 | {% for c in product.collections %}
7 | {% if found_a_collection == false and c.handle != 'frontpage' and c.handle != 'all' and c.all_products_count > 1 %}
8 | {% assign found_a_collection = true %}
9 | {% assign collection = c %}
10 | {% endif %}
11 | {% endfor %}
12 | {% endif %}
13 |
14 |
15 | {% if collection and collection.products_count > 1 %}
16 |
17 |
18 |
19 | {{ 'products.general.related_products' | t }}
20 |
21 |
22 |
23 |
24 |
25 | {% assign current_product = product %}
26 | {% assign current_product_found = false %}
27 | {% for product in collection.products limit: number_of_products_to_fetch %}
28 | {% if product.handle == current_product.handle %}
29 | {% assign current_product_found = true %}
30 | {% else %}
31 | {% unless current_product_found == false and forloop.last %}
32 |
33 | {% include 'product-grid-item' %}
34 |
35 | {% endunless %}
36 | {% endif %}
37 | {% endfor %}
38 |
39 |
40 |
41 | {% endif %}
42 |
43 |
44 |
--------------------------------------------------------------------------------
/assets/owl.carousel.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Core Owl Carousel CSS File
3 | * v1.3.3
4 | */
5 |
6 | /* clearfix */
7 | .owl-carousel .owl-wrapper:after {
8 | content: ".";
9 | display: block;
10 | clear: both;
11 | visibility: hidden;
12 | line-height: 0;
13 | height: 0;
14 | }
15 | /* display none until init */
16 | .owl-carousel{
17 | display: none;
18 | position: relative;
19 | width: 100%;
20 | }
21 | .owl-carousel .owl-wrapper{
22 | display: none;
23 | position: relative;
24 | -webkit-transform: translate3d(0px, 0px, 0px);
25 | }
26 | .owl-carousel .owl-wrapper-outer{
27 | overflow: hidden;
28 | position: relative;
29 | width: 100%;
30 | }
31 | .owl-carousel .owl-wrapper-outer.autoHeight{
32 | -webkit-transition: height 500ms ease-in-out;
33 | -moz-transition: height 500ms ease-in-out;
34 | -ms-transition: height 500ms ease-in-out;
35 | -o-transition: height 500ms ease-in-out;
36 | transition: height 500ms ease-in-out;
37 | }
38 |
39 | .owl-carousel .owl-item{
40 | float: left;
41 | }
42 | .owl-controls .owl-page,
43 | .owl-controls .owl-buttons div{
44 | cursor: pointer;
45 | }
46 | .owl-controls {
47 | -webkit-user-select: none;
48 | -khtml-user-select: none;
49 | -moz-user-select: none;
50 | -ms-user-select: none;
51 | user-select: none;
52 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
53 | }
54 |
55 | /* mouse grab icon */
56 | .grabbing {
57 | cursor:url(grabbing.png) 8 8, move;
58 | }
59 |
60 | /* fix */
61 | .owl-carousel .owl-wrapper,
62 | .owl-carousel .owl-item{
63 | -webkit-backface-visibility: hidden;
64 | -moz-backface-visibility: hidden;
65 | -ms-backface-visibility: hidden;
66 | -webkit-transform: translate3d(0,0,0);
67 | -moz-transform: translate3d(0,0,0);
68 | -ms-transform: translate3d(0,0,0);
69 | }
70 |
--------------------------------------------------------------------------------
/templates/customers/activate_account.liquid:
--------------------------------------------------------------------------------
1 | {% include 'breadcrumb' %}
2 |
3 |
4 |
5 |
{{ 'customer.activate_account.title' | t }}
6 |
{{ 'customer.activate_account.subtext' | t }}
7 |
8 | {% form 'activate_customer_password' %}
9 |
10 | {% include 'form-errors-custom' %}
11 |
33 | {% endform %}
34 |
35 |
36 |
--------------------------------------------------------------------------------
/snippets/blog-2.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{ section.settings.heading }}
6 |
7 |
8 |
9 | {% for article in blogs[section.settings.blog].articles: limit 3 %}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
22 |
{{ 'blogs.article.by' | t }} {{ article.author }}
23 |
{{ 'blogs.article.on' | t }}
24 |
25 |
26 | {{ article.published_at | date: "%b %d,%Y" }}
27 |
28 |
29 |
30 | {% if article.excerpt.size > 0 %}
31 | {{ article.excerpt | truncatewords: 15}}
32 | {% else %}
33 | {{ article.content | strip_html | truncatewords: 20 }}
34 | {% endif %}
35 |
36 |
37 |
38 |
39 | {% endfor %}
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/assets/owl.carousel.css.liquid:
--------------------------------------------------------------------------------
1 | /*
2 | * Core Owl Carousel CSS File
3 | * v1.3.3
4 | */
5 |
6 | /* clearfix */
7 | .owl-carousel .owl-wrapper:after {
8 | content: ".";
9 | display: block;
10 | clear: both;
11 | visibility: hidden;
12 | line-height: 0;
13 | height: 0;
14 | }
15 | /* display none until init */
16 | .owl-carousel{
17 | display: none;
18 | position: relative;
19 | width: 100%;
20 | }
21 | .owl-carousel .owl-wrapper{
22 | display: none;
23 | position: relative;
24 | -webkit-transform: translate3d(0px, 0px, 0px);
25 | }
26 | .owl-carousel .owl-wrapper-outer{
27 | overflow: hidden;
28 | position: relative;
29 | width: 100%;
30 | }
31 | .owl-carousel .owl-wrapper-outer.autoHeight{
32 | -webkit-transition: height 500ms ease-in-out;
33 | -moz-transition: height 500ms ease-in-out;
34 | -ms-transition: height 500ms ease-in-out;
35 | -o-transition: height 500ms ease-in-out;
36 | transition: height 500ms ease-in-out;
37 | }
38 |
39 | .owl-carousel .owl-item{
40 | float: left;
41 | }
42 | .owl-controls .owl-page,
43 | .owl-controls .owl-buttons div{
44 | cursor: pointer;
45 | }
46 | .owl-controls {
47 | -webkit-user-select: none;
48 | -khtml-user-select: none;
49 | -moz-user-select: none;
50 | -ms-user-select: none;
51 | user-select: none;
52 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
53 | }
54 |
55 | /* mouse grab icon */
56 | .grabbing {
57 | cursor:url(grabbing.png) 8 8, move;
58 | }
59 |
60 | /* fix */
61 | .owl-carousel .owl-wrapper,
62 | .owl-carousel .owl-item{
63 | -webkit-backface-visibility: hidden;
64 | -moz-backface-visibility: hidden;
65 | -ms-backface-visibility: hidden;
66 | -webkit-transform: translate3d(0,0,0);
67 | -moz-transform: translate3d(0,0,0);
68 | -ms-transform: translate3d(0,0,0);
69 | }
70 |
--------------------------------------------------------------------------------
/snippets/blog-1.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{ section.settings.heading }}
6 |
7 |
8 |
9 | {% for article in blogs[section.settings.blog].articles: limit 3 %}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
22 |
{{ 'blogs.article.by' | t }} {{ article.author }}
23 |
{{ 'blogs.article.on' | t }}
24 |
25 |
26 | {{ article.published_at | date: "%b %d,%Y" }}
27 |
28 |
29 |
30 | {% if article.excerpt.size > 0 %}
31 | {{ article.excerpt | truncatewords: 15}}
32 | {% else %}
33 | {{ article.content | strip_html | truncatewords: 20 }}
34 | {% endif %}
35 |
36 |
37 |
38 |
39 | {% endfor %}
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/assets/blog.css:
--------------------------------------------------------------------------------
1 | .article-page .article-list{
2 | float: left;
3 | width: 100%;
4 | }
5 | .article-page .article-item{
6 | float: left;
7 | width: 100%;
8 | margin-bottom: 40px;
9 | }
10 | .article-page .article-name{
11 | font-size: 24px;
12 | text-transform: uppercase;
13 | margin: 0px 0px 20px;
14 | }
15 | .articledate i{
16 | margin-right: 5px;
17 | }
18 | .articledate{
19 | font-size: 10px;
20 | text-transform: uppercase;
21 | color: #787878;
22 | padding: 10px 0px;
23 | border-bottom: 1px solid #E5E5E5;
24 | border-top: 1px solid #E5E5E5;
25 | margin: 0px 0px 10px;
26 | }
27 | .intro-content > div:not(:last-child){
28 | margin: 0 0 30px 0;
29 | }
30 | .intro-content{
31 | font-size: 14px;
32 | padding: 30px 0 0;
33 | line-height: 30px;
34 | }
35 | .readmore-page i{
36 | margin-left: 5px;
37 | display: inline-block;
38 | font-size: 13px;
39 | }
40 | .readmore-page{
41 | background: #3c74b9;
42 | color: #fff;
43 | font-weight: 500;
44 | font-size: 11px;
45 | text-transform: uppercase;
46 | border-radius: 3px;
47 | padding: 10px 20px;
48 | margin: 20px 0 0;
49 | display: inline-block;
50 | letter-spacing: 2px;
51 | }
52 | .readmore-page:hover{
53 | background: #444;
54 | color: #fff;
55 | }
56 | .article-title{
57 | font-size: 20px;
58 | font-weight: bold;
59 | margin: 0px 0px 20px;
60 | text-transform: uppercase;
61 | letter-spacing: 3px;
62 | color: #222;
63 | }
64 | .article-description{
65 | font-size: 14px;
66 | margin: 20px 0px;
67 | line-height: 30px;
68 | }
69 | .article-container img{
70 | float: left;
71 | margin-right: 30px;
72 | }
73 | .article-description p{
74 |
75 | }
76 | .article-date{
77 | display: inline-block;
78 | font-size: 10px;
79 | text-transform: uppercase;
80 | color: #787878;
81 | padding: 10px 0px;
82 | border-bottom: 1px solid #E5E5E5;
83 | border-top: 1px solid #E5E5E5;
84 | margin: 0px 0px 10px;
85 | }
--------------------------------------------------------------------------------
/assets/blog.css.liquid:
--------------------------------------------------------------------------------
1 | .article-page .article-list{
2 | float: left;
3 | width: 100%;
4 | }
5 | .article-page .article-item{
6 | float: left;
7 | width: 100%;
8 | margin-bottom: 40px;
9 | }
10 | .article-page .article-name{
11 | font-size: 24px;
12 | text-transform: uppercase;
13 | margin: 0px 0px 20px;
14 | }
15 | .articledate i{
16 | margin-right: 5px;
17 | }
18 | .articledate{
19 | font-size: 10px;
20 | text-transform: uppercase;
21 | color: #787878;
22 | padding: 10px 0px;
23 | border-bottom: 1px solid #E5E5E5;
24 | border-top: 1px solid #E5E5E5;
25 | margin: 0px 0px 10px;
26 | }
27 | .intro-content > div:not(:last-child){
28 | margin: 0 0 30px 0;
29 | }
30 | .intro-content{
31 | font-size: 14px;
32 | padding: 30px 0 0;
33 | line-height: 30px;
34 | }
35 | .readmore-page i{
36 | margin-left: 5px;
37 | display: inline-block;
38 | font-size: 13px;
39 | }
40 | .readmore-page{
41 | background: #3c74b9;
42 | color: #fff;
43 | font-weight: 500;
44 | font-size: 11px;
45 | text-transform: uppercase;
46 | border-radius: 3px;
47 | padding: 10px 20px;
48 | margin: 20px 0 0;
49 | display: inline-block;
50 | letter-spacing: 2px;
51 | }
52 | .readmore-page:hover{
53 | background: #444;
54 | color: #fff;
55 | }
56 | .article-title{
57 | font-size: 20px;
58 | font-weight: bold;
59 | margin: 0px 0px 20px;
60 | text-transform: uppercase;
61 | letter-spacing: 3px;
62 | color: #222;
63 | }
64 | .article-description{
65 | font-size: 14px;
66 | margin: 20px 0px;
67 | line-height: 30px;
68 | }
69 | .article-container img{
70 | float: left;
71 | margin-right: 30px;
72 | }
73 | .article-description p{
74 |
75 | }
76 | .article-date{
77 | display: inline-block;
78 | font-size: 10px;
79 | text-transform: uppercase;
80 | color: #787878;
81 | padding: 10px 0px;
82 | border-bottom: 1px solid #E5E5E5;
83 | border-top: 1px solid #E5E5E5;
84 | margin: 0px 0px 10px;
85 | }
--------------------------------------------------------------------------------
/snippets/deals-layout1.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
32 | {% if section.blocks.size > 0 %}
33 | {% for block in section.blocks %}
34 | {% assign product = all_products[block.settings.product_deal] %}
35 |
36 | {% include 'product-grid-item-deal' %}
37 |
38 | {% endfor %}
39 | {% endif %}
40 |
41 |
42 |
--------------------------------------------------------------------------------
/snippets/products-tab2.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {% if section.settings.heading != blank %}
5 |
{{ section.settings.heading }}
6 | {% endif %}
7 |
8 |
9 |
10 |
11 |
12 | {% capture tabs %}{{ section.settings.products_tab_collection1 }},{{ section.settings.products_tab_collection2 }},{{ section.settings.products_tab_collection3 }},{{ section.settings.products_tab_collection4 }},{{ section.settings.products_tab_collection5 }}{% endcapture %}
13 | {% assign tabs_collection = tabs | split: "," %}
14 | {% for coll in tabs_collection %}
15 | {% assign title = collections[coll].title %}
16 |
17 | {{ title }}
18 |
19 | {% endfor %}
20 |
21 |
22 |
23 |
24 | {% for coll in tabs_collection %}
25 | {% assign coll_products = collections[coll].products %}
26 |
27 |
28 | {% for product in coll_products limit:section.settings.products_tab_count %}
29 |
30 | {% include 'product-grid-item' %}
31 |
32 | {% endfor %}
33 |
34 |
35 |
36 | {% endfor %}
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/sections/collection-tab.liquid:
--------------------------------------------------------------------------------
1 | {% include section.settings.products_tab_layout %}
2 | {% schema %}
3 | {
4 | "name": "Collection Tabs",
5 | "class": "index-section",
6 | "settings": [
7 | {
8 | "type": "header",
9 | "content": "Select the collection to show products from"
10 | },
11 | {
12 | "type": "select",
13 | "id": "products_tab_layout",
14 | "label": "Select section layout",
15 | "options": [
16 | {
17 | "value": "products-tab1",
18 | "label": "Design 1"
19 | },
20 | {
21 | "value": "products-tab2",
22 | "label": "Design 2"
23 | }
24 | ]
25 | },
26 | {
27 | "type": "text",
28 | "id": "heading",
29 | "label": "Heading",
30 | "default": "Featured collection"
31 | },
32 | {
33 | "type": "collection",
34 | "id": "products_tab_collection1",
35 | "label": "Collection for Tab 1"
36 | },
37 | {
38 | "type": "collection",
39 | "id": "products_tab_collection2",
40 | "label": "Collection for Tab 2"
41 | },
42 | {
43 | "type": "collection",
44 | "id": "products_tab_collection3",
45 | "label": "Collection for Tab 3"
46 | },
47 | {
48 | "type": "collection",
49 | "id": "products_tab_collection4",
50 | "label": "Collection for Tab 4"
51 | },
52 | {
53 | "type": "collection",
54 | "id": "products_tab_collection5",
55 | "label": "Collection for Tab 5"
56 | },
57 | {
58 | "type": "text",
59 | "id": "products_tab_count",
60 | "label": "No of products to show",
61 | "default": "8"
62 | }
63 | ],
64 | "presets": [
65 | {
66 | "name": "Collection Tabs",
67 | "category": "Collection"
68 | }
69 | ]
70 | }
71 | {% endschema %}
72 |
--------------------------------------------------------------------------------
/snippets/products-tab1.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {% if section.settings.heading != blank %}
5 |
{{ section.settings.heading }}
6 | {% endif %}
7 |
8 |
9 |
10 |
11 |
12 | {% capture tabs %}{{ section.settings.products_tab_collection1 }},{{ section.settings.products_tab_collection2 }},{{ section.settings.products_tab_collection3 }},{{ section.settings.products_tab_collection4 }},{{ section.settings.products_tab_collection5 }}{% endcapture %}
13 | {% assign tabs_collection = tabs | split: "," %}
14 | {% for coll in tabs_collection %}
15 | {% assign title = collections[coll].title %}
16 |
17 | {{ title }}
18 |
19 | {% endfor %}
20 |
21 |
22 |
23 |
24 | {% for coll in tabs_collection %}
25 | {% assign coll_products = collections[coll].products %}
26 |
27 |
28 | {% for product in coll_products limit:section.settings.products_tab_count %}
29 |
30 | {% include 'product-grid-item' %}
31 |
32 | {% endfor %}
33 |
34 |
35 |
36 | {% endfor %}
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/snippets/product-wishlist.liquid:
--------------------------------------------------------------------------------
1 | {% if customer %}
2 | {% assign value = product.id %}
3 | {% capture productID %}{{ product.id }}{% endcapture %}
4 | {% for tag in customer.tags %}
5 | {% capture tagID %}{{ tag }}{% endcapture %}
6 | {% if tagID contains productID %}
7 | {% capture value %}x{{ tagID }}{% endcapture %}
8 | {% endif %}
9 | {% if value.size == 0 %}
10 | {% assign value = productID %}
11 | {% endif %}
12 | {% endfor %}
13 | {% unless value.size == 0 %}
14 | {% comment %}{% capture check %}{{ value.size | minus:productID.size | money_without_currency | times:100 | divided_by:2 }}{% endcapture %}{% endcomment %}
15 | {% assign check = tag.size | minus:productID.size | modulo:2 %}
16 | {% assign check = check | split:'.' %}
17 | {% if check[1] contains "5" %}
18 | {% assign display = false %}{% else %}{% assign display = true %}
19 | {% endif %}
20 | {% endunless %}
21 | {% if display %}
22 |
23 | {% form 'customer' %}
24 |
25 |
26 |
{{ 'products.product.add_to_wishlist' | t }}
27 | {% endform %}
28 | {% else %}
29 | {% comment %}
30 |
{{ 'products.product.add_to_wishlist' | t }}
31 | {% endcomment %}
32 | {% comment %} title="{{ 'products.wishlist.wishlist_title' | t }}" {% endcomment %}
33 | {% endif %}
34 | {% else %}
35 |
{{ 'products.product.add_to_wishlist' | t }}
36 | {% endif %}
--------------------------------------------------------------------------------
/snippets/social-sharing.liquid:
--------------------------------------------------------------------------------
1 | {% if template contains 'article' or template contains 'blog' %}
2 | {% capture permalinkURL %}{{ shop.url }}{{ article.url }}{% endcapture %}
3 | {% capture shareTitle %}{{ article.title | url_param_escape }}{% endcapture %}
4 |
5 | {% elsif template contains 'product' %}
6 | {% capture permalinkURL %}{{ shop.url }}{{ product.url }}{% endcapture %}
7 | {% capture shareTitle %}{{ product.title | url_param_escape }}{% endcapture %}
8 |
9 | {% elsif template == 'password' %}
10 | {% capture permalinkURL %}{{ shop.url }}{% endcapture %}
11 | {% capture shareTitle %}{% unless shop.description == blank %}{{ shop.description | url_param_escape }}{% else %}{{ shop.name | url_param_escape }}{% endunless %}{% endcapture %}
12 |
13 | {% endif %}
14 |
15 | {% assign shareButtonStyle = settings.social_sharing_style %}
16 |
17 |
18 | {{ 'blogs.article.share_this_post'| t }} :
19 |
20 | {% if settings.share_facebook %}
21 |
22 |
23 |
24 |
25 | {% endif %}
26 |
27 | {% if settings.share_twitter %}
28 |
29 |
31 |
32 | {% endif %}
33 |
34 | {% if product.featured_image or article.image %}
35 |
36 | {% if settings.share_pinterest %}
37 |
38 |
39 |
40 |
41 | {% endif %}
42 |
43 | {% endif %}
44 |
45 | {% if settings.share_google %}
46 |
47 |
48 |
49 |
50 |
51 | {% endif %}
52 |
53 |
54 |
--------------------------------------------------------------------------------
/templates/search.liquid:
--------------------------------------------------------------------------------
1 | {% assign grid_results = true %}
2 |
3 | {% assign respond_js_secret_key = shop.domain | md5 %}
4 | {% unless search.terms == respond_js_secret_key %}
5 | {% include 'breadcrumb' %}
6 |
7 |
8 |
9 | {% if search.performed %}
10 | {% paginate search.results by 10 %}
11 | {% if search.results_count == 0 %}
12 |
17 | {% else %}
18 |
22 | {% if grid_results == false %}
23 |
24 | {% for item in search.results %}
25 | {% include 'search-result' %}
26 | {% endfor %}
27 |
28 | {% else %}
29 |
30 |
31 |
32 | {% for item in search.results %}
33 | {% assign grid_item_width = 'large--one-fifth medium--one-third small--one-half' %}
34 |
35 | {% include 'search-result-grid' %}
36 |
37 | {% endfor %}
38 |
39 |
40 | {% endif %}
41 | {% endif %}
42 |
43 | {% if paginate.pages > 1 %}
44 | {% include 'pagination' %}
45 | {% endif %}
46 | {% endpaginate %}
47 | {% else %}
48 |
49 | {% comment %}
50 | If search.performed is false, someone either accessed the page without the q parameter, or it was blank.
51 | {% endcomment
52 |
53 |
{{ 'general.search.title' | t }}
54 | {% include 'search-bar' %}
55 |
59 | {% endif %}
60 |
61 |
62 |
63 | {% else %}
64 | {% include 'respond' %}
65 | {% layout none %}
66 | {% endunless %}
--------------------------------------------------------------------------------
/snippets/header-cart.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/snippets/product-wishlist2.liquid:
--------------------------------------------------------------------------------
1 | {% if customer %}
2 | {% assign value = product.id %}
3 | {% capture productID %}{{ product.id }}{% endcapture %}
4 | {% for tag in customer.tags %}
5 | {% capture tagID %}{{ tag }}{% endcapture %}
6 | {% if tagID contains productID %}
7 | {% capture value %}x{{ tagID }}{% endcapture %}
8 | {% endif %}
9 | {% if value.size == 0 %}
10 | {% assign value = productID %}
11 | {% endif %}
12 | {% endfor %}
13 |
14 | {% unless value.size == 0 %}
15 | {% assign check = tag.size | minus:productID.size | modulo:2 %}
16 | {% comment %}{% capture check %}{{ value.size | minus:productID.size | money_without_currency | times:100 | divided_by:2 }}{% endcapture %}{% endcomment %}
17 | {% assign check = check | split:'.' %}
18 | {% if check[1] contains "5" %}
19 | {% assign display = false %}{% else %}{% assign display = true %}
20 | {% endif %}
21 | {% endunless %}
22 |
23 | {% if display %}
24 |
25 | {% form 'customer' %}
26 |
27 |
28 |
29 | {{ 'products.product.add_to_wishlist' | t }}
30 |
31 | {% endform %}
32 | {% else %}
33 | {% comment %}
34 |
35 |
36 | {% endcomment %}
37 | {% comment %} title="{{ 'products.wishlist.wishlist_title' | t }}" {% endcomment %}
38 | {% endif %}
39 | {% else %}
40 |
41 | {{ 'products.product.add_to_wishlist' | t }}
42 |
43 | {% endif %}
--------------------------------------------------------------------------------
/snippets/header-cart-mob.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/sections/product-deals.liquid:
--------------------------------------------------------------------------------
1 |
2 | {% include section.settings.collection_layout %}
3 | {% schema %}
4 | {
5 | "name": "Deal of the day",
6 | "max_blocks": 1,
7 | "settings": [
8 | {
9 | "type": "select",
10 | "id": "collection_layout",
11 | "label": "Select section layout",
12 | "options": [
13 | {
14 | "value": "deals-layout1",
15 | "label": "Design 1"
16 | },
17 | {
18 | "value": "deals-layout2",
19 | "label": "Design 2"
20 | }
21 | ]
22 | },
23 | {
24 | "type": "image_picker",
25 | "id": "image",
26 | "label": "Collection image",
27 | "info": "720x539px"
28 | },
29 | {
30 | "type": "text",
31 | "id": "heading",
32 | "label": "Ad Heading"
33 | },
34 | {
35 | "type": "text",
36 | "id": "subheading",
37 | "label": "Ad subheading"
38 | },
39 | {
40 | "type": "text",
41 | "id": "link_text",
42 | "label": "Ad link text"
43 | },
44 | {
45 | "type": "url",
46 | "id": "link",
47 | "label": "Image URL"
48 | }
49 | ],
50 | "blocks": [
51 | {
52 | "type": "deal",
53 | "name": "deal product",
54 | "settings": [
55 | {
56 | "type": "product",
57 | "id": "product_deal",
58 | "label": "Product"
59 | },
60 | {
61 | "type": "checkbox",
62 | "id": "custom_image",
63 | "label": "Set custom image?",
64 | "default": true
65 | },
66 | {
67 | "type": "image_picker",
68 | "id": "product_image",
69 | "label": "Product image",
70 | "info": "720x539px"
71 | },
72 | {
73 | "type": "text",
74 | "id": "expiry_deal",
75 | "label": "Expiry",
76 | "info": "(yyyy,mm,dd)"
77 | }
78 | ]
79 | }
80 | ],
81 | "presets": [
82 | {
83 | "name": "Deals section",
84 | "category": "Collection",
85 | "blocks": [
86 | {
87 | "type": "deal"
88 | },
89 | {
90 | "type": "deal"
91 | }
92 | ]
93 | }
94 | ]
95 | }
96 | {% endschema %}
97 |
--------------------------------------------------------------------------------
/snippets/mega-menu-mob.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{link.title}}
4 |
5 |
6 | {% for i in (1..4) %}
7 | {% capture handle %}mega_menu_col_{{ i }}{% endcapture %}
8 |
9 | {% case block.settings[handle] %}
10 |
11 | {% when 'menu' %}
12 |
13 | {% capture menu_width %}mega_menu_width_col_{{ i }}{% endcapture %}
14 | {% capture menu_title %}mega_menu_title_col_{{ i }}{% endcapture %}
15 | {% capture menu %}mega_menu_ll_col_{{ i }}{% endcapture %}
16 |
17 |
18 | {{ block.settings[menu_title] }}
19 |
20 |
21 | {% for link in linklists[block.settings[menu]].links limit:5%}
22 |
23 | {{link.title}}
24 |
25 | {% endfor %}
26 |
27 |
28 | {% when 'collection' %}
29 |
30 | {% capture menu_collection %}mega_menu_collection_col_{{ i }}{% endcapture %}
31 |
32 |
33 | {{ collections[block.settings[menu_collection]].title }}
34 |
35 |
36 | {% for product in collections[block.settings[menu_collection]].products limit:5 %}
37 |
38 | {{ product.title }}
39 |
40 | {% endfor %}
41 |
42 |
43 | {% when 'image' %}
44 |
45 | {% capture menu_title %}mega_menu_title_col_{{ i }}{% endcapture %}
46 | {% capture menu_image %}mega_menu_image_col_{{ i }}.jpg{% endcapture %}
47 | {% capture menu_image_link %}mega_menu_image_link_col_{{ i }}{% endcapture %}
48 |
49 |
50 | {% for product in collections[block.settings[menu_collection]].products limit:5 %}
51 |
52 |
53 |
54 |
55 |
56 | {% endfor %}
57 |
58 |
59 | {% else %}
60 | {% endcase %}
61 | {% endfor %}
62 |
63 |
--------------------------------------------------------------------------------
/snippets/collection-show-count.liquid:
--------------------------------------------------------------------------------
1 |
2 | 10
3 | 20
4 | 30
5 | {{ 'collections.view.all' | t }}
6 |
7 |
--------------------------------------------------------------------------------
/snippets/twitter-card.liquid:
--------------------------------------------------------------------------------
1 | {% comment %}
2 | This snippet renders meta data needed to create a Twitter card
3 | for products and articles.
4 |
5 | Your cards must be approved by Twitter to be activated
6 | - https://dev.twitter.com/docs/cards/validation/validator
7 |
8 | More information:
9 | - https://dev.twitter.com/docs/cards/types/summary-card
10 | {% endcomment %}
11 | {% comment %}
12 | Twitter user name of the site, based on theme settings
13 | {% endcomment %}
14 |
15 |
16 | {% unless settings.social_twitter_link == blank %}
17 |
18 | {% endunless %}
19 | {% if template contains 'index' %}
20 |
21 | {% if home_page_content_enabled %}
22 |
23 | {% else %}
24 |
25 | {% endif %}
26 | {% if hero_enabled %}
27 | {% for i in (1..6) %}
28 | {% capture slide %}slide_{{ i }}{% endcapture %}
29 | {% capture slide_img %}slide_{{ i }}_1024x1024.jpg{% endcapture %}
30 | {% if settings[slide] %}
31 |
32 | {% break %}
33 | {% endif %}
34 | {% endfor %}
35 | {% endif %}
36 | {% elsif template contains 'product' %}
37 |
38 |
39 |
40 |
41 |
42 |
43 | {% elsif template contains 'article' %}
44 |
45 |
46 | {% if article.image %}
47 |
48 | {% endif %}
49 | {% endif %}
50 |
--------------------------------------------------------------------------------
/assets/slick.css:
--------------------------------------------------------------------------------
1 | /* Slider */
2 | .slick-slider
3 | {
4 | position: relative;
5 |
6 | display: block;
7 | box-sizing: border-box;
8 |
9 | -webkit-user-select: none;
10 | -moz-user-select: none;
11 | -ms-user-select: none;
12 | user-select: none;
13 |
14 | -webkit-touch-callout: none;
15 | -khtml-user-select: none;
16 | -ms-touch-action: pan-y;
17 | touch-action: pan-y;
18 | -webkit-tap-highlight-color: transparent;
19 | }
20 |
21 | .slick-list
22 | {
23 | position: relative;
24 |
25 | display: block;
26 | overflow: hidden;
27 |
28 | margin: 0;
29 | padding: 0;
30 | }
31 | .slick-list:focus
32 | {
33 | outline: none;
34 | }
35 | .slick-list.dragging
36 | {
37 | cursor: pointer;
38 | cursor: hand;
39 | }
40 |
41 | .slick-slider .slick-track,
42 | .slick-slider .slick-list
43 | {
44 | -webkit-transform: translate3d(0, 0, 0);
45 | -moz-transform: translate3d(0, 0, 0);
46 | -ms-transform: translate3d(0, 0, 0);
47 | -o-transform: translate3d(0, 0, 0);
48 | transform: translate3d(0, 0, 0);
49 | }
50 |
51 | .slick-track
52 | {
53 | position: relative;
54 | top: 0;
55 | left: 0;
56 |
57 | display: block;
58 | margin-left: auto;
59 | margin-right: auto;
60 | }
61 | .slick-track:before,
62 | .slick-track:after
63 | {
64 | display: table;
65 |
66 | content: '';
67 | }
68 | .slick-track:after
69 | {
70 | clear: both;
71 | }
72 | .slick-loading .slick-track
73 | {
74 | visibility: hidden;
75 | }
76 |
77 | .slick-slide
78 | {
79 | display: none;
80 | float: left;
81 |
82 | height: 100%;
83 | min-height: 1px;
84 | }
85 | [dir='rtl'] .slick-slide
86 | {
87 | float: right;
88 | }
89 | .slick-slide img
90 | {
91 | display: block;
92 | }
93 | .slick-slide.slick-loading img
94 | {
95 | display: none;
96 | }
97 | .slick-slide.dragging img
98 | {
99 | pointer-events: none;
100 | }
101 | .slick-initialized .slick-slide
102 | {
103 | display: block;
104 | }
105 | .slick-loading .slick-slide
106 | {
107 | visibility: hidden;
108 | }
109 | .slick-vertical .slick-slide
110 | {
111 | display: block;
112 |
113 | height: auto;
114 |
115 | border: 1px solid transparent;
116 | }
117 | .slick-arrow.slick-hidden {
118 | display: none;
119 | }
120 |
--------------------------------------------------------------------------------
/snippets/breadcrumb.liquid:
--------------------------------------------------------------------------------
1 | {% include 'advanced-tag-loop' %}
2 |
3 | {% unless template == 'index' %} {% comment %} or template == 'cart' {% endcomment %}
4 |
5 |
6 |
7 |
8 | {{ 'general.breadcrumbs.home' | t }}
9 |
10 | {% if template contains 'product' %}
11 |
12 | {% if collection %}
13 | {% if collection.handle %}
14 | {% capture url %}/collections/{{ collection.handle }}{% endcapture %}
15 | {{ collection.title | link_to: url }}
16 | {% endif %}
17 | {% endif %}
18 |
{{ product.title }}
19 |
20 | {% elsif template contains 'collection' and collection.handle %}
21 |
22 | {% if current_tags %}
23 |
24 | {% capture url %}/collections/{{ collection.handle }}{% endcapture %}
25 | {{ collection.title | link_to: url }}
26 |
27 |
28 | {% for tag in current_tags %}
29 |
30 | {% assign is_advanced_tag = false %}
31 | {% assign cat = tag | split: '_' | first %}
32 | {% unless cat == tag %}
33 | {% if cat_array contains cat %}
34 | {% assign is_advanced_tag = true %}
35 | {{ tag | remove_first: cat | remove_first: '_' }}
36 | {% endif %}
37 | {% endunless %}
38 |
39 | {% if is_advanced_tag == false %}
40 | {{ tag }}
41 | {% endif %}
42 |
43 | {% unless forloop.last %}
44 | {% endunless %}
45 |
46 | {% endfor %}
47 |
48 | {% else %}
49 |
50 |
{{ collection.title }}
51 | {% endif %}
52 |
53 | {% elsif template == 'blog' %}
54 |
55 | {% if current_tags %}
56 | {{ 'reaching' }}
57 | {{ blog.title | link_to: blog.url }}
58 |
>
59 |
{{ current_tags | join: " + " }}
60 | {% else %}
61 |
{{ blog.title }}
62 | {% endif %}
63 |
64 | {% elsif template == 'article' %}
65 |
{{ blog.title }}
66 |
67 |
{{ article.title }}
68 |
69 | {% elsif template contains 'page' %}
70 |
71 |
{{ page.title }}
72 |
73 | {% else %}
74 |
75 |
{{ page_title }}
76 | {% endif %}
77 |
78 |
79 | {% endunless %}
80 |
--------------------------------------------------------------------------------
/snippets/product-grid-item.liquid:
--------------------------------------------------------------------------------
1 | {% unless current_collection %}
2 | {% assign current_collection = collection %}
3 | {% endunless %}
4 |
5 | {% assign on_sale = false %}
6 | {% if product.compare_at_price > product.price %}
7 | {% assign on_sale = true %}
8 | {% endif %}
9 |
10 | {% assign sold_out = true %}
11 | {% if product.available %}
12 | {% assign sold_out = false %}
13 | {% endif %}
14 | {% assign img_size = settings.img_size_grid %}
15 |
16 |
17 | {% assign product_created_at = product.created_at | date: '%s' %}
18 | {% assign time_ago = 'now' | date: '%s' | minus: product_created_at | divided_by: 86400 %}
19 | {% assign product_new_time = settings.product_new_time | times: 1 %}
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
29 |
30 |
31 |
32 |
33 | {{ 'products.product.add_to_cart' | t }}
34 |
35 |
36 |
37 |
38 |
39 |
40 | {{ product.title }}
41 |
42 | {% if product.compare_at_price > product.price %}
43 |
44 | {{ product.compare_at_price_max | money }}
45 |
46 |
47 | {{ product.price | money }}
48 |
49 | {% else %}
50 |
51 | {{ product.price | money }}
52 |
53 | {% endif %}
54 |
55 |
56 |
--------------------------------------------------------------------------------
/snippets/footer-1.liquid:
--------------------------------------------------------------------------------
1 |
2 |
62 |
--------------------------------------------------------------------------------
/assets/lightbox.min.css:
--------------------------------------------------------------------------------
1 | .lb-loader,.lightbox{text-align:center;line-height:0}body:after{content:url(close.png) url(loading.gif) url(prev.png) url(next.png);display:none}.lb-dataContainer:after,.lb-outerContainer:after{content:"";clear:both}body.lb-disable-scrolling{overflow:hidden}.lightboxOverlay{position:absolute;top:0;left:0;z-index:9999;background-color:#000;filter:alpha(Opacity=80);opacity:.8;display:none}.lightbox{position:absolute;left:0;width:100%;z-index:10000;font-weight:400}.lightbox .lb-image{display:block;height:auto;max-width:inherit;max-height:none;border-radius:3px;border:4px solid #fff}.lightbox a img{border:none}.lb-outerContainer{position:relative;width:250px;height:250px;margin:0 auto;border-radius:4px;background-color:#fff}.lb-loader,.lb-nav{position:absolute;left:0}.lb-outerContainer:after{display:table}.lb-loader{top:43%;height:25%;width:100%}.lb-cancel{display:block;width:32px;height:32px;margin:0 auto;background:url(loading.gif) no-repeat}.lb-nav{top:0;height:100%;width:100%;z-index:10}.lb-container>.nav{left:0}.lb-nav a{outline:0;background-image:url(data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==)}.lb-next,.lb-prev{height:100%;cursor:pointer;display:block}.lb-nav a.lb-prev{width:34%;left:0;float:left;background:url(prev.png) left 48% no-repeat;filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-prev:hover{filter:alpha(Opacity=100);opacity:1}.lb-nav a.lb-next{width:64%;right:0;float:right;background:url(next.png) right 48% no-repeat;filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}.lb-nav a.lb-next:hover{filter:alpha(Opacity=100);opacity:1}.lb-dataContainer{margin:0 auto;padding-top:5px;width:100%;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px}.lb-dataContainer:after{display:table}.lb-data{padding:0 4px;color:#ccc}.lb-data .lb-details{width:85%;float:left;text-align:left;line-height:1.1em}.lb-data .lb-caption{font-size:13px;font-weight:700;line-height:1em}.lb-data .lb-caption a{color:#4ae}.lb-data .lb-number{display:block;clear:left;padding-bottom:1em;font-size:12px;color:#999}.lb-data .lb-close{display:block;float:right;width:30px;height:30px;background:url(close.png) top right no-repeat;text-align:right;outline:0;filter:alpha(Opacity=70);opacity:.7;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.lb-data .lb-close:hover{cursor:pointer;filter:alpha(Opacity=100);opacity:1}
--------------------------------------------------------------------------------
/sections/footer.liquid:
--------------------------------------------------------------------------------
1 |
2 | {% include section.settings.footer_layout %}
3 |
4 | {% schema %}
5 | {
6 | "name": "Footer",
7 | "class": "section-footer",
8 | "settings": [
9 | {
10 | "type": "select",
11 | "id": "footer_layout",
12 | "label": "Select header layout",
13 | "options": [
14 | {
15 | "value": "footer-1",
16 | "label": "Design 1"
17 | }
18 | ]
19 | },
20 | {
21 | "type": "header",
22 | "content": "Contact information"
23 | },
24 | {
25 | "type": "checkbox",
26 | "id": "footer_content_enable",
27 | "label": "Show footer contact info"
28 | },
29 | {
30 | "type": "textarea",
31 | "id": "footer_about_us",
32 | "label": "Contact About Us"
33 | },
34 | {
35 | "type": "checkbox",
36 | "id": "footer_social_enable",
37 | "label": "Show social media icons",
38 | "info": "Add accounts in Social media section"
39 | },
40 | {
41 | "type": "header",
42 | "content": "Footer Menu Widgets"
43 | },
44 | {
45 | "type": "link_list",
46 | "id": "footer_menu_1",
47 | "label": "Menu 1"
48 | },
49 | {
50 | "type": "link_list",
51 | "id": "footer_menu_2",
52 | "label": "Menu 2"
53 | },
54 | {
55 | "type": "link_list",
56 | "id": "footer_menu_3",
57 | "label": "Menu 3"
58 | },
59 | {
60 | "type": "header",
61 | "content": "Newsletter"
62 | },
63 | {
64 | "type": "checkbox",
65 | "id": "footer_newsletter_enable",
66 | "label": "Show newsletter sign-up"
67 | },
68 | {
69 | "type": "text",
70 | "id": "mailing_list_form_action",
71 | "label": "MailChimp form action URL",
72 | "info": "[Find your MailChimp form action URL](https://docs.shopify.com/manual/configuration/store-customization/communicating-with-customers/accounts-and-newsletters/get-a-mailchimp-form-action-url/)."
73 | },
74 | {
75 | "type": "text",
76 | "id": "heading",
77 | "label": "Heading",
78 | "default": "Sign up for our Newsletter!"
79 | },
80 | {
81 | "type": "header",
82 | "content": "Bottom Footer"
83 | },
84 | {
85 | "type": "textarea",
86 | "id": "footer_content_text",
87 | "label": "Contact text",
88 | "info": "Use basic HTML to format text"
89 | }
90 | ]
91 | }
92 |
93 | {% endschema %}
94 |
95 |
--------------------------------------------------------------------------------
/snippets/newsletter-form-popup.liquid:
--------------------------------------------------------------------------------
1 | {% comment %}
2 |
3 | MailChimp is the go-to newsletter service for Shopify.
4 | Use the link below to find your MailChimp "form action"
5 | and insert it in your site settings.
6 | If the form action URL is not set in the theme settings,
7 | it will fallback to a customer form so you can still capture the email.
8 | MailChimp newsletter integration and requirement:
9 | - http://docs.shopify.com/support/configuration/store-customization/where-do-i-get-my-mailchimp-form-action
10 | {% endcomment %}
11 | {% if settings.mailing_list_form_action != blank %}
12 |
20 | {% else %}
21 | {% form 'customer' %}
22 | {% if form.errors %}
23 |
{{ form.errors | default_errors }}
24 | x
25 |
26 | {% endif %}
27 | {% if form.posted_successfully? %}
28 |
{{ 'layout.footer.newsletter_confirmation' | t }}.
29 | x
30 |
31 | {% else %}
32 |
33 |
34 |
35 |
36 |
37 | {{ settings.popup_btn_text }}
38 |
39 | {% endif %}
40 | {% endform %}
41 | {% endif %}
--------------------------------------------------------------------------------
/templates/page.contact.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ page_title }}
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | {% if settings.show_map %}
15 | {{ settings.map_code }}
16 | {% endif %}
17 |
18 |
19 |
20 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/assets/owl.carousel.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Owl Carousel v2.2.1
3 | * Copyright 2013-2017 David Deutsch
4 | * Licensed under ()
5 | */
6 | .owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}
--------------------------------------------------------------------------------
/templates/blog.liquid:
--------------------------------------------------------------------------------
1 | {% paginate blog.articles by settings.no_articles %}
2 |
3 |
4 |
5 | {{ page_title }}
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | {% for article in blog.articles %}
15 |
16 |
17 | {% if article.image %}
18 |
19 |
20 |
21 | {{ article.published_at | date: "%d %b, %Y" }}
22 |
23 |
24 | {% endif %}
25 |
26 |
31 |
32 |
33 | {{ 'blogs.article.by' | t }} {{ article.author }}
34 | |
35 |
36 |
37 | {% include 'tags-article' %}
38 | |
39 |
40 |
41 | {{ article.comments_count }} {{ 'blogs.article.comments' | t }}
42 |
43 |
44 |
45 | {% if article.excerpt.size > 0 %}
46 | {{ article.excerpt | truncatewords: 20 }}
47 | {% else %}
48 | {{ article.content | strip_html | truncatewords: 20 }}
49 | {% endif %}
50 |
51 |
52 | {{ 'blogs.article.readmore' | t }}
53 |
54 |
55 |
56 |
57 | {% endfor %}
58 |
59 | {% if paginate.pages > 1 %}
60 | {% include 'pagination' %}
61 | {% endif %}
62 |
63 | {% include 'blog-sidebar' %}
64 |
65 |
66 |
67 | {% endpaginate %}
68 |
--------------------------------------------------------------------------------
/snippets/header-ver-nav.liquid:
--------------------------------------------------------------------------------
1 |
66 |
--------------------------------------------------------------------------------
/snippets/newsletter-form.liquid:
--------------------------------------------------------------------------------
1 | {% comment %}
2 | MailChimp is the go-to newsletter service for Shopify.
3 | Use the link below to find your MailChimp "form action"
4 | and insert it in your site settings.
5 | If the form action URL is not set in the theme settings,
6 | it will fallback to a customer form so you can still capture the email.
7 | MailChimp newsletter integration and requirement:
8 | - http://docs.shopify.com/support/configuration/store-customization/where-do-i-get-my-mailchimp-form-action
9 | {% endcomment %}
10 | {% if section.settings.mailing_list_form_action != blank %}
11 |
26 | {% else %}
27 |
28 | {% form 'customer' %}
29 | {% if form.errors %}
30 |
{{ form.errors | default_errors }}
31 | x
32 |
33 | {% endif %}
34 | {% if form.posted_successfully? %}
35 |
{{ 'layout.footer.newsletter_confirmation' | t }}.
36 | x
37 |
38 | {% else %}
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | {{ section.settings.heading }}
48 |
49 |
50 | {% endif %}
51 | {% endform %}
52 |
53 | {% endif %}
--------------------------------------------------------------------------------
/snippets/social-button-header.liquid:
--------------------------------------------------------------------------------
1 | {% if section.settings.show_social_links %}
2 | {% if settings.social_facebook_link != blank %}
3 |
4 |
5 | {% endif %}
6 | {% if settings.social_twitter_link != blank %}
7 |
9 | {% endif %}
10 | {% if settings.social_pinterest_link != blank %}
11 |
12 |
13 | {% endif %}
14 | {% if settings.social_google_plus_link != blank %}
15 |
16 |
17 | {% endif %}
18 | {% if settings.social_instagram_link != blank %}
19 |
20 |
21 | {% endif %}
22 | {% if settings.social_tumblr_link != blank %}
23 |
24 |
25 | {% endif %}
26 | {% if settings.social_youtube_link != blank %}
27 |
28 |
29 | {% endif %}
30 | {% if settings.social_vimeo_link != blank %}
31 |
32 |
33 | {% endif %}
34 | {% if settings.social_fancy_link != blank %}
35 |
36 |
37 | {% endif %}
38 | {% endif %}
39 |
--------------------------------------------------------------------------------
/templates/customers/register.liquid:
--------------------------------------------------------------------------------
1 | {% include 'breadcrumb' %}
2 |
3 |
4 |
5 |
{{ page_title }}
6 | {% form 'create_customer' %}
7 |
49 | {% endform %}
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/snippets/social-button.liquid:
--------------------------------------------------------------------------------
1 | {% if settings.social_facebook_link != blank %}
2 |
4 | {% endif %}
5 | {% if settings.social_twitter_link != blank %}
6 |
8 | {% endif %}
9 | {% if settings.social_pinterest_link != blank %}
10 |
12 | {% endif %}
13 | {% if settings.social_google_plus_link != blank %}
14 |
16 | {% endif %}
17 | {% if settings.social_instagram_link != blank %}
18 |
20 | {% endif %}
21 | {% if settings.social_tumblr_link != blank %}
22 |
24 | {% endif %}
25 | {% if settings.social_youtube_link != blank %}
26 |
28 | {% endif %}
29 | {% if settings.social_vimeo_link != blank %}
30 |
32 | {% endif %}
33 | {% if settings.social_fancy_link != blank %}
34 |
36 | {% endif %}
--------------------------------------------------------------------------------
/snippets/currencies.liquid:
--------------------------------------------------------------------------------
1 | {% if settings.show_multiple_currencies %}
2 |
3 | {{ "//cdn.shopify.com/s/javascripts/currencies.js" | script_tag }}
4 | {{ "jquery.currencies.min.js" | asset_url | script_tag }}
5 |
6 |
67 |
68 | {% endif %}
--------------------------------------------------------------------------------
/templates/collection.all.liquid:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | {{ page_title }}
6 |
7 | {% if collection.description != blank %}
8 |
9 | {{ collection.description }}
10 |
11 | {% endif %}
12 |
13 |
14 |
15 |
16 |
17 |
18 | {% if settings.show_collection_sidebar != false %}
19 | {% include 'collection-sidebar' %}
20 | {% endif %}
21 |
22 |
23 |
24 | {% paginate collection.products by 999 %}
25 |
26 |
27 |
28 |
29 | {% include 'collection-sorting' %}
30 |
31 |
32 | {% include 'collection-show-count' %}
33 |
34 |
35 |
36 | {% assign current_first_item = paginate.current_offset | plus:1 %}
37 | {% if paginate.pages == paginate.current_page %}
38 | {% assign current_displayed = paginate.items | modulo:paginate.page_size %}
39 | {% assign current_last_item = paginate.items %}
40 | {% else %}
41 | {% assign current_displayed = paginate.page_size %}
42 | {% assign current_last_item = paginate.current_offset | plus:paginate.page_size %}
43 | {% endif %}
44 | {{ 'products.pagination.showing' | t }} {{ current_first_item }} {{ 'products.pagination.to' | t }} {% unless current_first_item == current_last_item %}{{ current_last_item }}{% endunless %} {{ 'products.pagination.of' | t }} {{ paginate.items }} {{ 'products.pagination.items' | t }}
45 |
46 |
47 |
48 |
49 | {% for product in collection.products %}
50 | {% if settings.show_collection_sidebar != false %}
51 |
52 | {% include 'product-grid-item' %}
53 |
54 | {% else %}
55 |
56 | {% include 'product-grid-item' %}
57 |
58 | {% endif %}
59 | {% else %}
60 |
61 |
{{ 'collections.general.no_matches' | t }}
62 |
63 | {% endfor %}
64 |
65 | {% include 'pagination' %}
66 | {% endpaginate %}
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/templates/collection.10.liquid:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | {{ page_title }}
6 |
7 | {% if collection.description != blank %}
8 |
9 | {{ collection.description }}
10 |
11 | {% endif %}
12 |
13 |
14 |
15 |
16 |
17 |
18 | {% if settings.show_collection_sidebar != false %}
19 | {% include 'collection-sidebar' %}
20 | {% endif %}
21 |
22 |
23 |
24 | {% paginate collection.products by 10 %}
25 |
26 |
27 |
28 |
29 | {% include 'collection-sorting' %}
30 |
31 |
32 | {% include 'collection-show-count' %}
33 |
34 |
35 |
36 | {% assign current_first_item = paginate.current_offset | plus:1 %}
37 | {% if paginate.pages == paginate.current_page %}
38 | {% assign current_displayed = paginate.items | modulo:paginate.page_size %}
39 | {% assign current_last_item = paginate.items %}
40 | {% else %}
41 | {% assign current_displayed = paginate.page_size %}
42 | {% assign current_last_item = paginate.current_offset | plus:paginate.page_size %}
43 | {% endif %}
44 | {{ 'products.pagination.showing' | t }} {{ current_first_item }} {{ 'products.pagination.to' | t }} {% unless current_first_item == current_last_item %}{{ current_last_item }}{% endunless %} {{ 'products.pagination.of' | t }} {{ paginate.items }} {{ 'products.pagination.items' | t }}
45 |
46 |
47 |
48 |
49 | {% for product in collection.products %}
50 | {% if settings.show_collection_sidebar != false %}
51 |
52 | {% include 'product-grid-item' %}
53 |
54 | {% else %}
55 |
56 | {% include 'product-grid-item' %}
57 |
58 | {% endif %}
59 | {% else %}
60 |
61 |
{{ 'collections.general.no_matches' | t }}
62 |
63 | {% endfor %}
64 |
65 | {% include 'pagination' %}
66 | {% endpaginate %}
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/templates/collection.20.liquid:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | {{ page_title }}
6 |
7 | {% if collection.description != blank %}
8 |
9 | {{ collection.description }}
10 |
11 | {% endif %}
12 |
13 |
14 |
15 |
16 |
17 |
18 | {% if settings.show_collection_sidebar != false %}
19 | {% include 'collection-sidebar' %}
20 | {% endif %}
21 |
22 |
23 |
24 | {% paginate collection.products by 20 %}
25 |
26 |
27 |
28 |
29 | {% include 'collection-sorting' %}
30 |
31 |
32 | {% include 'collection-show-count' %}
33 |
34 |
35 |
36 | {% assign current_first_item = paginate.current_offset | plus:1 %}
37 | {% if paginate.pages == paginate.current_page %}
38 | {% assign current_displayed = paginate.items | modulo:paginate.page_size %}
39 | {% assign current_last_item = paginate.items %}
40 | {% else %}
41 | {% assign current_displayed = paginate.page_size %}
42 | {% assign current_last_item = paginate.current_offset | plus:paginate.page_size %}
43 | {% endif %}
44 | {{ 'products.pagination.showing' | t }} {{ current_first_item }} {{ 'products.pagination.to' | t }} {% unless current_first_item == current_last_item %}{{ current_last_item }}{% endunless %} {{ 'products.pagination.of' | t }} {{ paginate.items }} {{ 'products.pagination.items' | t }}
45 |
46 |
47 |
48 |
49 | {% for product in collection.products %}
50 | {% if settings.show_collection_sidebar != false %}
51 |
52 | {% include 'product-grid-item' %}
53 |
54 | {% else %}
55 |
56 | {% include 'product-grid-item' %}
57 |
58 | {% endif %}
59 | {% else %}
60 |
61 |
{{ 'collections.general.no_matches' | t }}
62 |
63 | {% endfor %}
64 |
65 | {% include 'pagination' %}
66 | {% endpaginate %}
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/templates/collection.30.liquid:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | {{ page_title }}
6 |
7 | {% if collection.description != blank %}
8 |
9 | {{ collection.description }}
10 |
11 | {% endif %}
12 |
13 |
14 |
15 |
16 |
17 |
18 | {% if settings.show_collection_sidebar != false %}
19 | {% include 'collection-sidebar' %}
20 | {% endif %}
21 |
22 |
23 |
24 | {% paginate collection.products by 30 %}
25 |
26 |
27 |
28 |
29 | {% include 'collection-sorting' %}
30 |
31 |
32 | {% include 'collection-show-count' %}
33 |
34 |
35 |
36 | {% assign current_first_item = paginate.current_offset | plus:1 %}
37 | {% if paginate.pages == paginate.current_page %}
38 | {% assign current_displayed = paginate.items | modulo:paginate.page_size %}
39 | {% assign current_last_item = paginate.items %}
40 | {% else %}
41 | {% assign current_displayed = paginate.page_size %}
42 | {% assign current_last_item = paginate.current_offset | plus:paginate.page_size %}
43 | {% endif %}
44 | {{ 'products.pagination.showing' | t }} {{ current_first_item }} {{ 'products.pagination.to' | t }} {% unless current_first_item == current_last_item %}{{ current_last_item }}{% endunless %} {{ 'products.pagination.of' | t }} {{ paginate.items }} {{ 'products.pagination.items' | t }}
45 |
46 |
47 |
48 |
49 | {% for product in collection.products %}
50 | {% if settings.show_collection_sidebar != false %}
51 |
52 | {% include 'product-grid-item' %}
53 |
54 | {% else %}
55 |
56 | {% include 'product-grid-item' %}
57 |
58 | {% endif %}
59 | {% else %}
60 |
61 |
{{ 'collections.general.no_matches' | t }}
62 |
63 | {% endfor %}
64 |
65 | {% include 'pagination' %}
66 | {% endpaginate %}
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/templates/collection.liquid:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | {{ page_title }}
6 |
7 | {% if collection.description != blank %}
8 |
9 | {{ collection.description }}
10 |
11 | {% endif %}
12 |
13 |
14 |
15 |
16 |
17 |
18 | {% if settings.show_collection_sidebar != false %}
19 | {% include 'collection-sidebar' %}
20 | {% endif %}
21 |
22 |
23 |
24 | {% paginate collection.products by settings.product_count_per_page %}
25 |
26 |
27 |
28 |
29 | {% include 'collection-sorting' %}
30 |
31 |
32 | {% include 'collection-show-count' %}
33 |
34 |
35 |
36 | {% assign current_first_item = paginate.current_offset | plus:1 %}
37 | {% if paginate.pages == paginate.current_page %}
38 | {% assign current_displayed = paginate.items | modulo:paginate.page_size %}
39 | {% assign current_last_item = paginate.items %}
40 | {% else %}
41 | {% assign current_displayed = paginate.page_size %}
42 | {% assign current_last_item = paginate.current_offset | plus:paginate.page_size %}
43 | {% endif %}
44 | {{ 'products.pagination.showing' | t }} {{ current_first_item }} {{ 'products.pagination.to' | t }} {% unless current_first_item == current_last_item %}{{ current_last_item }}{% endunless %} {{ 'products.pagination.of' | t }} {{ paginate.items }} {{ 'products.pagination.items' | t }}
45 |
46 |
47 |
48 |
49 | {% for product in collection.products %}
50 | {% if settings.show_collection_sidebar != false %}
51 |
52 | {% include 'product-grid-item' %}
53 |
54 | {% else %}
55 |
56 | {% include 'product-grid-item' %}
57 |
58 | {% endif %}
59 | {% else %}
60 |
61 |
{{ 'collections.general.no_matches' | t }}
62 |
63 | {% endfor %}
64 |
65 | {% include 'pagination' %}
66 | {% endpaginate %}
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/sections/header.liquid:
--------------------------------------------------------------------------------
1 |
2 | {% include section.settings.header_layout %}
3 |
4 |
42 | {% schema %}
43 | {
44 | "name": "Header",
45 | "settings": [
46 | {
47 | "type": "select",
48 | "id": "header_layout",
49 | "label": "Select header layout",
50 | "options": [
51 | {
52 | "value": "header-1",
53 | "label": "Design 1"
54 | },
55 | {
56 | "value": "header-2",
57 | "label": "Design 2"
58 | },
59 | {
60 | "value": "header-3",
61 | "label": "Design 3"
62 | }
63 | ]
64 | },
65 | {
66 | "type": "header",
67 | "content": "Top Bar"
68 | },
69 | {
70 | "type": "checkbox",
71 | "id": "use_top_bar",
72 | "label": "Use Top Bar"
73 | },
74 | {
75 | "type": "text",
76 | "id": "top_bar_message",
77 | "label": "Top Bar Message"
78 | },
79 | {
80 | "type": "checkbox",
81 | "id": "show_email",
82 | "label": "Show email text"
83 | },
84 | {
85 | "type": "checkbox",
86 | "id": "show_social_links",
87 | "label": "Show social media icons",
88 | "info": "Add accounts in Social media section"
89 | },
90 | {
91 | "type": "text",
92 | "id": "header_email_text",
93 | "label": "Email Text"
94 | },
95 | {
96 | "type": "header",
97 | "content": "Logo"
98 | },
99 | {
100 | "type": "checkbox",
101 | "id": "logo_use_image",
102 | "label": "Use a custom logo"
103 | },
104 | {
105 | "type": "image_picker",
106 | "id": "logo",
107 | "label": "logo",
108 | "info": "400px wide .png recommended"
109 | },
110 | {
111 | "type": "link_list",
112 | "id": "header_menu_1",
113 | "label": "Header Navigational Menu To Use"
114 | }
115 | ]
116 |
117 | }
118 | {% endschema %}
--------------------------------------------------------------------------------
/sections/videobox.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {% if section.settings.heading != blank %}
6 |
7 | {{ section.settings.heading }}
8 |
9 | {% endif %}
10 | {% if section.settings.heading2 != blank %}
11 |
12 | {{ section.settings.heading2 }}
13 |
14 | {% endif %}
15 |
16 |
17 | Play Video
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
×
26 |
27 |
28 |
29 | {% if section.settings.video_type == 'youtube' %}
30 | VIDEO
31 | {% elsif section.settings.video_type == 'vimeo' %}
32 |
33 | {% endif %}
34 |
35 |
36 |
37 |
38 | {% schema %}
39 | {
40 | "name": "Video Box Section",
41 | "settings": [
42 | {
43 | "type": "image_picker",
44 | "id": "image",
45 | "label": "Image",
46 | "info": "1920 x 650px recommended for preload image"
47 | },
48 | {
49 | "type": "text",
50 | "id": "heading",
51 | "label": "Heading"
52 | },
53 | {
54 | "type": "text",
55 | "id": "heading2",
56 | "label": "Heading 2"
57 | },
58 | {
59 | "type": "select",
60 | "id": "video_type",
61 | "label": "Select video type",
62 | "options": [
63 | {
64 | "value": "youtube",
65 | "label": "Youtube"
66 | },
67 | {
68 | "value": "vimeo",
69 | "label": "Vimeo"
70 | }
71 | ],
72 | "default": "youtube"
73 | },
74 | {
75 | "type": "text",
76 | "id": "video_src",
77 | "label": "Video Src",
78 | "default": "bLwl0gRbyrk",
79 | "info": "Add src id for youtube/vimeo and full link for video file"
80 | }
81 | ],
82 | "presets": [
83 | {
84 | "name": "VideoBox",
85 | "category": "Image"
86 | }
87 | ]
88 | }
89 | {% endschema %}
90 |
--------------------------------------------------------------------------------
/snippets/open-graph-tags.liquid:
--------------------------------------------------------------------------------
1 | {% comment %}
2 | Open Graph tags.
3 | {% endcomment %}
4 | {% if template contains 'index' %}
5 |
6 |
7 |
8 | {% if home_page_content_enabled %}
9 |
10 | {% else %}
11 | {% if page_description %}
12 |
13 | {% endif %}
14 | {% endif %}
15 | {% if hero_enabled %}
16 | {% for i in (1..6) %}
17 | {% capture slide %}slide_{{ i }}{% endcapture %}
18 | {% capture slide_img %}slide_{{ i }}_1024x1024.jpg{% endcapture %}
19 | {% if settings[slide] %}
20 |
21 |
22 | {% endif %}
23 | {% endfor %}
24 | {% endif %}
25 | {% elsif template contains 'product' %}
26 |
27 |
28 |
29 | {% for image in product.images limit:3 %}
30 |
31 |
32 | {% endfor %}
33 |
34 |
35 | {% elsif template == 'password' %}
36 |
37 |
38 |
39 | {% if settings.logo_use_image %}
40 |
41 |
42 | {% endif %}
43 | {% elsif template contains 'article' %}
44 |
45 |
46 |
47 | {% if article.image %}
48 |
49 |
50 | {% endif %}
51 | {% else %}
52 |
53 |
54 |
55 | {% if settings.logo_use_image %}
56 |
57 |
58 | {% endif %}
59 | {% endif %}
60 | {% unless template contains 'index' %}
61 | {% if page_description %}
62 |
63 | {% endif %}
64 | {% endunless %}
65 |
66 |
67 |
--------------------------------------------------------------------------------
/snippets/mega-menu.liquid:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/snippets/quickview.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
Sleeve High Neck Bodycon Dress
23 |
26 |
{{ 'products.product.see_all_features' | t }}
27 |
36 |
37 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fringilla augue nec est tristique auctor. Donec non est at libero.
38 |
39 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/assets/jquery.cookie.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * jQuery Cookie Plugin v1.4.1
3 | * https://github.com/carhartl/jquery-cookie
4 | *
5 | * Copyright 2006, 2014 Klaus Hartl
6 | * Released under the MIT license
7 | */
8 | (function (factory) {
9 | if (typeof define === 'function' && define.amd) {
10 | // AMD (Register as an anonymous module)
11 | define(['jquery'], factory);
12 | } else if (typeof exports === 'object') {
13 | // Node/CommonJS
14 | module.exports = factory(require('jquery'));
15 | } else {
16 | // Browser globals
17 | factory(jQuery);
18 | }
19 | }(function ($) {
20 |
21 | var pluses = /\+/g;
22 |
23 | function encode(s) {
24 | return config.raw ? s : encodeURIComponent(s);
25 | }
26 |
27 | function decode(s) {
28 | return config.raw ? s : decodeURIComponent(s);
29 | }
30 |
31 | function stringifyCookieValue(value) {
32 | return encode(config.json ? JSON.stringify(value) : String(value));
33 | }
34 |
35 | function parseCookieValue(s) {
36 | if (s.indexOf('"') === 0) {
37 | // This is a quoted cookie as according to RFC2068, unescape...
38 | s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
39 | }
40 |
41 | try {
42 | // Replace server-side written pluses with spaces.
43 | // If we can't decode the cookie, ignore it, it's unusable.
44 | // If we can't parse the cookie, ignore it, it's unusable.
45 | s = decodeURIComponent(s.replace(pluses, ' '));
46 | return config.json ? JSON.parse(s) : s;
47 | } catch(e) {}
48 | }
49 |
50 | function read(s, converter) {
51 | var value = config.raw ? s : parseCookieValue(s);
52 | return $.isFunction(converter) ? converter(value) : value;
53 | }
54 |
55 | var config = $.cookie = function (key, value, options) {
56 |
57 | // Write
58 |
59 | if (arguments.length > 1 && !$.isFunction(value)) {
60 | options = $.extend({}, config.defaults, options);
61 |
62 | if (typeof options.expires === 'number') {
63 | var days = options.expires, t = options.expires = new Date();
64 | t.setMilliseconds(t.getMilliseconds() + days * 864e+5);
65 | }
66 |
67 | return (document.cookie = [
68 | encode(key), '=', stringifyCookieValue(value),
69 | options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
70 | options.path ? '; path=' + options.path : '',
71 | options.domain ? '; domain=' + options.domain : '',
72 | options.secure ? '; secure' : ''
73 | ].join(''));
74 | }
75 |
76 | // Read
77 |
78 | var result = key ? undefined : {},
79 | // To prevent the for loop in the first place assign an empty array
80 | // in case there are no cookies at all. Also prevents odd result when
81 | // calling $.cookie().
82 | cookies = document.cookie ? document.cookie.split('; ') : [],
83 | i = 0,
84 | l = cookies.length;
85 |
86 | for (; i < l; i++) {
87 | var parts = cookies[i].split('='),
88 | name = decode(parts.shift()),
89 | cookie = parts.join('=');
90 |
91 | if (key === name) {
92 | // If second argument (value) is a function it's a converter...
93 | result = read(cookie, value);
94 | break;
95 | }
96 |
97 | // Prevent storing a cookie that we couldn't decode.
98 | if (!key && (cookie = read(cookie)) !== undefined) {
99 | result[name] = cookie;
100 | }
101 | }
102 |
103 | return result;
104 | };
105 |
106 | config.defaults = {};
107 |
108 | $.removeCookie = function (key, options) {
109 | // Must not alter options, thus extending a fresh object...
110 | $.cookie(key, '', $.extend({}, options, { expires: -1 }));
111 | return !$.cookie(key);
112 | };
113 |
114 | }));
--------------------------------------------------------------------------------
/snippets/collection-sorting.liquid:
--------------------------------------------------------------------------------
1 |
2 | {{ 'collections.sorting.featured' | t }}
3 | {{ 'collections.sorting.best_selling' | t }}
4 | {{ 'collections.sorting.az' | t }}
5 | {{ 'collections.sorting.za' | t }}
6 | {{ 'collections.sorting.price_ascending' | t }}
7 | {{ 'collections.sorting.price_descending' | t }}
8 | {{ 'collections.sorting.date_descending' | t }}
9 | {{ 'collections.sorting.date_ascending' | t }}
10 |
11 |
61 | {% comment %}
62 |
87 | {% endcomment %}
--------------------------------------------------------------------------------
/snippets/search-result-grid.liquid:
--------------------------------------------------------------------------------
1 | {% unless grid_item_width %}
2 | {% assign grid_item_width = 'large--one-third medium--one-half' %}
3 | {% endunless %}
4 |
5 | {% unless current_collection %}
6 | {% assign current_collection = collection %}
7 | {% endunless %}
8 |
9 | {% assign on_sale = false %}
10 | {% if item.compare_at_price > item.price %}
11 | {% assign on_sale = true %}
12 | {% endif %}
13 |
14 | {% assign sold_out = true %}
15 | {% if item.available %}
16 | {% assign sold_out = false %}
17 | {% endif %}
18 |
19 | {% assign image_size = settings.collection_prod_image_sizes %}
20 | {% if item.object_type == 'product' %}
21 | {% assign img_size = settings.img_size_grid %}
22 |
23 |
24 | {% assign product_created_at = item.created_at | date: '%s' %}
25 | {% assign time_ago = 'now' | date: '%s' | minus: product_created_at | divided_by: 86400 %}
26 | {% assign product_new_time = settings.product_new_time | times: 1 %}
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | {{ 'products.product.add_to_cart' | t }}
41 |
42 |
43 |
44 |
45 |
46 |
47 | {{ item.title }}
48 |
49 | {% if item.compare_at_price > item.price %}
50 |
51 | {{ item.compare_at_price_max | money }}
52 |
53 |
54 | {{ item.price | money }}
55 |
56 | {% else %}
57 |
58 | {{ item.price | money }}
59 |
60 | {% endif %}
61 |
62 |
63 | {% else %}
64 | {% assign img_tag = '<' | append: 'img' %}
65 | {% if item.content contains img_tag %}
66 | {% assign src = item.content | split: 'src="' %}
67 | {% assign src = src[1] | split: '"' | first %}
68 | {% if src %}
69 | {% assign image_src = src | replace: '_small.', '.' | replace: '_compact.', '.' | replace: '_medium.', '.' | replace: '_large.', '.' | replace: '_grande.', '.' %}
70 | {% endif %}
71 | {% endif %}
72 |
73 | {% unless image_src == blank %}
74 |
75 |
76 | {{ image_src | img_tag }}
77 |
78 |
79 | {% endunless %}
80 |
81 |
{{ item.title }}
82 |
83 |
84 | {% if item.excerpt.size > 0 %}
85 |
{{ item.excerpt | strip_html | truncatewords: 30 }}
86 | {% else %}
87 |
{{ item.content | strip_html | truncatewords: 30 }}
88 | {% endif %}
89 |
90 | {% endif %}
91 |
--------------------------------------------------------------------------------
/assets/quickview.js:
--------------------------------------------------------------------------------
1 | $(document).ready(function () {
2 | var quickview = $('.quickview');
3 |
4 | var main_image=$('#productModal .modal-body .product-images .main-image img'),
5 |
6 | main_href=$('#productModal .modal-body .product-images .main-image a'),
7 |
8 | other_image=$('#productModal .modal-body .product-images .other-image ul'),
9 |
10 | rating=$('#productModal .modal-body .product-desc .rating'),
11 |
12 | modal_title=$('#productModal .modal-body .product-info h1'),
13 |
14 | price=$('#productModal .modal-body .product-info .price-box .price'),
15 |
16 | modal_desc=$('#productModal .modal-body .product-info .quick-desc'),
17 |
18 | main_desc_href=$('#productModal .modal-body .product-info .see-all'),
19 |
20 | share=$('#productModal .modal-body .product-info .social-sharing'),
21 |
22 | btn_add=$('#productModal .modal-body .product-info .quick-add-to-cart .single_add_to_cart_button');
23 |
24 | field_add=$('#productModal .modal-body .product-info .quick-add-to-cart #id');
25 |
26 | btn_compare=$('#productModal .modal-body .product-info .button-group .btn-compare');
27 |
28 | btn_wishlist=$('#productModal .modal-body .product-info .button-group .btn-wishlist');
29 |
30 | $('body').on('click', '.quickview', function (){
31 | other_image.empty();
32 |
33 | rating.empty();
34 |
35 | price.empty();
36 |
37 | var product_info=$(this).data('productinfo');
38 | main_image.attr('src',product_info['images'][0]);
39 |
40 | main_href.attr('href','/products/'+product_info['handle']);
41 |
42 | main_desc_href.attr('href','/products/'+product_info['handle']);
43 |
44 | var arr_image=product_info['images'];
45 |
46 | for(var i=0;i
')
49 | }
50 |
51 | $('.other-image').click(function(){
52 | main_image.attr('src',$(this).attr('src'));
53 | });
54 |
55 | modal_title.html(product_info['title']);
56 |
57 | var desc = product_info['description'];
58 | var res = desc.trim();
59 | modal_desc.html(res.substring(0, 150));
60 | rating.append(' ');
61 |
62 | if(product_info['price']){
63 | if(product_info['compare_at_price']){
64 | if (typeof Currency !== 'undefined') {
65 | price.append(''+ Currency.moneyFormats[shopCurrency].money_format.substring(0,1) +product_info["price"]/100+' '+ Currency.moneyFormats[shopCurrency].money_format.substring(0,1) +product_info["compare_at_price"]/100+' ');
66 | } else {
67 | price.append('' + moneyFormat.replace("\{\{amount\}\}", "") +product_info["price"]/100+' '+ moneyFormat.replace("\{\{amount\}\}", "") + product_info["compare_at_price"]/100+' ');
68 | }
69 | }
70 | else{
71 | if (typeof Currency !== 'undefined') {
72 | price.append(''+ Currency.moneyFormats[shopCurrency].money_format.substring(0,1) +product_info["price"]/100+' ');
73 | } else {
74 | price.append(''+ moneyFormat.replace("\{\{amount\}\}", "") + product_info["price"]/100+' ');
75 | }
76 | }
77 | }
78 |
79 | $(field_add).val(product_info['variants'][0]['id']);
80 |
81 | btn_add.attr('href','/products/'+product_info['handle']);
82 | btn_compare.attr('onclick','compare.add('+product_info["product_id"]+')');
83 | btn_wishlist.attr('onclick','wishlish.add('+product_info["product_id"]+')');
84 |
85 | });
86 | });
--------------------------------------------------------------------------------
/assets/quickview.js.liquid:
--------------------------------------------------------------------------------
1 | $(document).ready(function () {
2 | var quickview = $('.quickview');
3 |
4 | var main_image=$('#productModal .modal-body .product-images .main-image img'),
5 |
6 | main_href=$('#productModal .modal-body .product-images .main-image a'),
7 |
8 | other_image=$('#productModal .modal-body .product-images .other-image ul'),
9 |
10 | rating=$('#productModal .modal-body .product-desc .rating'),
11 |
12 | modal_title=$('#productModal .modal-body .product-info h1'),
13 |
14 | price=$('#productModal .modal-body .product-info .price-box .price'),
15 |
16 | modal_desc=$('#productModal .modal-body .product-info .quick-desc'),
17 |
18 | main_desc_href=$('#productModal .modal-body .product-info .see-all'),
19 |
20 | share=$('#productModal .modal-body .product-info .social-sharing'),
21 |
22 | btn_add=$('#productModal .modal-body .product-info .quick-add-to-cart .single_add_to_cart_button');
23 |
24 | field_add=$('#productModal .modal-body .product-info .quick-add-to-cart #id');
25 |
26 | btn_compare=$('#productModal .modal-body .product-info .button-group .btn-compare');
27 |
28 | btn_wishlist=$('#productModal .modal-body .product-info .button-group .btn-wishlist');
29 |
30 | $('body').on('click', '.quickview', function (){
31 | other_image.empty();
32 |
33 | rating.empty();
34 |
35 | price.empty();
36 |
37 | var product_info=$(this).data('productinfo');
38 | main_image.attr('src',product_info['images'][0]);
39 |
40 | main_href.attr('href','/products/'+product_info['handle']);
41 |
42 | main_desc_href.attr('href','/products/'+product_info['handle']);
43 |
44 | var arr_image=product_info['images'];
45 |
46 | for(var i=0;i ')
49 | }
50 |
51 | $('.other-image').click(function(){
52 | main_image.attr('src',$(this).attr('src'));
53 | });
54 |
55 | modal_title.html(product_info['title']);
56 |
57 | var desc = product_info['description'];
58 | var res = desc.trim();
59 | modal_desc.html(res.substring(0, 150));
60 | rating.append(' ');
61 |
62 | if(product_info['price']){
63 | if(product_info['compare_at_price']){
64 | if (typeof Currency !== 'undefined') {
65 | price.append(''+ Currency.moneyFormats[shopCurrency].money_format.substring(0,1) +product_info["price"]/100+' '+ Currency.moneyFormats[shopCurrency].money_format.substring(0,1) +product_info["compare_at_price"]/100+' ');
66 | } else {
67 | price.append('' + moneyFormat.replace("\{\{amount\}\}", "") +product_info["price"]/100+' '+ moneyFormat.replace("\{\{amount\}\}", "") + product_info["compare_at_price"]/100+' ');
68 | }
69 | }
70 | else{
71 | if (typeof Currency !== 'undefined') {
72 | price.append(''+ Currency.moneyFormats[shopCurrency].money_format.substring(0,1) +product_info["price"]/100+' ');
73 | } else {
74 | price.append(''+ moneyFormat.replace("\{\{amount\}\}", "") + product_info["price"]/100+' ');
75 | }
76 | }
77 | }
78 |
79 | $(field_add).val(product_info['variants'][0]['id']);
80 |
81 | btn_add.attr('href','/products/'+product_info['handle']);
82 | btn_compare.attr('onclick','compare.add('+product_info["product_id"]+')');
83 | btn_wishlist.attr('onclick','wishlish.add('+product_info["product_id"]+')');
84 |
85 | });
86 | });
--------------------------------------------------------------------------------
/sections/instagram-feed.liquid:
--------------------------------------------------------------------------------
1 |
2 |
3 | {% include section.settings.layout %}
4 |
5 | {% if template == 'index' %}
6 |
58 |
59 |
68 | {% schema %}
69 | {
70 | "name": "Instafeed section",
71 | "class": "insta-section index-section--flush",
72 | "settings": [
73 | {
74 | "type": "select",
75 | "id": "layout",
76 | "label": "Select layout design",
77 | "options": [
78 | {
79 | "value": "instafeed",
80 | "label": "Design 1"
81 | }
82 | ],
83 | "default": "instafeed"
84 | },
85 | {
86 | "type": "checkbox",
87 | "id": "homepage_instagram_feed",
88 | "label": "Show Instagram feed",
89 | "default": true
90 | },
91 | {
92 | "type": "text",
93 | "id": "insta_title",
94 | "label": "Title",
95 | "default": "@ FOLLOW US ON INSTAGRAM"
96 | },
97 | {
98 | "type": "text",
99 | "id": "insta_access_token",
100 | "label": "Access Token",
101 | "default": "4032644233.1677ed0.c17607b4a50e46b1a13a7a7713af871f",
102 | "info": "Can be found from http:\/\/instagram.pixelunion.net"
103 | },
104 | {
105 | "type": "text",
106 | "id": "insta_images_fetch",
107 | "label": "No of images to fetch",
108 | "default": "10"
109 | },
110 | {
111 | "type": "text",
112 | "id": "no_of_products",
113 | "label": "No of products in a row",
114 | "default": "5"
115 | }
116 | ],
117 | "blocks": [
118 | ],
119 | "presets": [{
120 | "name": "Instagram Feed",
121 | "category": "Feature Sections"
122 | }]
123 | }
124 | {% endschema %}
125 |
--------------------------------------------------------------------------------
/snippets/swatch.liquid:
--------------------------------------------------------------------------------
1 | {% comment %}
2 | Set the extension of your color files below. Use 'png', 'jpeg', 'jpg' or 'gif'.
3 | {% endcomment %}
4 |
5 | {% assign file_extension = 'png' %}
6 |
7 | {% if swatch == blank %}
8 |
9 |
You must include the snippet swatch.liquid with the name of a product option.
10 |
Use: {% raw %}{% include 'swatch' with 'name of your product option here' %}{% endraw %}
11 |
Example: {% raw %}{% include 'swatch' with 'Color' %}{% endraw %}
12 |
13 | {% else %}
14 |
15 | {% assign found_option = false %}
16 | {% assign is_color = false %}
17 | {% assign option_index = 0 %}
18 |
19 | {% for option in product.options %}
20 | {% if option == swatch %}
21 | {% assign found_option = true %}
22 | {% assign option_index = forloop.index0 %}
23 |
28 |
29 | {% assign downcased_option = swatch | downcase %}
30 | {% if downcased_option contains 'color' or downcased_option contains 'colour' %}
31 | {% assign is_color = true %}
32 | {% endif %}
33 | {% endif %}
34 | {% endfor %}
35 |
36 | {% unless found_option %}
37 |
38 |
You included the snippet swatch.liquid with the name of a product option — '{{ swatch }}' — that does not belong to your product.
39 |
Use {% raw %}{% include 'swatch' with 'name of your product option here' %}{% endraw %}
40 |
Example: {% raw %}{% include 'swatch' with 'Color' %}{% endraw %}
41 |
This is case-sensitive! Do not put in 'color' if your product option name is 'Color'.
42 |
43 | {% else %}
44 |
45 |
46 | {% assign values = '' %}
47 | {% for variant in product.variants %}
48 | {% assign value = variant.options[option_index] %}
49 | {% unless values contains value %}
50 | {% assign values = values | join: ',' %}
51 | {% assign values = values | append: ',' | append: value %}
52 | {% assign values = values | split: ',' %}
53 |
54 | {% if is_color %}
55 |
{{ value }}
56 | {% endif %}
57 |
58 | {% if is_color %}
59 |
60 |
61 |
62 | {% else %}
63 |
64 | {{ value }}
65 |
66 |
67 | {% endif %}
68 |
69 | {% endunless %}
70 | {% if variant.available %}
71 |
74 | {% endif %}
75 | {% endfor %}
76 |
77 |
78 | {% endunless %}
79 |
80 | {% endif %}
81 |
--------------------------------------------------------------------------------
/snippets/shipping-calculator.liquid:
--------------------------------------------------------------------------------
1 | {% unless settings.shipping_calculator == 'Disabled' %}
2 | {{ 'cart.general.shipping_text' | t }}
3 |
4 | {{ country_option_tags }}
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | {{ settings.shipping_calculator_submit_button_label | default: 'Calculate shipping' }}
16 |
17 |
18 |
21 |
45 | {% endunless %}
46 |
47 |
66 |
67 |
--------------------------------------------------------------------------------