${function() {
const variantData = data.variant || {"id":"04b7a088-f0c3-4d3f-a923-66a4e3426b4b","product_id":"534953a5-8d57-46ef-a8f0-0cff9c734cd4","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"BLG287605-PIN00S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ffeeecc2eb4d791d767a0af76f1a0c4.jpeg","path":"3ffeeecc2eb4d791d767a0af76f1a0c4.jpeg","width":675,"height":901,"alt":"","aspect_ratio":0.7491675915649278},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"54","price":"27.99","retail_price":"54","available":true,"url":"\/products\/womens-soft-skin-friendly-christmas-printed-top-2?variant=04b7a088-f0c3-4d3f-a923-66a4e3426b4b","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":48,"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}
`
}()}
${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":"04b7a088-f0c3-4d3f-a923-66a4e3426b4b","product_id":"534953a5-8d57-46ef-a8f0-0cff9c734cd4","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"BLG287605-PIN00S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3ffeeecc2eb4d791d767a0af76f1a0c4.jpeg","path":"3ffeeecc2eb4d791d767a0af76f1a0c4.jpeg","width":675,"height":901,"alt":"","aspect_ratio":0.7491675915649278},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"54","price":"27.99","retail_price":"54","available":true,"url":"\/products\/womens-soft-skin-friendly-christmas-printed-top-2?variant=04b7a088-f0c3-4d3f-a923-66a4e3426b4b","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}