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
Arrow ➔ | |
Bullet/dot • |
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 path = require('path'); | |
const webpack = require('webpack'); | |
const merge = require('webpack-merge'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); | |
const SlateConfig = require('@shopify/slate-config'); | |
const SlateTagPlugin = require('@shopify/slate-tag-webpack-plugin'); | |
const babel = require('./parts/babel'); |
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'); |
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
// 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
{%- 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
<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
<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
<link rel="stylesheet" href="theme.css" media="print" onload="this.media='all'"> |