Casual High-neck Knitted Wide-leg Pants Two-piece Suits
${function() {
const variantData = data.variant || {"id":"f6360843-eeea-4e14-bd57-d306a4e9f78a","product_id":"cf6b6352-514d-4b67-aba5-3b9289c33a4a","title":"Black-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102132-black-s","barcode":"","position":5,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/927f01e1a08321acd9a783e100a15756.jpeg","path":"927f01e1a08321acd9a783e100a15756.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":56.69,"min_quantity":1}],"weight":"0","compare_at_price":"63.79","price":"56.69","retail_price":"63.79","available":true,"url":"\/products\/casual-high-neck-knitted-wide-leg-pants-two-piece-suits?variant=f6360843-eeea-4e14-bd57-d306a4e9f78a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":11,"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":"f6360843-eeea-4e14-bd57-d306a4e9f78a","product_id":"cf6b6352-514d-4b67-aba5-3b9289c33a4a","title":"Black-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102132-black-s","barcode":"","position":5,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/927f01e1a08321acd9a783e100a15756.jpeg","path":"927f01e1a08321acd9a783e100a15756.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":56.69,"min_quantity":1}],"weight":"0","compare_at_price":"63.79","price":"56.69","retail_price":"63.79","available":true,"url":"\/products\/casual-high-neck-knitted-wide-leg-pants-two-piece-suits?variant=f6360843-eeea-4e14-bd57-d306a4e9f78a","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":11,"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 `
`;
}()}