Simple Fashion Casual White Coat Jacket
${function() {
const variantData = data.variant || {"id":"13110f06-e323-4f39-8193-338f0a2ee1d5","product_id":"2045ad4d-65a9-4056-9fef-b70971f2f407","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"20102813-white-s","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/332d8d2e979ca6a699bfa0d8750ccbea.jpeg","path":"332d8d2e979ca6a699bfa0d8750ccbea.jpeg","width":564,"height":738,"alt":"","aspect_ratio":0.7642276422764228},"wholesale_price":[{"price":63.11,"min_quantity":1}],"weight":"0.62","compare_at_price":"74","price":"63.11","retail_price":"74","available":true,"url":"\/products\/simple-fashion-casual-white-coat-jacket-i1nw?variant=13110f06-e323-4f39-8193-338f0a2ee1d5","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":15,"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":"13110f06-e323-4f39-8193-338f0a2ee1d5","product_id":"2045ad4d-65a9-4056-9fef-b70971f2f407","title":"White-S","weight_unit":"kg","inventory_quantity":0,"sku":"20102813-white-s","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/332d8d2e979ca6a699bfa0d8750ccbea.jpeg","path":"332d8d2e979ca6a699bfa0d8750ccbea.jpeg","width":564,"height":738,"alt":"","aspect_ratio":0.7642276422764228},"wholesale_price":[{"price":63.11,"min_quantity":1}],"weight":"0.62","compare_at_price":"74","price":"63.11","retail_price":"74","available":true,"url":"\/products\/simple-fashion-casual-white-coat-jacket-i1nw?variant=13110f06-e323-4f39-8193-338f0a2ee1d5","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":15,"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 `
`;
}()}