This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% assign photo_main_dimension = '800x800' %} | |
| {% assign photo_zoom_dimension = '1600x1600' %} | |
| {% assign photo_thumb_dimension = '700x700' %} | |
| {% assign swatch_src_identifier = 'swt--' %} {% comment %} Used to find swatch images attached at the product level. We don't want to display them in the gallery. {% endcomment %} | |
| {% comment %} | |
| This block of logic loops through all product images and checks if we have at least 1 with valid alt text for *each* color option. | |
| {% endcomment %} | |
| {% assign variant_gallery_possible = false %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% include 'banner-panel', | |
| id: { string } - optional | |
| content_alignment: { string } - optional | |
| vertical_padding: { number } - optional | |
| vertical_padding_mobile: { number } - optional | |
| content_max_width: { number } - optional | |
| background_image: { image } - optional | |
| background_vertical_alignment: { string } - optional - defaults to "center" | |
| background_image_medium: { image } - optional | |
| background_image_medium_vertical_alignment: { string } - optional - defaults to "center" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Palette Step 1 - each item is a different product. data-variant maps to `product.variants.first.id` | |
| .palette-choice[data-size="9/16"][data-price="44/64"] | |
| ... | |
| .palette-item[data-variant] | |
| // Shadow Item | |
| .shadow-item[data-variant][data-description][data-quantity] | |
| ::before - content: attr(data-quantity) | |
| img.shadow-item__image |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {%- comment %} | |
| Customer order history template. | |
| Requires: | |
| - page-sidebar.liquid | |
| - account-page-title.liquid | |
| - account.scss | |
| - page.scss | |
| - bootstrap.scss | |
| - customers-login.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function _defineProperty(e, t, i) { | |
| return t in e ? Object.defineProperty(e, t, { | |
| value: i, | |
| enumerable: !0, | |
| configurable: !0, | |
| writable: !0 | |
| }) : e[t] = i, e | |
| } | |
| function onYouTubeIframeAPIReady() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Alter this function with this last line | |
| var xsappinitfrontend = function(jQueryxsAppxsApp) { | |
| // Main function code... | |
| // ends with.. | |
| // jQueryxsApp('#cross-sell').append(settingsoutput); | |
| // Add the following line | |
| jQueryxsApp(window).trigger('xselldone'); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "id":1889068613730, | |
| "title":"Bike Shorts", | |
| "handle":"bike-shorts", | |
| "description":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan\u003eMaterial: 91% cotton 9% elastane\u003c\/span\u003e", | |
| "content":"\u003cmeta charset=\"utf-8\"\u003e\u003cspan\u003eMaterial: 91% cotton 9% elastane\u003c\/span\u003e", | |
| "vendor":"doubledaycartwright", | |
| "type":"", | |
| "tags":[ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "token":"f3984d3fcd789aceadb5174aca2f9fcb", | |
| "note":null, | |
| "attributes":{ | |
| }, | |
| "original_total_price":60000, | |
| "total_price":60000, | |
| "total_discount":0, | |
| "total_weight":0.0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import axios from 'axios'; | |
| export default class CartAPI { | |
| constructor() { | |
| } | |
| getCart() { | |
| return axios.get('/cart?view=json') | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data":{ | |
| "total_price":40000, | |
| "original_total_price":40000, | |
| "total_discount":0, | |
| "total_weight":0, | |
| "note":"ALL SALES FINAL NO RETURNS OR MODIFICATIONS", | |
| "item_count":4, | |
| "items":[ | |
| { |