Retro Design Half Turtleneck Sweater Top
${function() {
const variantData = data.variant || {"id":"346de55d-11cd-43b3-88e8-d43477160918","product_id":"f35f557a-bcd3-4e0f-8dd5-bc6aa03da888","title":"White-One Size (45-60KG)","weight_unit":"kg","inventory_quantity":47740,"sku":"221027874-White-One Size (45-60KG)","barcode":"","position":1,"option1":"White","option2":"One Size (45-60KG)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/235bf6cda0b8641102f0d17138aa9e5a.jpeg","path":"235bf6cda0b8641102f0d17138aa9e5a.jpeg","width":1500,"height":1531,"alt":"","aspect_ratio":0.9797517962116263},"wholesale_price":[{"price":35.98,"min_quantity":1}],"weight":"0.4","compare_at_price":"42.33","price":"35.98","retail_price":"42.33","available":true,"url":"\/products\/retro-design-half-turtleneck-sweater-top?variant=346de55d-11cd-43b3-88e8-d43477160918","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"One Size (45-60KG)"}],"off_ratio":15,"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":"346de55d-11cd-43b3-88e8-d43477160918","product_id":"f35f557a-bcd3-4e0f-8dd5-bc6aa03da888","title":"White-One Size (45-60KG)","weight_unit":"kg","inventory_quantity":47740,"sku":"221027874-White-One Size (45-60KG)","barcode":"","position":1,"option1":"White","option2":"One Size (45-60KG)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/235bf6cda0b8641102f0d17138aa9e5a.jpeg","path":"235bf6cda0b8641102f0d17138aa9e5a.jpeg","width":1500,"height":1531,"alt":"","aspect_ratio":0.9797517962116263},"wholesale_price":[{"price":35.98,"min_quantity":1}],"weight":"0.4","compare_at_price":"42.33","price":"35.98","retail_price":"42.33","available":true,"url":"\/products\/retro-design-half-turtleneck-sweater-top?variant=346de55d-11cd-43b3-88e8-d43477160918","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"One Size (45-60KG)"}],"off_ratio":15,"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 `
`;
}()}