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":"e82b0504-e226-4a9c-b48f-aafa996ad3ca","product_id":"62dd8aa8-3255-4afd-ab71-43bada5ab11b","title":"Red","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12258887282d2360ec8c97cbf1b1bab3.jpeg","path":"12258887282d2360ec8c97cbf1b1bab3.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.13,"min_quantity":1}],"weight":"0","compare_at_price":"56.26","price":"28.13","retail_price":"56.26","available":true,"url":"\/products\/drop-shipping-ambient-lighting-clitoral-sucking-vibrator-nipple-breast-pussy-vagina-sex-toy-rose-vibrator?variant=e82b0504-e226-4a9c-b48f-aafa996ad3ca","available_quantity":999999999,"options":[{"name":"Color","value":"Red"}],"off_ratio":"50","flashsale_info":{"variant_id":"e82b0504-e226-4a9c-b48f-aafa996ad3ca","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":"28.13","compare_at_price":"56.26","discount_price":"28.13","customary_saved_price":"28.13","customary_off_ratio":"50","discount_saved_price":"28.13","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":"e82b0504-e226-4a9c-b48f-aafa996ad3ca","product_id":"62dd8aa8-3255-4afd-ab71-43bada5ab11b","title":"Red","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12258887282d2360ec8c97cbf1b1bab3.jpeg","path":"12258887282d2360ec8c97cbf1b1bab3.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.13,"min_quantity":1}],"weight":"0","compare_at_price":"56.26","price":"28.13","retail_price":"56.26","available":true,"url":"\/products\/drop-shipping-ambient-lighting-clitoral-sucking-vibrator-nipple-breast-pussy-vagina-sex-toy-rose-vibrator?variant=e82b0504-e226-4a9c-b48f-aafa996ad3ca","available_quantity":999999999,"options":[{"name":"Color","value":"Red"}],"off_ratio":"50","flashsale_info":{"variant_id":"e82b0504-e226-4a9c-b48f-aafa996ad3ca","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":"28.13","compare_at_price":"56.26","discount_price":"28.13","customary_saved_price":"28.13","customary_off_ratio":"50","discount_saved_price":"28.13","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}
`
}()}