Ingvn - Fashion Tassel Sleeve Women Dress V Neck Lady Patchwork Dress Loose Casual Empire Knee Length Tassel Sleeve Dress
${function() {
const variantData = data.variant || {"id":"e24a1f79-afab-48bc-9511-6d45f9fe4765","product_id":"f529fd8e-02fc-45c7-9c40-6fea8761e698","title":"BLACK-S","weight_unit":"g","inventory_quantity":500,"sku":"82502652-black-s","barcode":"","position":1,"option1":"BLACK","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/307a6cc786fc593e668da8991ebfab38.jpeg","path":"307a6cc786fc593e668da8991ebfab38.jpeg","width":977,"height":1000,"alt":"Ingvn - Fashion Tassel Sleeve Women Dress V Neck Lady Patchwork Loose Casual Empire Knee Length","aspect_ratio":0.977},"wholesale_price":[{"price":37.76,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.76","retail_price":"0","available":true,"url":"\/products\/fashion-tassel-sleeve-women-dress-v-neck-lady-patchwork-dress-loose-casual-empire-knee-length-tassel-sleeve-dress?variant=e24a1f79-afab-48bc-9511-6d45f9fe4765","available_quantity":500,"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":"e24a1f79-afab-48bc-9511-6d45f9fe4765","product_id":"f529fd8e-02fc-45c7-9c40-6fea8761e698","title":"BLACK-S","weight_unit":"g","inventory_quantity":500,"sku":"82502652-black-s","barcode":"","position":1,"option1":"BLACK","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/307a6cc786fc593e668da8991ebfab38.jpeg","path":"307a6cc786fc593e668da8991ebfab38.jpeg","width":977,"height":1000,"alt":"Ingvn - Fashion Tassel Sleeve Women Dress V Neck Lady Patchwork Loose Casual Empire Knee Length","aspect_ratio":0.977},"wholesale_price":[{"price":37.76,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.76","retail_price":"0","available":true,"url":"\/products\/fashion-tassel-sleeve-women-dress-v-neck-lady-patchwork-dress-loose-casual-empire-knee-length-tassel-sleeve-dress?variant=e24a1f79-afab-48bc-9511-6d45f9fe4765","available_quantity":500,"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}
`
}()}