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 text_rows = text | newline_to_br | split: '<br />' -%} | |
{%- for row in text_rows -%} | |
{{ row }} | |
{%- endfor -%} |
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
<div class="ruk_rating_snippet" data-sku="{{ product.handle }};{{ product.variants | map: 'sku' | join: ';' }};{{ product.variants | map: 'id' | join: ';' }}"></div> |
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
# ================================ Customizable Settings ================================ | |
# ================================================================ | |
# Disable Discount Code(s) For Products | |
# | |
# If any matching discount codes are used, and any matching items | |
# are in the cart, the discount code is rejected with the entered | |
# message. | |
# | |
# - 'discount_code_match_type' determines whether the below | |
# strings should be an exact or partial match. Can be: |
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
<div class="absolute-cover video-cover controlled-video autoplayLazyVideo"> | |
<video | |
{% if img != blank %} | |
poster="{{ img.src }}" | |
{% endif %} | |
playsinline | |
loop | |
muted> | |
<source | |
src="{{ video.src }}" |
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
.some-wrapper { | |
--column-number: 3; | |
display: grid; | |
gap: 24px 32px; /* vertical / horizontal*/ | |
grid-template-columns: repeat(var(--column-number), minmax(0, 1fr)); | |
} |
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
html { | |
scroll-padding-top: 80px; | |
} |
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
const loadScript = (FILE_URL, async = true, type = 'text/javascript') => { | |
return new Promise((resolve, reject) => { | |
try { | |
const scriptEle = document.createElement('script'); | |
scriptEle.type = type; | |
scriptEle.async = async; | |
scriptEle.src = FILE_URL; | |
scriptEle.addEventListener('load', (ev) => { | |
resolve({ |
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
<div class="acordian"> | |
<div class="acordian-trigger"> | |
Accordion trigger | |
</div> | |
<div class="acordian-content"> | |
Accordion content inner | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis reiciendis placeat velit sit adipisci beatae laudantium sapiente provident recusandae corporis. | |
</div> | |
</div> |
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
<script | |
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBuyuXzFTTgV7BestKhgKrrZjV_-rMmUQY&callback=geoFindMe&v=weekly&channel=2" | |
async | |
></script> | |
<script> | |
function reverseGeocodingWithGoogle(latitude, longitude) { | |
const latlng = { | |
lat: parseFloat(latitude), | |
lng: parseFloat(longitude), | |
}; |
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
const langText = document.querySelectorAll('.langText'); | |
const gbText = document.querySelectorAll('.gbText'); | |
const euText = document.querySelectorAll('.euText'); | |
function handleLocation() { | |
var options = { | |
enableHighAccuracy: true, | |
timeout: 5000, | |
maximumAge: 0 | |
}; |