${function() {
const variantData = data.variant || {"id":"0f7453f2-c178-4cce-8b3a-5981c8d9274a","product_id":"a44738fb-f6e0-4ec4-9832-77730b84e925","title":"Grey","weight_unit":"kg","inventory_quantity":40,"sku":"AMT0178GY","barcode":"","position":1,"option1":"Grey","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f72a2c28d6ae9e230049bb66245dc4a1.jpg","path":"f72a2c28d6ae9e230049bb66245dc4a1.jpg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":74.8,"min_quantity":1}],"weight":"0","compare_at_price":"88","price":"74.8","retail_price":"88","available":true,"url":"\/products\/pet-cat-tree-house-condo-perch-for-kitten-multi-level-tower?variant=0f7453f2-c178-4cce-8b3a-5981c8d9274a","available_quantity":40,"options":[{"name":"Color","value":"Grey"}],"off_ratio":"15","flashsale_info":{"variant_id":"0f7453f2-c178-4cce-8b3a-5981c8d9274a","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":742164,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":40,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"74.8","compare_at_price":"88","discount_price":"74.8","customary_saved_price":"13.2","customary_off_ratio":"15","discount_saved_price":"13.2","discount_off_ratio":"15","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"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":"0f7453f2-c178-4cce-8b3a-5981c8d9274a","product_id":"a44738fb-f6e0-4ec4-9832-77730b84e925","title":"Grey","weight_unit":"kg","inventory_quantity":40,"sku":"AMT0178GY","barcode":"","position":1,"option1":"Grey","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f72a2c28d6ae9e230049bb66245dc4a1.jpg","path":"f72a2c28d6ae9e230049bb66245dc4a1.jpg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":74.8,"min_quantity":1}],"weight":"0","compare_at_price":"88","price":"74.8","retail_price":"88","available":true,"url":"\/products\/pet-cat-tree-house-condo-perch-for-kitten-multi-level-tower?variant=0f7453f2-c178-4cce-8b3a-5981c8d9274a","available_quantity":40,"options":[{"name":"Color","value":"Grey"}],"off_ratio":"15","flashsale_info":{"variant_id":"0f7453f2-c178-4cce-8b3a-5981c8d9274a","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":742164,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":40,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"74.8","compare_at_price":"88","discount_price":"74.8","customary_saved_price":"13.2","customary_off_ratio":"15","discount_saved_price":"13.2","discount_off_ratio":"15","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
`
}()}