${function() {
const variantData = data.variant || {"id":"49d84921-a5f1-4a47-83f0-a947e5759474","product_id":"f97556e9-d289-47d1-94e2-ad5f0ad7f50e","title":"Light Blue-M","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Light Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b461efc7face2a50a43663f8513943b9.webp","path":"b461efc7face2a50a43663f8513943b9.webp","width":380,"height":530,"alt":"","aspect_ratio":0.7169811320754716},"wholesale_price":[{"price":32.2,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.2","retail_price":"0","available":true,"url":"\/products\/asymmetric-hem-sleeveless-v-neck-chiffon-dress?variant=49d84921-a5f1-4a47-83f0-a947e5759474","available_quantity":999999999,"options":[{"name":"Color","value":"Light Blue"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.
${function(){
const variantData = data.variant || {"id":"49d84921-a5f1-4a47-83f0-a947e5759474","product_id":"f97556e9-d289-47d1-94e2-ad5f0ad7f50e","title":"Light Blue-M","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Light Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b461efc7face2a50a43663f8513943b9.webp","path":"b461efc7face2a50a43663f8513943b9.webp","width":380,"height":530,"alt":"","aspect_ratio":0.7169811320754716},"wholesale_price":[{"price":32.2,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.2","retail_price":"0","available":true,"url":"\/products\/asymmetric-hem-sleeveless-v-neck-chiffon-dress?variant=49d84921-a5f1-4a47-83f0-a947e5759474","available_quantity":999999999,"options":[{"name":"Color","value":"Light Blue"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}