Daily Round Neck A-Line Top
${function() {
const variantData = data.variant || {"id":"044b1b3f-f0cf-4fc2-8a8f-ec88662c5f9f","product_id":"a893715c-49ee-4b61-b391-288d30094e05","title":"white-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21020508-white-s","barcode":"","position":1,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95421149f041834c44d4d8cf17f6cdfd.jpeg","path":"95421149f041834c44d4d8cf17f6cdfd.jpeg","width":800,"height":1061,"alt":"","aspect_ratio":0.7540056550424128},"wholesale_price":[{"price":25.18,"min_quantity":1}],"weight":"0","compare_at_price":"32.7","price":"25.18","retail_price":"32.7","available":true,"url":"\/products\/daily-round-neck-a-line-top?variant=044b1b3f-f0cf-4fc2-8a8f-ec88662c5f9f","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"s"}],"off_ratio":23,"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":"044b1b3f-f0cf-4fc2-8a8f-ec88662c5f9f","product_id":"a893715c-49ee-4b61-b391-288d30094e05","title":"white-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21020508-white-s","barcode":"","position":1,"option1":"white","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95421149f041834c44d4d8cf17f6cdfd.jpeg","path":"95421149f041834c44d4d8cf17f6cdfd.jpeg","width":800,"height":1061,"alt":"","aspect_ratio":0.7540056550424128},"wholesale_price":[{"price":25.18,"min_quantity":1}],"weight":"0","compare_at_price":"32.7","price":"25.18","retail_price":"32.7","available":true,"url":"\/products\/daily-round-neck-a-line-top?variant=044b1b3f-f0cf-4fc2-8a8f-ec88662c5f9f","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"s"}],"off_ratio":23,"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 `
`;
}()}