${function() {
const variantData = data.variant || {"id":"73a0da1c-453f-45bd-92b8-04456b619047","product_id":"f8000d82-c69e-4be6-b644-983ebd9f633a","title":"Silver-White Gold","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Silver","option2":"White Gold","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f7132743d77ff3caa7313ccb0f3e50e0.jpg","path":"f7132743d77ff3caa7313ccb0f3e50e0.jpg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"5","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/test-product?variant=73a0da1c-453f-45bd-92b8-04456b619047","available_quantity":999999999,"options":[{"name":"Material","value":"Silver"},{"name":"Color","value":"White Gold"}],"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 + '%'
: ``
)}
`;
}()}
Pay in 4 interest-free over $30.00?
3 payments of £8.33 with Klarna. Learn more
${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":"73a0da1c-453f-45bd-92b8-04456b619047","product_id":"f8000d82-c69e-4be6-b644-983ebd9f633a","title":"Silver-White Gold","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Silver","option2":"White Gold","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f7132743d77ff3caa7313ccb0f3e50e0.jpg","path":"f7132743d77ff3caa7313ccb0f3e50e0.jpg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"5","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/test-product?variant=73a0da1c-453f-45bd-92b8-04456b619047","available_quantity":999999999,"options":[{"name":"Material","value":"Silver"},{"name":"Color","value":"White Gold"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}