${function() {
const variantData = data.variant || {"id":"22950abb-daf5-4d73-90a9-1f8b3f228825","product_id":"36b9958e-e23f-4d82-a97a-95c12777dd12","title":"166*37mm-Blue","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"166*37mm","option2":"Blue","option3":"","note":"","image":null,"wholesale_price":[{"price":22.79,"min_quantity":1}],"weight":"0","compare_at_price":"45.58","price":"22.79","retail_price":"45.58","available":true,"url":"\/products\/s068-hot-selling-women-sex-toy-remote-controlled-9-patterns-vibrating-love-eggs-bullet-vibrator-for-women?variant=22950abb-daf5-4d73-90a9-1f8b3f228825","available_quantity":999999999,"options":[{"name":"Size","value":"166*37mm"},{"name":"Color","value":"Blue"}],"off_ratio":"50","flashsale_info":{"variant_id":"22950abb-daf5-4d73-90a9-1f8b3f228825","product_id":"","quantity":0,"discount_id":"39f7a298-e85a-4b00-b6db-02532c9b0873","limit_time":3648341,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":1705391999,"starts_at":1698915434,"allow_oversold":"uncheck","allocation_method":"none","price":"22.79","compare_at_price":"45.58","discount_price":"22.79","customary_saved_price":"22.79","customary_off_ratio":"50","discount_saved_price":"22.79","discount_off_ratio":"50","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
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.
${function(){
const variantData = data.variant || {"id":"22950abb-daf5-4d73-90a9-1f8b3f228825","product_id":"36b9958e-e23f-4d82-a97a-95c12777dd12","title":"166*37mm-Blue","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"166*37mm","option2":"Blue","option3":"","note":"","image":null,"wholesale_price":[{"price":22.79,"min_quantity":1}],"weight":"0","compare_at_price":"45.58","price":"22.79","retail_price":"45.58","available":true,"url":"\/products\/s068-hot-selling-women-sex-toy-remote-controlled-9-patterns-vibrating-love-eggs-bullet-vibrator-for-women?variant=22950abb-daf5-4d73-90a9-1f8b3f228825","available_quantity":999999999,"options":[{"name":"Size","value":"166*37mm"},{"name":"Color","value":"Blue"}],"off_ratio":"50","flashsale_info":{"variant_id":"22950abb-daf5-4d73-90a9-1f8b3f228825","product_id":"","quantity":0,"discount_id":"39f7a298-e85a-4b00-b6db-02532c9b0873","limit_time":3648341,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":1705391999,"starts_at":1698915434,"allow_oversold":"uncheck","allocation_method":"none","price":"22.79","compare_at_price":"45.58","discount_price":"22.79","customary_saved_price":"22.79","customary_off_ratio":"50","discount_saved_price":"22.79","discount_off_ratio":"50","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}