${function(){
const variantData = data.variant || {"id":"3345c61a-f041-4ce9-9514-897c6e3ec6c0","product_id":"e0d98efc-8f2e-42bf-89fb-4f40cbe1ad3d","title":"Green-US2","weight_unit":"g","inventory_quantity":989,"sku":"ZS2103002 Green","barcode":"","position":19,"option1":"Green","option2":"US2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce8c3252eb516003028bf32e1029b3a2.jpeg","path":"ce8c3252eb516003028bf32e1029b3a2.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":125,"min_quantity":1}],"weight":"1000","compare_at_price":"125","price":"125","retail_price":"125","available":true,"url":"\/products\/lilac-tight-short-prom-dress-with-appliques?variant=3345c61a-f041-4ce9-9514-897c6e3ec6c0","available_quantity":989,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"US2"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
`
}()}
${function() {
const variantData = data.variant || {"id":"3345c61a-f041-4ce9-9514-897c6e3ec6c0","product_id":"e0d98efc-8f2e-42bf-89fb-4f40cbe1ad3d","title":"Green-US2","weight_unit":"g","inventory_quantity":989,"sku":"ZS2103002 Green","barcode":"","position":19,"option1":"Green","option2":"US2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce8c3252eb516003028bf32e1029b3a2.jpeg","path":"ce8c3252eb516003028bf32e1029b3a2.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":125,"min_quantity":1}],"weight":"1000","compare_at_price":"125","price":"125","retail_price":"125","available":true,"url":"\/products\/lilac-tight-short-prom-dress-with-appliques?variant=3345c61a-f041-4ce9-9514-897c6e3ec6c0","available_quantity":989,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"US2"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${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 is unavailable.