${function() {
const variantData = data.variant || {"id":"e58be7cf-772e-42cf-9bf4-ca2fe3c85489","product_id":"a8906227-08c5-4596-93fe-5866411862dd","title":"S","weight_unit":"kg","inventory_quantity":0,"sku":"MMZX04849_BL_S","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5129f7d7c927bd6551cd466188093e53.jpeg","path":"5129f7d7c927bd6551cd466188093e53.jpeg","width":1011,"height":1200,"alt":"","aspect_ratio":0.8425},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"45.99","retail_price":"59.99","available":true,"url":"\/products\/retro-plaid-velvet-shirt-jacket?variant=e58be7cf-772e-42cf-9bf4-ca2fe3c85489","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":1};
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":"e58be7cf-772e-42cf-9bf4-ca2fe3c85489","product_id":"a8906227-08c5-4596-93fe-5866411862dd","title":"S","weight_unit":"kg","inventory_quantity":0,"sku":"MMZX04849_BL_S","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5129f7d7c927bd6551cd466188093e53.jpeg","path":"5129f7d7c927bd6551cd466188093e53.jpeg","width":1011,"height":1200,"alt":"","aspect_ratio":0.8425},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"45.99","retail_price":"59.99","available":true,"url":"\/products\/retro-plaid-velvet-shirt-jacket?variant=e58be7cf-772e-42cf-9bf4-ca2fe3c85489","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}