Ingvn - Sexy Backless Sleeveless Tassel Maxi Dress
${function() {
const variantData = data.variant || {"id":"e4d7e1fc-238b-407d-b7e3-d06f2a53f9df","product_id":"9b5b1c8b-c7e5-4ed4-8a26-43f29644bb46","title":"MULTI-S","weight_unit":"g","inventory_quantity":499,"sku":"24098181-multi-s","barcode":"","position":1,"option1":"MULTI","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81e30d1903e556209dc8b931e9fffd3d.jpeg","path":"81e30d1903e556209dc8b931e9fffd3d.jpeg","width":806,"height":1000,"alt":"Ingvn - Sexy Backless Sleeveless Tassel Maxi Dress Multi \/ S","aspect_ratio":0.806},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"40.99","retail_price":"80","available":true,"url":"\/products\/sexy-backless-sleeveless-tassel-maxi-dress?variant=e4d7e1fc-238b-407d-b7e3-d06f2a53f9df","available_quantity":499,"options":[{"name":"Color","value":"MULTI"},{"name":"Size","value":"S"}],"off_ratio":49,"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":"e4d7e1fc-238b-407d-b7e3-d06f2a53f9df","product_id":"9b5b1c8b-c7e5-4ed4-8a26-43f29644bb46","title":"MULTI-S","weight_unit":"g","inventory_quantity":499,"sku":"24098181-multi-s","barcode":"","position":1,"option1":"MULTI","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81e30d1903e556209dc8b931e9fffd3d.jpeg","path":"81e30d1903e556209dc8b931e9fffd3d.jpeg","width":806,"height":1000,"alt":"Ingvn - Sexy Backless Sleeveless Tassel Maxi Dress Multi \/ S","aspect_ratio":0.806},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"40.99","retail_price":"80","available":true,"url":"\/products\/sexy-backless-sleeveless-tassel-maxi-dress?variant=e4d7e1fc-238b-407d-b7e3-d06f2a53f9df","available_quantity":499,"options":[{"name":"Color","value":"MULTI"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}