New Easy Carry Mini Pocket Contact Lens Cases with Mirror Kit Travel Convenient Contact Lens Case Container For Outdoor
${function() {
const variantData = data.variant || {"id":"c2fbc8b2-3ef0-4f19-9723-1d1e475bfc81","product_id":"c6fa6fa6-9c87-44f5-976c-40d7fdfbb7b4","title":"blue","weight_unit":"kg","inventory_quantity":0,"sku":"10066-blue","barcode":"","position":1,"option1":"blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/watermark0ef745bd13cfdad722a84c234deccb12.jpeg","path":"watermark0ef745bd13cfdad722a84c234deccb12.jpeg","width":1000,"height":1000,"alt":"New Easy Carry Mini Pocket Contact Lens Cases with Mirror Kit Travel Convenient Contact Lens Case Container For Outdoor dianjiang James Yang","aspect_ratio":1},"wholesale_price":[{"price":13.49,"min_quantity":1}],"weight":"0.03","compare_at_price":"13.49","price":"13.49","retail_price":"13.49","available":false,"url":"\/products\/new-easy-carry-mini-pocket-contact-lens-cases-with-mirror-kit-travel-convenient-contact-lens-case-container-for-outdoor?variant=c2fbc8b2-3ef0-4f19-9723-1d1e475bfc81","available_quantity":0,"options":[{"name":"Color","value":"blue"}],"off_ratio":"0","flashsale_info":{"variant_id":"c2fbc8b2-3ef0-4f19-9723-1d1e475bfc81","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"13.49","compare_at_price":"","discount_price":"13.49","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
const map = {
B: ``,
C: ``,
A: `
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`
}
const price_group_arr = ["B","C","A"];
const price_str_arr = price_group_arr.map(type => map[type]);
return `
-
${price_str_arr.join('')}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const variantData = data.variant || {"id":"c2fbc8b2-3ef0-4f19-9723-1d1e475bfc81","product_id":"c6fa6fa6-9c87-44f5-976c-40d7fdfbb7b4","title":"blue","weight_unit":"kg","inventory_quantity":0,"sku":"10066-blue","barcode":"","position":1,"option1":"blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/watermark0ef745bd13cfdad722a84c234deccb12.jpeg","path":"watermark0ef745bd13cfdad722a84c234deccb12.jpeg","width":1000,"height":1000,"alt":"New Easy Carry Mini Pocket Contact Lens Cases with Mirror Kit Travel Convenient Contact Lens Case Container For Outdoor dianjiang James Yang","aspect_ratio":1},"wholesale_price":[{"price":13.49,"min_quantity":1}],"weight":"0.03","compare_at_price":"13.49","price":"13.49","retail_price":"13.49","available":false,"url":"\/products\/new-easy-carry-mini-pocket-contact-lens-cases-with-mirror-kit-travel-convenient-contact-lens-case-container-for-outdoor?variant=c2fbc8b2-3ef0-4f19-9723-1d1e475bfc81","available_quantity":0,"options":[{"name":"Color","value":"blue"}],"off_ratio":"0","flashsale_info":{"variant_id":"c2fbc8b2-3ef0-4f19-9723-1d1e475bfc81","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"13.49","compare_at_price":"","discount_price":"13.49","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
Inventory : ${variantData && variantData.available_quantity}
`
}()}
Product was out of stock.
Product does not exist
SKU : 10066-blue
Weight : 0.03kg
${function(){
const variantData = data.variant || {"id":"c2fbc8b2-3ef0-4f19-9723-1d1e475bfc81","product_id":"c6fa6fa6-9c87-44f5-976c-40d7fdfbb7b4","title":"blue","weight_unit":"kg","inventory_quantity":0,"sku":"10066-blue","barcode":"","position":1,"option1":"blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/watermark0ef745bd13cfdad722a84c234deccb12.jpeg","path":"watermark0ef745bd13cfdad722a84c234deccb12.jpeg","width":1000,"height":1000,"alt":"New Easy Carry Mini Pocket Contact Lens Cases with Mirror Kit Travel Convenient Contact Lens Case Container For Outdoor dianjiang James Yang","aspect_ratio":1},"wholesale_price":[{"price":13.49,"min_quantity":1}],"weight":"0.03","compare_at_price":"13.49","price":"13.49","retail_price":"13.49","available":false,"url":"\/products\/new-easy-carry-mini-pocket-contact-lens-cases-with-mirror-kit-travel-convenient-contact-lens-case-container-for-outdoor?variant=c2fbc8b2-3ef0-4f19-9723-1d1e475bfc81","available_quantity":0,"options":[{"name":"Color","value":"blue"}],"off_ratio":"0","flashsale_info":{"variant_id":"c2fbc8b2-3ef0-4f19-9723-1d1e475bfc81","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"13.49","compare_at_price":"","discount_price":"13.49","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","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}
`
}()}