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":"1fcd3d38-ed27-4afc-96f1-eda334f5811b","product_id":"e67aaa78-3d3e-4b86-bf39-ec9781e26bd5","title":"Same As Photo","weight_unit":"kg","inventory_quantity":10,"sku":"","barcode":"","position":1,"option1":"Same As Photo","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":736.33,"min_quantity":1}],"weight":"44","compare_at_price":"1099","price":"736.33","retail_price":"1099","available":true,"url":"\/products\/71cm-aditi-most-realistic-sex-doll-butt-torso?variant=1fcd3d38-ed27-4afc-96f1-eda334f5811b","available_quantity":999999999,"options":[{"name":"Breast","value":"Same As Photo"}],"off_ratio":"33","flashsale_info":{"variant_id":"1fcd3d38-ed27-4afc-96f1-eda334f5811b","product_id":"","quantity":0,"discount_id":"bc67387e-7ebd-4347-bff6-7727fed27d3c","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":1699001163,"allow_oversold":"uncheck","allocation_method":"none","price":"736.33","compare_at_price":"1099","discount_price":"736.33","customary_saved_price":"362.67","customary_off_ratio":"33","discount_saved_price":"362.67","discount_off_ratio":"33","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":"1fcd3d38-ed27-4afc-96f1-eda334f5811b","product_id":"e67aaa78-3d3e-4b86-bf39-ec9781e26bd5","title":"Same As Photo","weight_unit":"kg","inventory_quantity":10,"sku":"","barcode":"","position":1,"option1":"Same As Photo","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":736.33,"min_quantity":1}],"weight":"44","compare_at_price":"1099","price":"736.33","retail_price":"1099","available":true,"url":"\/products\/71cm-aditi-most-realistic-sex-doll-butt-torso?variant=1fcd3d38-ed27-4afc-96f1-eda334f5811b","available_quantity":999999999,"options":[{"name":"Breast","value":"Same As Photo"}],"off_ratio":"33","flashsale_info":{"variant_id":"1fcd3d38-ed27-4afc-96f1-eda334f5811b","product_id":"","quantity":0,"discount_id":"bc67387e-7ebd-4347-bff6-7727fed27d3c","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":1699001163,"allow_oversold":"uncheck","allocation_method":"none","price":"736.33","compare_at_price":"1099","discount_price":"736.33","customary_saved_price":"362.67","customary_off_ratio":"33","discount_saved_price":"362.67","discount_off_ratio":"33","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}
`
}()}