Long Sleeves Candy Color Fashion Suit
${function() {
const variantData = data.variant || {"id":"5e7c7223-cb06-4875-9b03-96ddda82f485","product_id":"3084092c-fb16-46e5-a497-4280224e7e67","title":"Navy-L","weight_unit":"kg","inventory_quantity":1000,"sku":"220514436-Navy-L","barcode":"","position":5,"option1":"Navy","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ca1573736dc13345132da70ae554a3f.jpeg","path":"4ca1573736dc13345132da70ae554a3f.jpeg","width":513,"height":491,"alt":"","aspect_ratio":1.044806517311609},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"58","price":"47.99","retail_price":"58","available":true,"url":"\/products\/long-sleeves-candy-color-fashion-suit?variant=5e7c7223-cb06-4875-9b03-96ddda82f485","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"SIZE","value":"L"}],"off_ratio":17,"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":"5e7c7223-cb06-4875-9b03-96ddda82f485","product_id":"3084092c-fb16-46e5-a497-4280224e7e67","title":"Navy-L","weight_unit":"kg","inventory_quantity":1000,"sku":"220514436-Navy-L","barcode":"","position":5,"option1":"Navy","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ca1573736dc13345132da70ae554a3f.jpeg","path":"4ca1573736dc13345132da70ae554a3f.jpeg","width":513,"height":491,"alt":"","aspect_ratio":1.044806517311609},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"58","price":"47.99","retail_price":"58","available":true,"url":"\/products\/long-sleeves-candy-color-fashion-suit?variant=5e7c7223-cb06-4875-9b03-96ddda82f485","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"SIZE","value":"L"}],"off_ratio":17,"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 `
`;
}()}