Stylish Sportswear hooded casual Sweater suits
${function() {
const variantData = data.variant || {"id":"921b785e-f6b7-41c4-95d3-68b777170d71","product_id":"eef7f0e3-e43d-4c8f-969a-b1ce5d2d4ede","title":"ivory-s","weight_unit":"kg","inventory_quantity":0,"sku":"20111128-ivory-s","barcode":"","position":3,"option1":"ivory","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a70d93e08487a114ebb0ddceac7fb4f4.jpeg","path":"a70d93e08487a114ebb0ddceac7fb4f4.jpeg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":58.63,"min_quantity":1}],"weight":"0","compare_at_price":"73.29","price":"58.63","retail_price":"73.29","available":true,"url":"\/products\/stylish-sportswear-hooded-casual-sweater-suits?variant=921b785e-f6b7-41c4-95d3-68b777170d71","available_quantity":999999999,"options":[{"name":"color","value":"ivory"},{"name":"size","value":"s"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"921b785e-f6b7-41c4-95d3-68b777170d71","product_id":"eef7f0e3-e43d-4c8f-969a-b1ce5d2d4ede","title":"ivory-s","weight_unit":"kg","inventory_quantity":0,"sku":"20111128-ivory-s","barcode":"","position":3,"option1":"ivory","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a70d93e08487a114ebb0ddceac7fb4f4.jpeg","path":"a70d93e08487a114ebb0ddceac7fb4f4.jpeg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":58.63,"min_quantity":1}],"weight":"0","compare_at_price":"73.29","price":"58.63","retail_price":"73.29","available":true,"url":"\/products\/stylish-sportswear-hooded-casual-sweater-suits?variant=921b785e-f6b7-41c4-95d3-68b777170d71","available_quantity":999999999,"options":[{"name":"color","value":"ivory"},{"name":"size","value":"s"}],"off_ratio":20,"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 `
`;
}()}