${function() {
const variantData = data.variant || {"id":"ebafe118-5f66-4164-8316-d6d879d7bad4","product_id":"e3e9621e-f431-4b27-9168-6f7177bffcc4","title":"Brown","weight_unit":"lb","inventory_quantity":100,"sku":"47230681","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a20c4850cd99b4d511145a464797b5bd.jpeg","path":"a20c4850cd99b4d511145a464797b5bd.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":141.1,"min_quantity":1}],"weight":"20","compare_at_price":"166","price":"141.1","retail_price":"166","available":true,"url":"\/products\/modern-nesting-end-tables-2-pcs-set?variant=ebafe118-5f66-4164-8316-d6d879d7bad4","available_quantity":100,"options":[{"name":"\u989c\u8272","value":"Brown"}],"off_ratio":"15","flashsale_info":{"variant_id":"ebafe118-5f66-4164-8316-d6d879d7bad4","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":131988,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"141.1","compare_at_price":"166","discount_price":"141.1","customary_saved_price":"24.9","customary_off_ratio":"15","discount_saved_price":"24.9","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":"ebafe118-5f66-4164-8316-d6d879d7bad4","product_id":"e3e9621e-f431-4b27-9168-6f7177bffcc4","title":"Brown","weight_unit":"lb","inventory_quantity":100,"sku":"47230681","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a20c4850cd99b4d511145a464797b5bd.jpeg","path":"a20c4850cd99b4d511145a464797b5bd.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":141.1,"min_quantity":1}],"weight":"20","compare_at_price":"166","price":"141.1","retail_price":"166","available":true,"url":"\/products\/modern-nesting-end-tables-2-pcs-set?variant=ebafe118-5f66-4164-8316-d6d879d7bad4","available_quantity":100,"options":[{"name":"\u989c\u8272","value":"Brown"}],"off_ratio":"15","flashsale_info":{"variant_id":"ebafe118-5f66-4164-8316-d6d879d7bad4","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":131988,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"141.1","compare_at_price":"166","discount_price":"141.1","customary_saved_price":"24.9","customary_off_ratio":"15","discount_saved_price":"24.9","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 `
`
}()}