${function() {
const variantData = data.variant || {"id":"f861a6b6-9af0-4350-ac27-0c98fb5ee1cf","product_id":"62c1d59b-4997-4168-8753-a66224562286","title":"Coffee","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056785950","barcode":"","position":2,"option1":"Coffee","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/afb023d15578a7f4c268e994bd32eba1.jpeg","path":"afb023d15578a7f4c268e994bd32eba1.jpeg","width":1300,"height":1300,"alt":"Vintage Canvas Leather Backpacks","aspect_ratio":1},"wholesale_price":[{"price":84.91,"min_quantity":1}],"weight":"0","compare_at_price":"84.91","price":"84.91","retail_price":"84.91","available":true,"url":"\/products\/vintage-canvas-leather-backpacks-8156?variant=f861a6b6-9af0-4350-ac27-0c98fb5ee1cf","available_quantity":1000,"options":[{"name":"Color","value":"Coffee"}],"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":"f861a6b6-9af0-4350-ac27-0c98fb5ee1cf","product_id":"62c1d59b-4997-4168-8753-a66224562286","title":"Coffee","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056785950","barcode":"","position":2,"option1":"Coffee","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/afb023d15578a7f4c268e994bd32eba1.jpeg","path":"afb023d15578a7f4c268e994bd32eba1.jpeg","width":1300,"height":1300,"alt":"Vintage Canvas Leather Backpacks","aspect_ratio":1},"wholesale_price":[{"price":84.91,"min_quantity":1}],"weight":"0","compare_at_price":"84.91","price":"84.91","retail_price":"84.91","available":true,"url":"\/products\/vintage-canvas-leather-backpacks-8156?variant=f861a6b6-9af0-4350-ac27-0c98fb5ee1cf","available_quantity":1000,"options":[{"name":"Color","value":"Coffee"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}