Tooling Style Hooded Windbreaker Shorts Suit
${function() {
const variantData = data.variant || {"id":"aae90213-1f42-40d2-859e-8770239facc8","product_id":"489e054a-7e1f-4d41-9d6b-10129ad4d66d","title":"White-One size","weight_unit":"kg","inventory_quantity":0,"sku":"211019977-White-One size","barcode":"","position":2,"option1":"White","option2":"One size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/41e90bc5e8d1663eee1e0515e130ae59.jpeg","path":"41e90bc5e8d1663eee1e0515e130ae59.jpeg","width":467,"height":482,"alt":"","aspect_ratio":0.9688796680497925},"wholesale_price":[{"price":48.39,"min_quantity":1}],"weight":"0.5","compare_at_price":"56.93","price":"48.39","retail_price":"56.93","available":true,"url":"\/products\/tooling-style-hooded-windbreaker-shorts-suit?variant=aae90213-1f42-40d2-859e-8770239facc8","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"One size"}],"off_ratio":15,"flashsale_info":[],"sales":1};
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":"aae90213-1f42-40d2-859e-8770239facc8","product_id":"489e054a-7e1f-4d41-9d6b-10129ad4d66d","title":"White-One size","weight_unit":"kg","inventory_quantity":0,"sku":"211019977-White-One size","barcode":"","position":2,"option1":"White","option2":"One size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/41e90bc5e8d1663eee1e0515e130ae59.jpeg","path":"41e90bc5e8d1663eee1e0515e130ae59.jpeg","width":467,"height":482,"alt":"","aspect_ratio":0.9688796680497925},"wholesale_price":[{"price":48.39,"min_quantity":1}],"weight":"0.5","compare_at_price":"56.93","price":"48.39","retail_price":"56.93","available":true,"url":"\/products\/tooling-style-hooded-windbreaker-shorts-suit?variant=aae90213-1f42-40d2-859e-8770239facc8","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"One size"}],"off_ratio":15,"flashsale_info":[],"sales":1};
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 `
`;
}()}