Ingvn - Slim fit round neck sleeveless dress
${function() {
const variantData = data.variant || {"id":"6aa27822-cac1-419f-ba07-e5ea428f5624","product_id":"38ce7327-f3b5-410f-8329-30cba6a377da","title":"Black-S","weight_unit":"g","inventory_quantity":199,"sku":"66190407-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f762013fdd4fd8ddeb07f42bbbe6017b.jpeg","path":"f762013fdd4fd8ddeb07f42bbbe6017b.jpeg","width":1000,"height":1000,"alt":"Ingvn - Slim Fit Round Neck Sleeveless Dress Black \/ S","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/slim-fit-round-neck-sleeveless-dress?variant=6aa27822-cac1-419f-ba07-e5ea428f5624","available_quantity":199,"options":[{"name":"Color","value":"Black"},{"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":"6aa27822-cac1-419f-ba07-e5ea428f5624","product_id":"38ce7327-f3b5-410f-8329-30cba6a377da","title":"Black-S","weight_unit":"g","inventory_quantity":199,"sku":"66190407-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f762013fdd4fd8ddeb07f42bbbe6017b.jpeg","path":"f762013fdd4fd8ddeb07f42bbbe6017b.jpeg","width":1000,"height":1000,"alt":"Ingvn - Slim Fit Round Neck Sleeveless Dress Black \/ S","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/slim-fit-round-neck-sleeveless-dress?variant=6aa27822-cac1-419f-ba07-e5ea428f5624","available_quantity":199,"options":[{"name":"Color","value":"Black"},{"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}
`
}()}