Viking Totem T-Shirt
${function() {
const variantData = data.variant || {"id":"c2237ec4-1a54-4dad-a7cb-f1a0cc39d8ba","product_id":"05b7b72c-7e67-44f0-93d9-711f29ace294","title":"white-S","weight_unit":"g","inventory_quantity":999,"sku":"1744662240080318465","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/515c0c7ed32f027cc8f549f03023c50a.jpeg","path":"515c0c7ed32f027cc8f549f03023c50a.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-qsde-8qgc?variant=c2237ec4-1a54-4dad-a7cb-f1a0cc39d8ba","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":3};
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":"c2237ec4-1a54-4dad-a7cb-f1a0cc39d8ba","product_id":"05b7b72c-7e67-44f0-93d9-711f29ace294","title":"white-S","weight_unit":"g","inventory_quantity":999,"sku":"1744662240080318465","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/515c0c7ed32f027cc8f549f03023c50a.jpeg","path":"515c0c7ed32f027cc8f549f03023c50a.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-qsde-8qgc?variant=c2237ec4-1a54-4dad-a7cb-f1a0cc39d8ba","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":3};
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 `
`;
}()}