${function() {
const variantData = data.variant || {"id":"40dabbc9-a4d6-46b0-8f34-47713f091cd9","product_id":"89c15849-e5de-4f48-9cb7-f92c813f4958","title":"Tree of Life-2024","weight_unit":"kg","inventory_quantity":888,"sku":"-Tree of Life-2024-A0012798","barcode":"","position":2,"option1":"Tree of Life","option2":"2024","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/164e179bb4de465589744df1bec5a7c4.png","path":"164e179bb4de465589744df1bec5a7c4.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.98,"min_quantity":1}],"weight":"0","compare_at_price":"158.88","price":"79.98","retail_price":"158.88","available":true,"url":"\/products\/timepiece-calendar?variant=40dabbc9-a4d6-46b0-8f34-47713f091cd9","available_quantity":888,"options":[{"name":"Type","value":"Tree of Life"},{"name":"Year","value":"2024"}],"off_ratio":50,"flashsale_info":[],"sales":49};
const saveType = "percentage";
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}
`
}()}
Product was out of stock.
Product is unavailable.