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":"a10ca474-b8f1-4539-9c6b-a462b7c6ddb9","product_id":"91a8ba10-ecb1-4d44-8951-d871fcdccdb4","title":"Pink","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/185f47828278f09f5cfdb9c96ddf0166.png","path":"185f47828278f09f5cfdb9c96ddf0166.png","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.5,"min_quantity":1}],"weight":"0.2","compare_at_price":"49.99","price":"17.5","retail_price":"49.99","available":true,"url":"\/products\/x006-snow-mountain-shape-sucking-vibrators-clitoris-sucker-breast-clips-sex-toy-adults-products-stimulate-vibrators-for-women-with-7-lighting-adjustments?variant=a10ca474-b8f1-4539-9c6b-a462b7c6ddb9","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"}],"off_ratio":"65","flashsale_info":{"variant_id":"a10ca474-b8f1-4539-9c6b-a462b7c6ddb9","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":"17.5","compare_at_price":"49.99","discount_price":"17.5","customary_saved_price":"32.49","customary_off_ratio":"65","discount_saved_price":"32.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":"a10ca474-b8f1-4539-9c6b-a462b7c6ddb9","product_id":"91a8ba10-ecb1-4d44-8951-d871fcdccdb4","title":"Pink","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/185f47828278f09f5cfdb9c96ddf0166.png","path":"185f47828278f09f5cfdb9c96ddf0166.png","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.5,"min_quantity":1}],"weight":"0.2","compare_at_price":"49.99","price":"17.5","retail_price":"49.99","available":true,"url":"\/products\/x006-snow-mountain-shape-sucking-vibrators-clitoris-sucker-breast-clips-sex-toy-adults-products-stimulate-vibrators-for-women-with-7-lighting-adjustments?variant=a10ca474-b8f1-4539-9c6b-a462b7c6ddb9","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"}],"off_ratio":"65","flashsale_info":{"variant_id":"a10ca474-b8f1-4539-9c6b-a462b7c6ddb9","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":"17.5","compare_at_price":"49.99","discount_price":"17.5","customary_saved_price":"32.49","customary_off_ratio":"65","discount_saved_price":"32.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}
`
}()}