Ladies Temperament Body Single Button Solid Color Jacket Set
${function() {
const variantData = data.variant || {"id":"187111a9-31ad-495c-bbc2-31ca821e1a5a","product_id":"ead0a15f-fdda-4440-a47b-ddda07939b15","title":"khaki-L","weight_unit":"kg","inventory_quantity":0,"sku":"662110201136-khaki-L","barcode":"","position":6,"option1":"khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d29658c00420b982caef90dfed3eb6b2.jpeg","path":"d29658c00420b982caef90dfed3eb6b2.jpeg","width":700,"height":1047,"alt":"","aspect_ratio":0.6685768863419294},"wholesale_price":[{"price":35.41,"min_quantity":1}],"weight":"0","compare_at_price":"43.72","price":"35.41","retail_price":"43.72","available":true,"url":"\/products\/ladies-temperament-body-single-button-solid-color-jacket-suit?variant=187111a9-31ad-495c-bbc2-31ca821e1a5a","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"L"}],"off_ratio":19,"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":"187111a9-31ad-495c-bbc2-31ca821e1a5a","product_id":"ead0a15f-fdda-4440-a47b-ddda07939b15","title":"khaki-L","weight_unit":"kg","inventory_quantity":0,"sku":"662110201136-khaki-L","barcode":"","position":6,"option1":"khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d29658c00420b982caef90dfed3eb6b2.jpeg","path":"d29658c00420b982caef90dfed3eb6b2.jpeg","width":700,"height":1047,"alt":"","aspect_ratio":0.6685768863419294},"wholesale_price":[{"price":35.41,"min_quantity":1}],"weight":"0","compare_at_price":"43.72","price":"35.41","retail_price":"43.72","available":true,"url":"\/products\/ladies-temperament-body-single-button-solid-color-jacket-suit?variant=187111a9-31ad-495c-bbc2-31ca821e1a5a","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"name":"size","value":"L"}],"off_ratio":19,"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 `
`;
}()}