${function() {
const variantData = data.variant || {"id":"a37b5966-b247-4b06-8f19-951c18a2cd72","product_id":"9da97f0c-5d15-4ec1-8f3d-055ee9339ef7","title":"Brown","weight_unit":"kg","inventory_quantity":25,"sku":"","barcode":"","position":3,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2c662052f602353bb47179601454bf2.jpg","path":"f2c662052f602353bb47179601454bf2.jpg","width":1920,"height":2400,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":158,"min_quantity":1}],"weight":"0","compare_at_price":"188","price":"158","retail_price":"188","available":true,"url":"\/products\/get-a-20cm-the-straps-can-be-adjusted-to-be-worn-over-the-shoulder-or-across-the-body-ermm-0ac8-sz7j-bwrj?variant=a37b5966-b247-4b06-8f19-951c18a2cd72","available_quantity":25,"options":[{"name":"Color","value":"Brown"}],"off_ratio":16,"flashsale_info":[],"sales":7};
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":"a37b5966-b247-4b06-8f19-951c18a2cd72","product_id":"9da97f0c-5d15-4ec1-8f3d-055ee9339ef7","title":"Brown","weight_unit":"kg","inventory_quantity":25,"sku":"","barcode":"","position":3,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2c662052f602353bb47179601454bf2.jpg","path":"f2c662052f602353bb47179601454bf2.jpg","width":1920,"height":2400,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":158,"min_quantity":1}],"weight":"0","compare_at_price":"188","price":"158","retail_price":"188","available":true,"url":"\/products\/get-a-20cm-the-straps-can-be-adjusted-to-be-worn-over-the-shoulder-or-across-the-body-ermm-0ac8-sz7j-bwrj?variant=a37b5966-b247-4b06-8f19-951c18a2cd72","available_quantity":25,"options":[{"name":"Color","value":"Brown"}],"off_ratio":16,"flashsale_info":[],"sales":7};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}