High Waist Slender Body High Elastic Warm Pants
${function() {
const variantData = data.variant || {"id":"35d5a6a6-377b-490c-8526-b1dd7260683c","product_id":"7f3e3f29-b37a-458a-850b-0fb59b67cd63","title":"Black-Regular-40-63kg","weight_unit":"kg","inventory_quantity":41798,"sku":"221024640-Black-Regular-40-63kg","barcode":"","position":1,"option1":"Black-Regular","option2":"40-63kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fafc5c24ad4df9aa0f1c0aef91259a0c.jpeg","path":"fafc5c24ad4df9aa0f1c0aef91259a0c.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":11.27,"min_quantity":1}],"weight":"0.3","compare_at_price":"13.26","price":"11.27","retail_price":"13.26","available":true,"url":"\/products\/high-waist-slender-body-high-elastic-warm-pants?variant=35d5a6a6-377b-490c-8526-b1dd7260683c","available_quantity":999999999,"options":[{"name":"Color","value":"Black-Regular"},{"name":"Size","value":"40-63kg"}],"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":"35d5a6a6-377b-490c-8526-b1dd7260683c","product_id":"7f3e3f29-b37a-458a-850b-0fb59b67cd63","title":"Black-Regular-40-63kg","weight_unit":"kg","inventory_quantity":41798,"sku":"221024640-Black-Regular-40-63kg","barcode":"","position":1,"option1":"Black-Regular","option2":"40-63kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fafc5c24ad4df9aa0f1c0aef91259a0c.jpeg","path":"fafc5c24ad4df9aa0f1c0aef91259a0c.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":11.27,"min_quantity":1}],"weight":"0.3","compare_at_price":"13.26","price":"11.27","retail_price":"13.26","available":true,"url":"\/products\/high-waist-slender-body-high-elastic-warm-pants?variant=35d5a6a6-377b-490c-8526-b1dd7260683c","available_quantity":999999999,"options":[{"name":"Color","value":"Black-Regular"},{"name":"Size","value":"40-63kg"}],"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 `
`;
}()}