V-neck cross wrap puffy sleeve sweater
${function() {
const variantData = data.variant || {"id":"d4ea3602-5fb0-4e93-bd9d-c0e0cb73b48c","product_id":"dd2e5ac5-149d-4de4-a55f-61ec181a4551","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221019314-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3652fe1aa980d63b3a7fee141441a59.jpeg","path":"e3652fe1aa980d63b3a7fee141441a59.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":42.55,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.89","price":"42.55","retail_price":"51.89","available":true,"url":"\/products\/v-neck-cross-wrap-puffy-sleeve-sweater?variant=d4ea3602-5fb0-4e93-bd9d-c0e0cb73b48c","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"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":"d4ea3602-5fb0-4e93-bd9d-c0e0cb73b48c","product_id":"dd2e5ac5-149d-4de4-a55f-61ec181a4551","title":"green-S","weight_unit":"kg","inventory_quantity":0,"sku":"66221019314-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3652fe1aa980d63b3a7fee141441a59.jpeg","path":"e3652fe1aa980d63b3a7fee141441a59.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":42.55,"min_quantity":1}],"weight":"0.3","compare_at_price":"51.89","price":"42.55","retail_price":"51.89","available":true,"url":"\/products\/v-neck-cross-wrap-puffy-sleeve-sweater?variant=d4ea3602-5fb0-4e93-bd9d-c0e0cb73b48c","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"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 `
`;
}()}