Sttes Perfume 02#(Irresistible Sunshine) - Eau De Perfume 100ml (3.4fl Oz) vanilla Gourmet tune (Caramel vanilla flavor)
${function() {
const variantData = data.variant || {"id":"784f7428-980c-44ef-ad58-ba2a96892415","product_id":"4fad19b4-165e-48b8-9f94-549edf873dfc","title":"02 Perfume*1","weight_unit":"kg","inventory_quantity":10064,"sku":"02","barcode":"","position":1,"option1":"02 Perfume*1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4175f0f352e67556f66d22822bce21d.jpg","path":"d4175f0f352e67556f66d22822bce21d.jpg","width":1600,"height":1600,"alt":"Sttes Perfume 02#\uff08Irresistible Sunshine\uff09 - Eau De Perfume 100ml (3.4fl Oz) vanilla Gourmet tune (Caramel vanilla flavor) ","aspect_ratio":1},"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"24","retail_price":"40","available":true,"url":"\/products\/sttes-perfume-02-irresistible-sunshine-eau-de-perfume-100ml-3-4fl-oz-vanilla-gourmet-tune-caramel-vanilla-flavor?variant=784f7428-980c-44ef-ad58-ba2a96892415","available_quantity":999999999,"options":[{"name":"Specification","value":"02 Perfume*1"}],"off_ratio":"40","flashsale_info":{"variant_id":"784f7428-980c-44ef-ad58-ba2a96892415","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":"24","compare_at_price":"","discount_price":"24","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"40","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":7496};
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":"784f7428-980c-44ef-ad58-ba2a96892415","product_id":"4fad19b4-165e-48b8-9f94-549edf873dfc","title":"02 Perfume*1","weight_unit":"kg","inventory_quantity":10064,"sku":"02","barcode":"","position":1,"option1":"02 Perfume*1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4175f0f352e67556f66d22822bce21d.jpg","path":"d4175f0f352e67556f66d22822bce21d.jpg","width":1600,"height":1600,"alt":"Sttes Perfume 02#\uff08Irresistible Sunshine\uff09 - Eau De Perfume 100ml (3.4fl Oz) vanilla Gourmet tune (Caramel vanilla flavor) ","aspect_ratio":1},"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"24","retail_price":"40","available":true,"url":"\/products\/sttes-perfume-02-irresistible-sunshine-eau-de-perfume-100ml-3-4fl-oz-vanilla-gourmet-tune-caramel-vanilla-flavor?variant=784f7428-980c-44ef-ad58-ba2a96892415","available_quantity":999999999,"options":[{"name":"Specification","value":"02 Perfume*1"}],"off_ratio":"40","flashsale_info":{"variant_id":"784f7428-980c-44ef-ad58-ba2a96892415","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":"24","compare_at_price":"","discount_price":"24","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"40","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":7496};
return `
Inventory : ${variantData && variantData.available_quantity}
`
}()}
Product was out of stock.
Product does not exist
${function(){
const variantData = data.variant || {"id":"784f7428-980c-44ef-ad58-ba2a96892415","product_id":"4fad19b4-165e-48b8-9f94-549edf873dfc","title":"02 Perfume*1","weight_unit":"kg","inventory_quantity":10064,"sku":"02","barcode":"","position":1,"option1":"02 Perfume*1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4175f0f352e67556f66d22822bce21d.jpg","path":"d4175f0f352e67556f66d22822bce21d.jpg","width":1600,"height":1600,"alt":"Sttes Perfume 02#\uff08Irresistible Sunshine\uff09 - Eau De Perfume 100ml (3.4fl Oz) vanilla Gourmet tune (Caramel vanilla flavor) ","aspect_ratio":1},"wholesale_price":[{"price":24,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"24","retail_price":"40","available":true,"url":"\/products\/sttes-perfume-02-irresistible-sunshine-eau-de-perfume-100ml-3-4fl-oz-vanilla-gourmet-tune-caramel-vanilla-flavor?variant=784f7428-980c-44ef-ad58-ba2a96892415","available_quantity":999999999,"options":[{"name":"Specification","value":"02 Perfume*1"}],"off_ratio":"40","flashsale_info":{"variant_id":"784f7428-980c-44ef-ad58-ba2a96892415","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":"24","compare_at_price":"","discount_price":"24","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"40","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":7496};
return `
SKU : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${data.discount_code}