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":"d6618267-7b62-44c1-9c98-c7d67dec49be","product_id":"18f4f716-3151-4925-ba7c-ad539d6fd42e","title":"Red","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":2,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c28f6bdeee6453831030c8299f99cbf.jpeg","path":"9c28f6bdeee6453831030c8299f99cbf.jpeg","width":750,"height":759,"alt":"","aspect_ratio":0.9881422924901185},"wholesale_price":[{"price":29.34,"min_quantity":1}],"weight":"1","compare_at_price":"58.68","price":"29.34","retail_price":"58.68","available":true,"url":"\/products\/s361-drop-shipping-wholesale-rose-vibrators-with-tongue-clitoris-stimulator-rose-toy-for-women?variant=d6618267-7b62-44c1-9c98-c7d67dec49be","available_quantity":999999999,"options":[{"name":"Color","value":"Red"}],"off_ratio":"50","flashsale_info":{"variant_id":"d6618267-7b62-44c1-9c98-c7d67dec49be","product_id":"","quantity":0,"discount_id":"da2718a0-c823-48d7-bc67-78ace5351928","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":1719907200,"allow_oversold":"uncheck","allocation_method":"none","price":"29.34","compare_at_price":"58.68","discount_price":"29.34","customary_saved_price":"29.34","customary_off_ratio":"50","discount_saved_price":"29.34","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 = "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":"d6618267-7b62-44c1-9c98-c7d67dec49be","product_id":"18f4f716-3151-4925-ba7c-ad539d6fd42e","title":"Red","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":2,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c28f6bdeee6453831030c8299f99cbf.jpeg","path":"9c28f6bdeee6453831030c8299f99cbf.jpeg","width":750,"height":759,"alt":"","aspect_ratio":0.9881422924901185},"wholesale_price":[{"price":29.34,"min_quantity":1}],"weight":"1","compare_at_price":"58.68","price":"29.34","retail_price":"58.68","available":true,"url":"\/products\/s361-drop-shipping-wholesale-rose-vibrators-with-tongue-clitoris-stimulator-rose-toy-for-women?variant=d6618267-7b62-44c1-9c98-c7d67dec49be","available_quantity":999999999,"options":[{"name":"Color","value":"Red"}],"off_ratio":"50","flashsale_info":{"variant_id":"d6618267-7b62-44c1-9c98-c7d67dec49be","product_id":"","quantity":0,"discount_id":"da2718a0-c823-48d7-bc67-78ace5351928","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":1719907200,"allow_oversold":"uncheck","allocation_method":"none","price":"29.34","compare_at_price":"58.68","discount_price":"29.34","customary_saved_price":"29.34","customary_off_ratio":"50","discount_saved_price":"29.34","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}
`
}()}