Ingvn - New Women Denim Shorts With Holes And High Waist Loose Tassel Jeans S-XXL
${function() {
const variantData = data.variant || {"id":"0dfca41e-a273-4803-bb8e-99ad0600b122","product_id":"cd746df7-438a-4e9e-a0d3-88e5e0351830","title":"6010-S","weight_unit":"g","inventory_quantity":584,"sku":"38987694-6010-s","barcode":"","position":1,"option1":"6010","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/198197186e9142919ef6f3525cc39274.jpeg","path":"198197186e9142919ef6f3525cc39274.jpeg","width":1000,"height":1000,"alt":"Ingvn - New Women Denim Shorts With Holes And High Waist Loose Tassel Jeans S-Xxl 6010 \/ S","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/new-women-denim-shorts-with-holes-and-high-waist-loose-tassel-jeans-s-xxl?variant=0dfca41e-a273-4803-bb8e-99ad0600b122","available_quantity":584,"options":[{"name":"Color","value":"6010"},{"name":"Size","value":"S"}],"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":"0dfca41e-a273-4803-bb8e-99ad0600b122","product_id":"cd746df7-438a-4e9e-a0d3-88e5e0351830","title":"6010-S","weight_unit":"g","inventory_quantity":584,"sku":"38987694-6010-s","barcode":"","position":1,"option1":"6010","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/198197186e9142919ef6f3525cc39274.jpeg","path":"198197186e9142919ef6f3525cc39274.jpeg","width":1000,"height":1000,"alt":"Ingvn - New Women Denim Shorts With Holes And High Waist Loose Tassel Jeans S-Xxl 6010 \/ S","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/new-women-denim-shorts-with-holes-and-high-waist-loose-tassel-jeans-s-xxl?variant=0dfca41e-a273-4803-bb8e-99ad0600b122","available_quantity":584,"options":[{"name":"Color","value":"6010"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}