Ingvn - Colorful Striped Print Side Slit Maxi Dress Women Colorblock Sleeveless Slim Long Dresses
${function() {
const variantData = data.variant || {"id":"af9240c8-36b8-436e-aef8-c4f2cfec535c","product_id":"1e5c4b15-5821-4251-9d15-fe39e2f6b018","title":"S","weight_unit":"g","inventory_quantity":363,"sku":"88308544-s","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/07c1091ac30bfddf577ba2b5165b32c9.jpeg","path":"07c1091ac30bfddf577ba2b5165b32c9.jpeg","width":800,"height":1000,"alt":"379796798-5","aspect_ratio":0.8},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/colorful-striped-print-side-slit-maxi-dress-women-colorblock-sleeveless-slim-long-dresses?variant=af9240c8-36b8-436e-aef8-c4f2cfec535c","available_quantity":363,"options":[{"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"af9240c8-36b8-436e-aef8-c4f2cfec535c","product_id":"1e5c4b15-5821-4251-9d15-fe39e2f6b018","title":"S","weight_unit":"g","inventory_quantity":363,"sku":"88308544-s","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/07c1091ac30bfddf577ba2b5165b32c9.jpeg","path":"07c1091ac30bfddf577ba2b5165b32c9.jpeg","width":800,"height":1000,"alt":"379796798-5","aspect_ratio":0.8},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/colorful-striped-print-side-slit-maxi-dress-women-colorblock-sleeveless-slim-long-dresses?variant=af9240c8-36b8-436e-aef8-c4f2cfec535c","available_quantity":363,"options":[{"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}
`
}()}