${function() {
const variantData = data.variant || {"id":"7c0ce2f3-adc4-4d89-a14d-64287d11d972","product_id":"c4da4234-31f5-4c5e-84c1-4fd6f76f6943","title":"S","weight_unit":"kg","inventory_quantity":0,"sku":"30285818-s","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/34c5867fbb7365c011d6efccf6e925c4.jpeg","path":"34c5867fbb7365c011d6efccf6e925c4.jpeg","width":1600,"height":2400,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.89","retail_price":"0","available":true,"url":"\/products\/blue-shirt-vintage-casual-loose-pocket-blouse?variant=7c0ce2f3-adc4-4d89-a14d-64287d11d972","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":0,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"7c0ce2f3-adc4-4d89-a14d-64287d11d972","product_id":"c4da4234-31f5-4c5e-84c1-4fd6f76f6943","title":"S","weight_unit":"kg","inventory_quantity":0,"sku":"30285818-s","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/34c5867fbb7365c011d6efccf6e925c4.jpeg","path":"34c5867fbb7365c011d6efccf6e925c4.jpeg","width":1600,"height":2400,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":21.89,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.89","retail_price":"0","available":true,"url":"\/products\/blue-shirt-vintage-casual-loose-pocket-blouse?variant=7c0ce2f3-adc4-4d89-a14d-64287d11d972","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}