${function() {
const variantData = data.variant || {"id":"ca2ac1e6-4159-44bc-9087-26b7cb66c3dd","product_id":"c0762780-c066-4a57-99f9-be5761cfdc36","title":"Green-5.5 x 5.5 x 8.5 inch (L x W x H)","weight_unit":"lb","inventory_quantity":50,"sku":"G-555585","barcode":"","position":1,"option1":"Green","option2":"5.5 x 5.5 x 8.5 inch (L x W x H)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b54f879c1f924984bbd2739624cd754c.png","path":"b54f879c1f924984bbd2739624cd754c.png","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.6,"min_quantity":1}],"weight":"1.43","compare_at_price":"36","price":"30.6","retail_price":"36","available":true,"url":"\/products\/metal-acorn-bird-feeder?variant=ca2ac1e6-4159-44bc-9087-26b7cb66c3dd","available_quantity":50,"options":[{"name":"\u989c\u8272","value":"Green"},{"name":"Size","value":"5.5 x 5.5 x 8.5 inch (L x W x H)"}],"off_ratio":"15","flashsale_info":{"variant_id":"ca2ac1e6-4159-44bc-9087-26b7cb66c3dd","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":1550914,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":50,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"30.6","compare_at_price":"36","discount_price":"30.6","customary_saved_price":"5.4","customary_off_ratio":"15","discount_saved_price":"5.4","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}
`
}()}
${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":"ca2ac1e6-4159-44bc-9087-26b7cb66c3dd","product_id":"c0762780-c066-4a57-99f9-be5761cfdc36","title":"Green-5.5 x 5.5 x 8.5 inch (L x W x H)","weight_unit":"lb","inventory_quantity":50,"sku":"G-555585","barcode":"","position":1,"option1":"Green","option2":"5.5 x 5.5 x 8.5 inch (L x W x H)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b54f879c1f924984bbd2739624cd754c.png","path":"b54f879c1f924984bbd2739624cd754c.png","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.6,"min_quantity":1}],"weight":"1.43","compare_at_price":"36","price":"30.6","retail_price":"36","available":true,"url":"\/products\/metal-acorn-bird-feeder?variant=ca2ac1e6-4159-44bc-9087-26b7cb66c3dd","available_quantity":50,"options":[{"name":"\u989c\u8272","value":"Green"},{"name":"Size","value":"5.5 x 5.5 x 8.5 inch (L x W x H)"}],"off_ratio":"15","flashsale_info":{"variant_id":"ca2ac1e6-4159-44bc-9087-26b7cb66c3dd","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":1550914,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":50,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"30.6","compare_at_price":"36","discount_price":"30.6","customary_saved_price":"5.4","customary_off_ratio":"15","discount_saved_price":"5.4","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 `
`
}()}