${function() {
const variantData = data.variant || {"id":"f1f11059-0cb8-4b80-a9c3-c7aa5fe1b728","product_id":"6e787a83-20bd-46f5-83dd-2641490dd4b7","title":"5 fl oz","weight_unit":"lb","inventory_quantity":0,"sku":"'8542802947","barcode":"","position":1,"option1":"5 fl oz","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c2a753baee6205ef29abb48877fbd0f.jpeg","path":"5c2a753baee6205ef29abb48877fbd0f.jpeg","width":2048,"height":2048,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34","retail_price":"0","available":true,"url":"\/products\/bumble-and-bumble-seaweed-air-dry-cream?variant=f1f11059-0cb8-4b80-a9c3-c7aa5fe1b728","available_quantity":999999999,"options":[{"name":"Size","value":"5 fl oz"}],"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":"f1f11059-0cb8-4b80-a9c3-c7aa5fe1b728","product_id":"6e787a83-20bd-46f5-83dd-2641490dd4b7","title":"5 fl oz","weight_unit":"lb","inventory_quantity":0,"sku":"'8542802947","barcode":"","position":1,"option1":"5 fl oz","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c2a753baee6205ef29abb48877fbd0f.jpeg","path":"5c2a753baee6205ef29abb48877fbd0f.jpeg","width":2048,"height":2048,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34","retail_price":"0","available":true,"url":"\/products\/bumble-and-bumble-seaweed-air-dry-cream?variant=f1f11059-0cb8-4b80-a9c3-c7aa5fe1b728","available_quantity":999999999,"options":[{"name":"Size","value":"5 fl oz"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}