Ingvn - 2 colors autumn winter long sweater dress female long sleeve loose knitted long dress womens bodycon robe female
${function() {
const variantData = data.variant || {"id":"f501a987-97a2-42d7-bc72-f1b57f41b24a","product_id":"95d4c9d9-59ef-4353-a99b-1099c8f8edcd","title":"Black-One Size","weight_unit":"g","inventory_quantity":176,"sku":"82599167-black-one-size","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc5999c723310f292fd94133ed558ed9.jpeg","path":"bc5999c723310f292fd94133ed558ed9.jpeg","width":1000,"height":1000,"alt":"362880131-1","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.99","retail_price":"0","available":true,"url":"\/products\/2-colors-autumn-winter-long-sweater-dress-female-long-sleeve-loose-knitted-long-dress-womens-bodycon-robe-female?variant=f501a987-97a2-42d7-bc72-f1b57f41b24a","available_quantity":176,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"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 : 82599167-black-one-size
${function(){
const variantData = data.variant || {"id":"f501a987-97a2-42d7-bc72-f1b57f41b24a","product_id":"95d4c9d9-59ef-4353-a99b-1099c8f8edcd","title":"Black-One Size","weight_unit":"g","inventory_quantity":176,"sku":"82599167-black-one-size","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc5999c723310f292fd94133ed558ed9.jpeg","path":"bc5999c723310f292fd94133ed558ed9.jpeg","width":1000,"height":1000,"alt":"362880131-1","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.99","retail_price":"0","available":true,"url":"\/products\/2-colors-autumn-winter-long-sweater-dress-female-long-sleeve-loose-knitted-long-dress-womens-bodycon-robe-female?variant=f501a987-97a2-42d7-bc72-f1b57f41b24a","available_quantity":176,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}