The current item does not participate in the discount gift campaign. Switch the participating items to check the design.
(This prompt will not be displayed on the client-side)
${function() {
const variantData = data.variant || {"id":"e5da2d28-28ca-4f5e-87bf-e9217164acd2","product_id":"3d7be34d-ab11-47a3-9dac-5b8e904afb4c","title":"Pink","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba6b1014796a9361c40f0fe2ed707e5c.png","path":"ba6b1014796a9361c40f0fe2ed707e5c.png","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.5,"min_quantity":1}],"weight":"0.21","compare_at_price":"89.99","price":"31.5","retail_price":"89.99","available":true,"url":"\/products\/h004-silicone-tongue-licking-sex-toy-vibrating-shaking-sucking-clitoris-vibrator-in-sex-products-women?variant=e5da2d28-28ca-4f5e-87bf-e9217164acd2","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"}],"off_ratio":"65","flashsale_info":{"variant_id":"e5da2d28-28ca-4f5e-87bf-e9217164acd2","product_id":"","quantity":0,"discount_id":"4179750e-fde5-4db7-8119-f1aa8dd09f83","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":-1,"starts_at":1699268226,"allow_oversold":"uncheck","allocation_method":"none","price":"31.5","compare_at_price":"89.99","discount_price":"31.5","customary_saved_price":"58.49","customary_off_ratio":"65","discount_saved_price":"58.49","discount_off_ratio":"65","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":"e5da2d28-28ca-4f5e-87bf-e9217164acd2","product_id":"3d7be34d-ab11-47a3-9dac-5b8e904afb4c","title":"Pink","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba6b1014796a9361c40f0fe2ed707e5c.png","path":"ba6b1014796a9361c40f0fe2ed707e5c.png","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.5,"min_quantity":1}],"weight":"0.21","compare_at_price":"89.99","price":"31.5","retail_price":"89.99","available":true,"url":"\/products\/h004-silicone-tongue-licking-sex-toy-vibrating-shaking-sucking-clitoris-vibrator-in-sex-products-women?variant=e5da2d28-28ca-4f5e-87bf-e9217164acd2","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"}],"off_ratio":"65","flashsale_info":{"variant_id":"e5da2d28-28ca-4f5e-87bf-e9217164acd2","product_id":"","quantity":0,"discount_id":"4179750e-fde5-4db7-8119-f1aa8dd09f83","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":-1,"starts_at":1699268226,"allow_oversold":"uncheck","allocation_method":"none","price":"31.5","compare_at_price":"89.99","discount_price":"31.5","customary_saved_price":"58.49","customary_off_ratio":"65","discount_saved_price":"58.49","discount_off_ratio":"65","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}
`
}()}