Twist Gentle Elegant Pullover Sweater Top
${function() {
const variantData = data.variant || {"id":"64d61e37-3c8c-41fb-9906-19618f36e63b","product_id":"8d3b5db0-1d4f-458b-b7b1-12c4d507d0c5","title":"Orange","weight_unit":"kg","inventory_quantity":51884,"sku":"221027873-Orange","barcode":"","position":2,"option1":"Orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c5998fc6f276096b7e3655f60910a1e.jpeg","path":"8c5998fc6f276096b7e3655f60910a1e.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.73,"min_quantity":1}],"weight":"0.6","compare_at_price":"60.16","price":"48.73","retail_price":"60.16","available":true,"url":"\/products\/twist-gentle-elegant-pullover-sweater-top?variant=64d61e37-3c8c-41fb-9906-19618f36e63b","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"}],"off_ratio":19,"flashsale_info":[],"sales":18};
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"64d61e37-3c8c-41fb-9906-19618f36e63b","product_id":"8d3b5db0-1d4f-458b-b7b1-12c4d507d0c5","title":"Orange","weight_unit":"kg","inventory_quantity":51884,"sku":"221027873-Orange","barcode":"","position":2,"option1":"Orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c5998fc6f276096b7e3655f60910a1e.jpeg","path":"8c5998fc6f276096b7e3655f60910a1e.jpeg","width":1920,"height":1920,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.73,"min_quantity":1}],"weight":"0.6","compare_at_price":"60.16","price":"48.73","retail_price":"60.16","available":true,"url":"\/products\/twist-gentle-elegant-pullover-sweater-top?variant=64d61e37-3c8c-41fb-9906-19618f36e63b","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"}],"off_ratio":19,"flashsale_info":[],"sales":18};
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 `
`;
}()}