Ingvn - Fashion Striped Women's Pants 2023 Summer Wide Leg Pants Women Casual Loose Trousers Ladies Low Waist Lace Up Pant New In
${function() {
const variantData = data.variant || {"id":"0ed296bc-c498-41d5-a024-fafb3a996a14","product_id":"3df76527-96fd-4730-b9be-d2eff4fe26bd","title":"blue-XS","weight_unit":"g","inventory_quantity":1554,"sku":"50458034-blue-xs","barcode":"","position":1,"option1":"blue","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/927c5233e7f4c8f338f5bf034875e43a.jpeg","path":"927c5233e7f4c8f338f5bf034875e43a.jpeg","width":1000,"height":1000,"alt":"526371988-1","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"17.99","retail_price":"0","available":true,"url":"\/products\/fashion-striped-womens-pants-2023-summer-wide-leg-pants-women-casual-loose-trousers-ladies-low-waist-lace-up-pant-new-in?variant=0ed296bc-c498-41d5-a024-fafb3a996a14","available_quantity":1554,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
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 `
`;
}()}
${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":"0ed296bc-c498-41d5-a024-fafb3a996a14","product_id":"3df76527-96fd-4730-b9be-d2eff4fe26bd","title":"blue-XS","weight_unit":"g","inventory_quantity":1554,"sku":"50458034-blue-xs","barcode":"","position":1,"option1":"blue","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/927c5233e7f4c8f338f5bf034875e43a.jpeg","path":"927c5233e7f4c8f338f5bf034875e43a.jpeg","width":1000,"height":1000,"alt":"526371988-1","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"17.99","retail_price":"0","available":true,"url":"\/products\/fashion-striped-womens-pants-2023-summer-wide-leg-pants-women-casual-loose-trousers-ladies-low-waist-lace-up-pant-new-in?variant=0ed296bc-c498-41d5-a024-fafb3a996a14","available_quantity":1554,"options":[{"name":"Color","value":"blue"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}