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
| {%- if product.available -%} | |
| <div x-data="{visible: false, sectionId: '{{ section.id }}', productId: '{{ product.handle }}', ...handleClick, ...showButton}"> | |
| <template x-teleport="body"> | |
| <div | |
| @theme:scroll.document="showButton" | |
| x-show.opacity="visible" | |
| class="buy-it-now-wrapper block left-0 bottom-0 fixed z-20 w-full p-r5"> | |
| <button | |
| @click="handleClick" | |
| class= "btn btn--primary btn--full uppercase btn--add-to-cart buy-it-now block">{{'products.product.add_to_cart' | t}}</button> |
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
| let ColorMatch = class ColorMatch { | |
| init() { | |
| ... | |
| const newColors = document.querySelector('[data-swatches-json]'); | |
| if (newColors && newColors.innerHTML !== '') { | |
| const colors = JSON.parse(newColors.innerHTML); | |
| return Promise.resolve(this.matchColors(colors, this.settings.color)); | |
| } |
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
| <link rel="apple-touch-icon" sizes="180x180" href="{{ settings.favicon | img_url: '180x180' }}" /> |
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
| {%- if cart.taxes_included -%} | |
| <p class="taxes-included-message" style="padding-bottom: 10px;"> | |
| {{ 'cart.general.shipping_at_checkout' | t }} | |
| </p> | |
| {%- endif -%} |
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
| <fieldset class="radio__fieldset" style="margin-bottom: 12px;"> | |
| <legend class="radio__legend" aria-label="{{ 'home_page.onboarding.color' | t }}"> | |
| <span class="radio__legend__label">{{ 'home_page.onboarding.color' | t }}</span> | |
| </legend> | |
| {% for color_item in product.metafields.shopify.color-pattern.value %} | |
| {% if color_item %} | |
| <radio-swatch class="swatch__button{% if settings.swatches_squares %} swatch__button--square{% endif %}"> | |
| <label {% if color_item.color != null %} data-swatch style="--swatch: {{ color_item.color }}"{% endif %}> | |
| {% if color_item.image %} | |
| {% render 'image', img_object: color_item.image.value, width: 34, wh_ratio: 1 %} |
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 requests | |
| from bs4 import BeautifulSoup, Tag | |
| import csv | |
| import re | |
| from urllib.parse import urljoin | |
| from typing import List, Dict, Optional | |
| # Configuration | |
| BASE_URL = "https://pipeline.groupthought.com/" | |
| HEADERS = { |
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
| /* CSS - change Add to Cart button color */ | |
| .product__form--buybutton .product__submit__add { | |
| background-color: var(--primary); | |
| border: 1px solid var(--primary); | |
| color: var(--primary-opposite); | |
| } | |
| .product__form--buybutton .product__submit__add:hover, | |
| .product__form--buybutton .product__submit__add:focus { | |
| background-color: var(--primary-hover); | |
| border: 1px solid var(--primary-hover); |
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-section-id="{{ section.id }}" |
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
| <!-- /snippets/product-siblings.liquid --> | |
| {%- liquid | |
| assign sibs_collection = collections[block.settings.siblings_collection].products | |
| assign cutline_default = block.settings.cutline | default: product.metafields.theme.cutline.value | |
| assign old_siblings_label = 'general.siblings.label' | t | default: 'Color' | |
| assign siblings_label = block.settings.cutline_label | default: old_siblings_label | |
| -%} | |
| {%- if sibs_collection.size > 1 -%} |
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
| var links = document.links; | |
| for (let i = 0, linksLength = links.length ; i < linksLength ; i++) { | |
| if (links[i].hostname !== window.location.hostname) { | |
| links[i].target = '_blank'; | |
| links[i].rel = 'noreferrer noopener'; | |
| } | |
| } |
NewerOlder