Elegant Floral Puff-Sleeved Elegant Maxi Dress
${function() {
const variantData = data.variant || {"id":"128efe4f-7e17-43bc-9378-888d453ef521","product_id":"8f382ee6-1874-4417-a83e-92083ab4ae81","title":"Grey-S","weight_unit":"kg","inventory_quantity":997,"sku":"458558qmwyqz-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42ebee27ccb6e1887632f7ff8dbe5e3c.jpeg","path":"42ebee27ccb6e1887632f7ff8dbe5e3c.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/elegant-floral-puff-sleeved-elegant-maxi-dress?variant=128efe4f-7e17-43bc-9378-888d453ef521","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":21};
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 : 458558qmwyqz-Grey-S
${function(){
const variantData = data.variant || {"id":"128efe4f-7e17-43bc-9378-888d453ef521","product_id":"8f382ee6-1874-4417-a83e-92083ab4ae81","title":"Grey-S","weight_unit":"kg","inventory_quantity":997,"sku":"458558qmwyqz-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42ebee27ccb6e1887632f7ff8dbe5e3c.jpeg","path":"42ebee27ccb6e1887632f7ff8dbe5e3c.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/elegant-floral-puff-sleeved-elegant-maxi-dress?variant=128efe4f-7e17-43bc-9378-888d453ef521","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":21};
return `
SKU : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}