Trendy Casual Sweatershirt
${function() {
const variantData = data.variant || {"id":"cab309f9-41e6-479a-93f7-8a862b1d9d84","product_id":"635ebd40-edb6-4eed-aeb5-9cc830f06a23","title":"gray-M","weight_unit":"g","inventory_quantity":999,"sku":"1718911889148293121","barcode":"","position":1,"option1":"gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/218635e3bbdf15ddc9e7c5cb1eccd9af.jpeg","path":"218635e3bbdf15ddc9e7c5cb1eccd9af.jpeg","width":800,"height":800,"alt":"Trendy Casual Sweatershirt Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":33.95,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"33.95","retail_price":"0","available":true,"url":"\/products\/trendy-casual-sweatershirt?variant=cab309f9-41e6-479a-93f7-8a862b1d9d84","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"cab309f9-41e6-479a-93f7-8a862b1d9d84","product_id":"635ebd40-edb6-4eed-aeb5-9cc830f06a23","title":"gray-M","weight_unit":"g","inventory_quantity":999,"sku":"1718911889148293121","barcode":"","position":1,"option1":"gray","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/218635e3bbdf15ddc9e7c5cb1eccd9af.jpeg","path":"218635e3bbdf15ddc9e7c5cb1eccd9af.jpeg","width":800,"height":800,"alt":"Trendy Casual Sweatershirt Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":33.95,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"33.95","retail_price":"0","available":true,"url":"\/products\/trendy-casual-sweatershirt?variant=cab309f9-41e6-479a-93f7-8a862b1d9d84","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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 `
`;
}()}