Casual striped ethnic print loose jumpsuit
${function() {
const variantData = data.variant || {"id":"cfe72280-bbef-4163-9330-d137d04bd843","product_id":"e9d4a179-4855-4f9e-8ac4-c347cdb86f52","title":"photo color-S","weight_unit":"kg","inventory_quantity":996,"sku":"403842zywyltk-photo color-S","barcode":"","position":1,"option1":"photo color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/793b9a7e08c0032ff17d53a5a82a2845.jpeg","path":"793b9a7e08c0032ff17d53a5a82a2845.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.69","compare_at_price":"0","price":"35.99","retail_price":"0","available":true,"url":"\/products\/casual-striped-ethnic-print-loose-jumpsuit?variant=cfe72280-bbef-4163-9330-d137d04bd843","available_quantity":999999999,"options":[{"name":"Color","value":"photo color"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":19};
const saveType = "percentage";
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 tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product does not exist
SKU : 403842zywyltk-photo color-S
${function(){
const variantData = data.variant || {"id":"cfe72280-bbef-4163-9330-d137d04bd843","product_id":"e9d4a179-4855-4f9e-8ac4-c347cdb86f52","title":"photo color-S","weight_unit":"kg","inventory_quantity":996,"sku":"403842zywyltk-photo color-S","barcode":"","position":1,"option1":"photo color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/793b9a7e08c0032ff17d53a5a82a2845.jpeg","path":"793b9a7e08c0032ff17d53a5a82a2845.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0.69","compare_at_price":"0","price":"35.99","retail_price":"0","available":true,"url":"\/products\/casual-striped-ethnic-print-loose-jumpsuit?variant=cfe72280-bbef-4163-9330-d137d04bd843","available_quantity":999999999,"options":[{"name":"Color","value":"photo color"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":19};
return `
SKU : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}