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> | |
window.HYPERVISUAL_CALLBACKS = { | |
afterProductEmbed: function() { | |
$(this).find('form').each(function() { | |
$(this).attr('action', $(this).attr('action').replace('https://vivierskin.com', '')); | |
}); | |
$(this).find('a').each(function() { | |
$(this).attr('href', $(this).attr('href').replace('https://vivierskin.com', '')); | |
}); | |
} |
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://cdn.shopify.com/s/files/1/0033/4807/0511/files/download.html?id=8207a89c-2363-4636-90f5-d48f0e42224e&uu=09a35479-deff-4eaf-bbf5-a4852e14a4d8&mo=&fi=SW1hZ2UgQTItdy5qcGc=&image=true |
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> | |
window.UploadKit = window.UploadKit || {} | |
window.UploadKit.callbacks = { | |
afterRefresh: function(data) { | |
if(window.UploadKit.product && window.UploadKit.product.tags && window.UploadKit.product.tags.indexOf('multi-frame') > -1) { return } | |
if(data.files && data.files.length > 0) { | |
$('input[name=quantity]').val(data.files.length) | |
} | |
} | |
} |
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> | |
window.InstaBuy = window.InstaBuy || {} | |
window.InstaBuy.target = "_self" | |
window.InstaBuy.afterRender = function(el) { | |
var quantityInputs = el.querySelectorAll(".widget-quantity-input:not(.minmaxify)"); | |
for(var i = 0; i < quantityInputs.length; i++) { | |
var input = quantityInputs[i] | |
if(!input.dataset.productHandle || input.dataset.productHandle.length === 0) { continue } | |
var limits = minMaxify && minMaxify.getIndividualLimitsFor && minMaxify.getIndividualLimitsFor({handle: input.dataset.productHandle}); | |
if(limits) { |
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
{% for p in item.properties %} | |
{% assign first_character_in_key = p.first | truncate: 1, '' %} | |
{% unless p.last == blank or first_character_in_key == '_' %} | |
{{ p.first }}: | |
{{ p.last }} | |
<br> | |
{% endunless %} | |
{% 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
initProductAddToCart: function() { | |
if ($('#product-add-to-cart').length > 0) { | |
$('#product-add-to-cart').click(function(event) { | |
event.preventDefault(); | |
if ($(this).attr('disabled') != 'disabled') { | |
if (!window.ajax_cart) { | |
$(this).closest('form').submit(); | |
} else { | |
var variant_id = $('#add-to-cart-form select[name=id]').val(); | |
if (!variant_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
<script> | |
window.UploadKit = window.UploadKit || {} | |
window.UploadKit.callbacks = { | |
afterRefresh: function(data) { | |
// data is an object like: | |
// { | |
// el: <html element of the upload field container div>, | |
// uploader: <json object representing the upload field>, | |
// files: <json array representing the uploaded files> | |
// } |
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
{% for p in line_item.properties %} | |
{% if p.first contains 'direct link' %} | |
<img src="{{p.last}}" style="width: 5cm;" /> | |
<br> | |
{% endif %} | |
{% 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
uploading: 'Hochladen... Bitte warten.' | |
loadingInfo: 'Laden der Informationen...' | |
errors: | |
default: 'Error' | |
baddata: 'Falscher Wert' | |
size: 'Datei zu groß' | |
upload: 'Kann nicht hochgeladen werden' | |
user: 'Hochladen abgebrochen' | |
info: 'Informationen können nicht geladen werden' | |
image: 'Nur Bilder sind erlaubt' |