V-neck sleeveless jumpsuit
${function() {
const variantData = data.variant || {"id":"6781a3fe-bfca-4bdb-8125-748e99363f12","product_id":"40d01a8f-fc41-45bb-bb8b-0122a032e96a","title":"Dark Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010902-darkblue-s","barcode":"","position":8,"option1":"Dark Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b4689b499b84bb952a81025f42e36cf.jpeg","path":"1b4689b499b84bb952a81025f42e36cf.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"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=6781a3fe-bfca-4bdb-8125-748e99363f12","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"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":"6781a3fe-bfca-4bdb-8125-748e99363f12","product_id":"40d01a8f-fc41-45bb-bb8b-0122a032e96a","title":"Dark Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21010902-darkblue-s","barcode":"","position":8,"option1":"Dark Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b4689b499b84bb952a81025f42e36cf.jpeg","path":"1b4689b499b84bb952a81025f42e36cf.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"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=6781a3fe-bfca-4bdb-8125-748e99363f12","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"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 `
`;
}()}