Viking Crow Street Trendy Sweatshirt
${function() {
const variantData = data.variant || {"id":"2277046c-0169-4be4-b898-de01aa813d24","product_id":"9d7eb57e-17b5-4f19-9d75-ce64caff2959","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1705153357347704834","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d7e0aaba6c4f381ddb2ff76e2b43803.jpeg","path":"5d7e0aaba6c4f381ddb2ff76e2b43803.jpeg","width":1313,"height":1678,"alt":"Viking Crow Street Trendy Sweatshirt Techwear Shop","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":29.95,"min_quantity":1}],"weight":"400","compare_at_price":"35","price":"29.95","retail_price":"35","available":true,"url":"\/products\/viking-crow-street-trendy-sweatshirt-llzo?variant=2277046c-0169-4be4-b898-de01aa813d24","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":14,"flashsale_info":[],"sales":2};
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":"2277046c-0169-4be4-b898-de01aa813d24","product_id":"9d7eb57e-17b5-4f19-9d75-ce64caff2959","title":"black-S","weight_unit":"g","inventory_quantity":999,"sku":"1705153357347704834","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d7e0aaba6c4f381ddb2ff76e2b43803.jpeg","path":"5d7e0aaba6c4f381ddb2ff76e2b43803.jpeg","width":1313,"height":1678,"alt":"Viking Crow Street Trendy Sweatshirt Techwear Shop","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":29.95,"min_quantity":1}],"weight":"400","compare_at_price":"35","price":"29.95","retail_price":"35","available":true,"url":"\/products\/viking-crow-street-trendy-sweatshirt-llzo?variant=2277046c-0169-4be4-b898-de01aa813d24","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":14,"flashsale_info":[],"sales":2};
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 `
`;
}()}