Ingvn - Long Sleeve Drawstring Romper
${function() {
const variantData = data.variant || {"id":"4dbe40ad-7853-4fb8-8be0-048fc2fd58ae","product_id":"087459d2-4119-4cd4-9541-696e4d242843","title":"Blush Pink-S","weight_unit":"g","inventory_quantity":8888,"sku":"100100251136515","barcode":"100100251136515","position":1,"option1":"Blush Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0f65c1eb83e4b8af99ed0c9b9a4580a4.jpeg","path":"0f65c1eb83e4b8af99ed0c9b9a4580a4.jpeg","width":751,"height":1000,"alt":"Ingvn - Long Sleeve Drawstring Romper Blush Pink \/ S","aspect_ratio":0.751},"wholesale_price":[{"price":25.92,"min_quantity":1}],"weight":"350","compare_at_price":"0","price":"25.92","retail_price":"0","available":true,"url":"\/products\/long-sleeve-drawstring-romper?variant=4dbe40ad-7853-4fb8-8be0-048fc2fd58ae","available_quantity":8888,"options":[{"name":"Color","value":"Blush Pink"},{"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.
Sku : 100100251136515
Weight : 350g
Barcode : 100100251136515
${function(){
const variantData = data.variant || {"id":"4dbe40ad-7853-4fb8-8be0-048fc2fd58ae","product_id":"087459d2-4119-4cd4-9541-696e4d242843","title":"Blush Pink-S","weight_unit":"g","inventory_quantity":8888,"sku":"100100251136515","barcode":"100100251136515","position":1,"option1":"Blush Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0f65c1eb83e4b8af99ed0c9b9a4580a4.jpeg","path":"0f65c1eb83e4b8af99ed0c9b9a4580a4.jpeg","width":751,"height":1000,"alt":"Ingvn - Long Sleeve Drawstring Romper Blush Pink \/ S","aspect_ratio":0.751},"wholesale_price":[{"price":25.92,"min_quantity":1}],"weight":"350","compare_at_price":"0","price":"25.92","retail_price":"0","available":true,"url":"\/products\/long-sleeve-drawstring-romper?variant=4dbe40ad-7853-4fb8-8be0-048fc2fd58ae","available_quantity":8888,"options":[{"name":"Color","value":"Blush Pink"},{"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}
`
}()}