${function() {
const variantData = data.variant || {"id":"d0e2cdf2-3c56-45b7-852a-448e47f0f2f2","product_id":"11bfeab9-e25d-4c4c-aaf8-b9a037024772","title":"Pink-M","weight_unit":"g","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/761911743cea5df029707f2985bb15be.webp","path":"761911743cea5df029707f2985bb15be.webp","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.95","retail_price":"0","available":true,"url":"\/products\/women-a-line-daily-short-sleeve-pockets-solid-dress?variant=d0e2cdf2-3c56-45b7-852a-448e47f0f2f2","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"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":"d0e2cdf2-3c56-45b7-852a-448e47f0f2f2","product_id":"11bfeab9-e25d-4c4c-aaf8-b9a037024772","title":"Pink-M","weight_unit":"g","inventory_quantity":1,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/761911743cea5df029707f2985bb15be.webp","path":"761911743cea5df029707f2985bb15be.webp","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.95","retail_price":"0","available":true,"url":"\/products\/women-a-line-daily-short-sleeve-pockets-solid-dress?variant=d0e2cdf2-3c56-45b7-852a-448e47f0f2f2","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"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}
`
}()}