Techwear Sleeve Patchwork Sweatshirt
${function() {
const variantData = data.variant || {"id":"dc4c3762-4ff2-4825-82c8-cbfcefc53041","product_id":"9dc823d7-696e-43e1-8cdf-a1ba0813a548","title":"white-M","weight_unit":"g","inventory_quantity":999,"sku":"1470645689894617089","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/124b1c7337acd9186d07cb88b6939157.jpeg","path":"124b1c7337acd9186d07cb88b6939157.jpeg","width":800,"height":800,"alt":"Techwear Sleeve Patchwork Sweatshirt Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":28.95,"min_quantity":1}],"weight":"300","compare_at_price":"35.95","price":"28.95","retail_price":"35.95","available":true,"url":"\/products\/techwear-sleeve-patchwork-sweatshirt-tedl?variant=dc4c3762-4ff2-4825-82c8-cbfcefc53041","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":19,"flashsale_info":[],"sales":4};
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":"dc4c3762-4ff2-4825-82c8-cbfcefc53041","product_id":"9dc823d7-696e-43e1-8cdf-a1ba0813a548","title":"white-M","weight_unit":"g","inventory_quantity":999,"sku":"1470645689894617089","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/124b1c7337acd9186d07cb88b6939157.jpeg","path":"124b1c7337acd9186d07cb88b6939157.jpeg","width":800,"height":800,"alt":"Techwear Sleeve Patchwork Sweatshirt Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":28.95,"min_quantity":1}],"weight":"300","compare_at_price":"35.95","price":"28.95","retail_price":"35.95","available":true,"url":"\/products\/techwear-sleeve-patchwork-sweatshirt-tedl?variant=dc4c3762-4ff2-4825-82c8-cbfcefc53041","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":19,"flashsale_info":[],"sales":4};
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 `
`;
}()}