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
<nav class="drawer-tabs--nav tabsNav" data-control=".mobileMenu"> | |
{%- assign indexNav = 0 -%} | |
{%- for block in section.blocks -%} | |
{%- if block.type == 'menu-tab' -%} | |
{%- assign name = block.settings.name -%} | |
{%- assign name_handle = name | handleize -%} | |
<a href="#{{ name_handle }}" class="navv-tab tabsNavLink{% if indexNav == 0 %} is-active{% endif %}"> | |
{{ name }} | |
</a> | |
{%- assign indexNav = indexNav | plus: 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
<label for="custom-checkbox" class="custom-checkbox"> | |
<input id="custom-checkbox" type="checkbox" name="custom_checkbox"> | |
<span>Custom checkbox</span> | |
</label> | |
<style> | |
.custom-checkbox > input[type=checkbox] { | |
opacity: 0; | |
cursor: pointer; | |
position: absolute; |
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="stylesheet" href="theme.css" media="print" onload="this.media='all'"> |
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 defer="defer"> | |
// Format of table is here: http://prntscr.com/219q3nl | |
const myDomain = window.location.hostname; | |
const myLicenseKey = '{{ settings.license_key | strip }}'; | |
fetch('https://sheets.googleapis.com/v4/spreadsheets/1JO15y71ImOijJ4rcdMV7avZT5Y5lILkZin6emwg35D0/values/Keys!A2:B10000?key=AIzaSyBxbARr6-hAqdtZXXqSqDPmzap7EULYaFg') | |
.then(response => response.text()) | |
.then(data => { | |
let resp = JSON.parse(data); | |
let respKeys = resp.values; | |
let allKeys = []; |
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
<table class="shop_table mb-4"> | |
<tfoot> | |
<!-- Skipped top part --> | |
<!-- Stock part --> | |
<?php $stock_values = array(); ?> | |
<?php $max_stock_period = 0; ?> | |
<?php foreach ( WC()->cart->get_cart() as $cart_item_key => $cart_item ) { ?> | |
<?php $_product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); ?> | |
<?php $stock_status = $_product->get_stock_status(); ?> |
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 section.settings.boxed -%} | |
<div class="grid-container contained"> | |
{%- endif -%} | |
{{ section.settings.liquid }} | |
{%- if section.settings.boxed -%} | |
</div> | |
{%- 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
// https://get.geojs.io/v1/ip/geo.json | |
// https://ipapi.co/country | |
// http://ip-api.com/json | |
// https://ipinfo.io/json | |
// https://extreme-ip-lookup.com/json/?key=E4sAnOeXGIkbh5BLZOCg | |
// https://geolocation-db.com/json/0f761a30-fe14-11e9-b59f-e53803842572 | |
// ABOVE LOOKS LIKE WASTED | |
// BELOW ARE FINE | |
// + https://ipgeolocation.abstractapi.com/v1/?api_key=b3d18485c87a42d1a7a82c0568732f19 |
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
{{ img_url | file_url }} |
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="lazyVideoLoader"> | |
<a href="javascript:;" data-video-id="VIDEO_ID" class="feature-row__video-trigger lazyVideoTrigger"> | |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"> | |
<path d="M40 0a40 40 0 1040 40A40 40 0 0040 0zM26 61.56V18.44L64 40z"></path> | |
</svg> | |
</a> | |
</div> | |
<script> | |
var lazyVideoLoader = document.querySelectorAll('.lazyVideoLoader'); |