${function() {
const variantData = data.variant || {"id":"0ae22dea-9130-4c47-bcf8-915f1623b894","product_id":"1575608d-9a88-427b-b33f-a6744df02577","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Black S-28342548","barcode":"","position":13,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a16143568a4a7fa43ef988768f2935fd.jpeg","path":"a16143568a4a7fa43ef988768f2935fd.jpeg","width":1000,"height":1500,"alt":"2021 Hot Style Loose Solid Color Cotton And Linen Stitching Round Neck Simple Long-Sleeved Dress","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":27.84,"min_quantity":1}],"weight":"0","compare_at_price":"27.84","price":"27.84","retail_price":"27.84","available":true,"url":"\/products\/2021-hot-style-loose-solid-color-cotton-and-linen-stitching-round-neck-simple-long-sleeved-dress-208528492308?variant=0ae22dea-9130-4c47-bcf8-915f1623b894","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.
${function(){
const variantData = data.variant || {"id":"0ae22dea-9130-4c47-bcf8-915f1623b894","product_id":"1575608d-9a88-427b-b33f-a6744df02577","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Black S-28342548","barcode":"","position":13,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a16143568a4a7fa43ef988768f2935fd.jpeg","path":"a16143568a4a7fa43ef988768f2935fd.jpeg","width":1000,"height":1500,"alt":"2021 Hot Style Loose Solid Color Cotton And Linen Stitching Round Neck Simple Long-Sleeved Dress","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":27.84,"min_quantity":1}],"weight":"0","compare_at_price":"27.84","price":"27.84","retail_price":"27.84","available":true,"url":"\/products\/2021-hot-style-loose-solid-color-cotton-and-linen-stitching-round-neck-simple-long-sleeved-dress-208528492308?variant=0ae22dea-9130-4c47-bcf8-915f1623b894","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}