${function() {
const variantData = data.variant || {"id":"5201a8a3-7e31-4f38-ac6a-30918481c761","product_id":"ea38f70b-9422-4bac-8511-bc3f8b96bcf8","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"NC0109-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f67fae75bcd3cce9e0415deddba690c.jpeg","path":"9f67fae75bcd3cce9e0415deddba690c.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.9,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.9","price":"27.9","retail_price":"39.9","available":true,"url":"\/products\/cotton-linen-round-neck-irregular-half-sleeve-blouse?variant=5201a8a3-7e31-4f38-ac6a-30918481c761","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${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 : NC0109-Blue-S
Weight : 0.2kg
${function(){
const variantData = data.variant || {"id":"5201a8a3-7e31-4f38-ac6a-30918481c761","product_id":"ea38f70b-9422-4bac-8511-bc3f8b96bcf8","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"NC0109-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f67fae75bcd3cce9e0415deddba690c.jpeg","path":"9f67fae75bcd3cce9e0415deddba690c.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.9,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.9","price":"27.9","retail_price":"39.9","available":true,"url":"\/products\/cotton-linen-round-neck-irregular-half-sleeve-blouse?variant=5201a8a3-7e31-4f38-ac6a-30918481c761","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}