${function() {
const variantData = data.variant || {"id":"165a3bde-0dc7-468f-95ee-38dc43d4c6ff","product_id":"c02934dc-b5a3-4551-a968-a78efa8abeb6","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"EO23090705-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"55","price":"36.99","retail_price":"55","available":true,"url":"\/products\/grey-linen-suspenders-pant?variant=165a3bde-0dc7-468f-95ee-38dc43d4c6ff","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":14};
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":"165a3bde-0dc7-468f-95ee-38dc43d4c6ff","product_id":"c02934dc-b5a3-4551-a968-a78efa8abeb6","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"EO23090705-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"55","price":"36.99","retail_price":"55","available":true,"url":"\/products\/grey-linen-suspenders-pant?variant=165a3bde-0dc7-468f-95ee-38dc43d4c6ff","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":14};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}