Viking Totem T-Shirt
${function() {
const variantData = data.variant || {"id":"11bc5d01-0599-4431-91dc-55831605e2f2","product_id":"53ec74ad-dc9f-4a8d-8004-fa50b637a68b","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1744661059142234114","barcode":"","position":7,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9aaa7517aa6968e7774ed29759ed5e16.jpeg","path":"9aaa7517aa6968e7774ed29759ed5e16.jpeg","width":1313,"height":1678,"alt":"Viking Totem T-Shirt Techwear Shop","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":21.95,"min_quantity":1}],"weight":"300","compare_at_price":"25.95","price":"21.95","retail_price":"25.95","available":true,"url":"\/products\/viking-totem-t-shirt-vihk-wr1y?variant=11bc5d01-0599-4431-91dc-55831605e2f2","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":6};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"11bc5d01-0599-4431-91dc-55831605e2f2","product_id":"53ec74ad-dc9f-4a8d-8004-fa50b637a68b","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1744661059142234114","barcode":"","position":7,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9aaa7517aa6968e7774ed29759ed5e16.jpeg","path":"9aaa7517aa6968e7774ed29759ed5e16.jpeg","width":1313,"height":1678,"alt":"Viking Totem T-Shirt Techwear Shop","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":21.95,"min_quantity":1}],"weight":"300","compare_at_price":"25.95","price":"21.95","retail_price":"25.95","available":true,"url":"\/products\/viking-totem-t-shirt-vihk-wr1y?variant=11bc5d01-0599-4431-91dc-55831605e2f2","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":6};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}