Pure Cotton Plus-Size Panties
${function() {
const variantData = data.variant || {"id":"a6c9d675-e892-452c-bdc5-b3efc4f21dd9","product_id":"c431d57f-7dd7-4de8-addb-6091d5e94e97","title":"Blue-L","weight_unit":"kg","inventory_quantity":200,"sku":"433729qmwbnk-Blue-L","barcode":"","position":1,"option1":"Blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61dd3f8aff8852d0209fd5ed69b9c543.jpeg","path":"61dd3f8aff8852d0209fd5ed69b9c543.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.02","compare_at_price":"6.99","price":"4.99","retail_price":"6.99","available":true,"url":"\/products\/pure-cotton-plus-size-panties?variant=a6c9d675-e892-452c-bdc5-b3efc4f21dd9","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"L"}],"off_ratio":"29","flashsale_info":{"variant_id":"a6c9d675-e892-452c-bdc5-b3efc4f21dd9","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":"4.99","compare_at_price":"","discount_price":"4.99","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"29","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 variantData = data.variant || {"id":"a6c9d675-e892-452c-bdc5-b3efc4f21dd9","product_id":"c431d57f-7dd7-4de8-addb-6091d5e94e97","title":"Blue-L","weight_unit":"kg","inventory_quantity":200,"sku":"433729qmwbnk-Blue-L","barcode":"","position":1,"option1":"Blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61dd3f8aff8852d0209fd5ed69b9c543.jpeg","path":"61dd3f8aff8852d0209fd5ed69b9c543.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0.02","compare_at_price":"6.99","price":"4.99","retail_price":"6.99","available":true,"url":"\/products\/pure-cotton-plus-size-panties?variant=a6c9d675-e892-452c-bdc5-b3efc4f21dd9","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"L"}],"off_ratio":"29","flashsale_info":{"variant_id":"a6c9d675-e892-452c-bdc5-b3efc4f21dd9","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":"4.99","compare_at_price":"","discount_price":"4.99","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"29","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product does not exist