V-neck sleeveless jumpsuit
${function() {
const variantData = data.variant || {"id":"9ac49ead-03c1-4895-8240-b330f658a411","product_id":"40d01a8f-fc41-45bb-bb8b-0122a032e96a","title":"Brown-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010902-brown-s","barcode":"","position":15,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bdbb32b27eff607280b98746b42ec1f9.jpg","path":"bdbb32b27eff607280b98746b42ec1f9.jpg","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":29.27,"min_quantity":1}],"weight":"0.36","compare_at_price":"34.44","price":"29.27","retail_price":"34.44","available":true,"url":"\/products\/v-neck-sleeveless-jumpsuit-wz59?variant=9ac49ead-03c1-4895-8240-b330f658a411","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":5};
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":"9ac49ead-03c1-4895-8240-b330f658a411","product_id":"40d01a8f-fc41-45bb-bb8b-0122a032e96a","title":"Brown-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010902-brown-s","barcode":"","position":15,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bdbb32b27eff607280b98746b42ec1f9.jpg","path":"bdbb32b27eff607280b98746b42ec1f9.jpg","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":29.27,"min_quantity":1}],"weight":"0.36","compare_at_price":"34.44","price":"29.27","retail_price":"34.44","available":true,"url":"\/products\/v-neck-sleeveless-jumpsuit-wz59?variant=9ac49ead-03c1-4895-8240-b330f658a411","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":5};
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 `
`;
}()}