Fashion cross neck, off-the-shoulder loose knit
${function() {
const variantData = data.variant || {"id":"28424637-62f2-48fc-8376-0d331ba85a84","product_id":"443c14d8-ddef-49b0-87a3-f3a44504d8f5","title":"white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221019320-white-one size","barcode":"","position":1,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae602599dc6344bcf90aac555605393a.jpeg","path":"ae602599dc6344bcf90aac555605393a.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":53.74,"min_quantity":1}],"weight":"0.52","compare_at_price":"65.54","price":"53.74","retail_price":"65.54","available":true,"url":"\/products\/fashion-cross-neck-off-the-shoulder-loose-knit?variant=28424637-62f2-48fc-8376-0d331ba85a84","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"one size"}],"off_ratio":18,"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":"28424637-62f2-48fc-8376-0d331ba85a84","product_id":"443c14d8-ddef-49b0-87a3-f3a44504d8f5","title":"white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221019320-white-one size","barcode":"","position":1,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae602599dc6344bcf90aac555605393a.jpeg","path":"ae602599dc6344bcf90aac555605393a.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":53.74,"min_quantity":1}],"weight":"0.52","compare_at_price":"65.54","price":"53.74","retail_price":"65.54","available":true,"url":"\/products\/fashion-cross-neck-off-the-shoulder-loose-knit?variant=28424637-62f2-48fc-8376-0d331ba85a84","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"one size"}],"off_ratio":18,"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 `
`;
}()}