${function() {
const variantData = data.variant || {"id":"65ffa9b3-9e0c-41ea-a852-563d7ba29670","product_id":"7e097af0-cab8-4ef9-8c7b-9dcd1de95992","title":"19cm-Gold-Brown","weight_unit":"kg","inventory_quantity":678,"sku":"","barcode":"","position":2,"option1":"19cm","option2":"Gold","option3":"Brown","note":"","image":{"src":"\/\/img.staticdj.com\/ef093c672509b9b49e123512e4fd0d4e.jpg","path":"ef093c672509b9b49e123512e4fd0d4e.jpg","width":1534,"height":1918,"alt":"","aspect_ratio":0.799791449426486},"wholesale_price":[{"price":168,"min_quantity":1}],"weight":"0","compare_at_price":"198","price":"168","retail_price":"198","available":true,"url":"\/products\/19cm-23cm-classic-bag-p790-uf8i?variant=65ffa9b3-9e0c-41ea-a852-563d7ba29670","available_quantity":678,"options":[{"name":"Size","value":"19cm"},{"name":"Hardware","value":"Gold"},{"name":"Color","value":"Brown"}],"off_ratio":15,"flashsale_info":[],"sales":32};
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}
`
}()}
${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":"65ffa9b3-9e0c-41ea-a852-563d7ba29670","product_id":"7e097af0-cab8-4ef9-8c7b-9dcd1de95992","title":"19cm-Gold-Brown","weight_unit":"kg","inventory_quantity":678,"sku":"","barcode":"","position":2,"option1":"19cm","option2":"Gold","option3":"Brown","note":"","image":{"src":"\/\/img.staticdj.com\/ef093c672509b9b49e123512e4fd0d4e.jpg","path":"ef093c672509b9b49e123512e4fd0d4e.jpg","width":1534,"height":1918,"alt":"","aspect_ratio":0.799791449426486},"wholesale_price":[{"price":168,"min_quantity":1}],"weight":"0","compare_at_price":"198","price":"168","retail_price":"198","available":true,"url":"\/products\/19cm-23cm-classic-bag-p790-uf8i?variant=65ffa9b3-9e0c-41ea-a852-563d7ba29670","available_quantity":678,"options":[{"name":"Size","value":"19cm"},{"name":"Hardware","value":"Gold"},{"name":"Color","value":"Brown"}],"off_ratio":15,"flashsale_info":[],"sales":32};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}