${function() {
const variantData = data.variant || {"id":"2db655e4-cfff-45aa-90fa-4c2778c87dde","product_id":"b619ecd4-febd-4084-8859-c99045f9e639","title":"177mm*38m*33 mm-Blue","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"177mm*38m*33 mm","option2":"Blue","option3":"","note":"","image":null,"wholesale_price":[{"price":13.53,"min_quantity":1}],"weight":"0.35","compare_at_price":"27.06","price":"13.53","retail_price":"27.06","available":true,"url":"\/products\/other-massage-products-clitoris-g-spot-vibrator-women-vibrator-clitoral-stimulation-nipple-vibrator-sex-toys-for-woman?variant=2db655e4-cfff-45aa-90fa-4c2778c87dde","available_quantity":999999999,"options":[{"name":"Size","value":"177mm*38m*33 mm"},{"name":"Color","value":"Blue"}],"off_ratio":"50","flashsale_info":{"variant_id":"2db655e4-cfff-45aa-90fa-4c2778c87dde","product_id":"","quantity":0,"discount_id":"39f7a298-e85a-4b00-b6db-02532c9b0873","limit_time":3229834,"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":"13.53","compare_at_price":"27.06","discount_price":"13.53","customary_saved_price":"13.53","customary_off_ratio":"50","discount_saved_price":"13.53","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":"2db655e4-cfff-45aa-90fa-4c2778c87dde","product_id":"b619ecd4-febd-4084-8859-c99045f9e639","title":"177mm*38m*33 mm-Blue","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"177mm*38m*33 mm","option2":"Blue","option3":"","note":"","image":null,"wholesale_price":[{"price":13.53,"min_quantity":1}],"weight":"0.35","compare_at_price":"27.06","price":"13.53","retail_price":"27.06","available":true,"url":"\/products\/other-massage-products-clitoris-g-spot-vibrator-women-vibrator-clitoral-stimulation-nipple-vibrator-sex-toys-for-woman?variant=2db655e4-cfff-45aa-90fa-4c2778c87dde","available_quantity":999999999,"options":[{"name":"Size","value":"177mm*38m*33 mm"},{"name":"Color","value":"Blue"}],"off_ratio":"50","flashsale_info":{"variant_id":"2db655e4-cfff-45aa-90fa-4c2778c87dde","product_id":"","quantity":0,"discount_id":"39f7a298-e85a-4b00-b6db-02532c9b0873","limit_time":3229834,"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":"13.53","compare_at_price":"27.06","discount_price":"13.53","customary_saved_price":"13.53","customary_off_ratio":"50","discount_saved_price":"13.53","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}
`
}()}