${function() {
const variantData = data.variant || {"id":"fee4ba22-0c45-4766-ac9f-3c6029b56002","product_id":"8645e734-049a-47cd-8436-96d2feac5de3","title":"purple-S","weight_unit":"kg","inventory_quantity":0,"sku":"662306162912-purple-S","barcode":"","position":1,"option1":"purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e0c7f5720c2b075ca82efe20f780a577.jpeg","path":"e0c7f5720c2b075ca82efe20f780a577.jpeg","width":800,"height":1000,"alt":"Temperament printed suspenders open back large swing dress","aspect_ratio":0.8},"wholesale_price":[{"price":41.69,"min_quantity":1}],"weight":"0.3","compare_at_price":"55","price":"41.69","retail_price":"55","available":true,"url":"\/products\/temperament-printed-suspenders-open-back-large-swing-dress?variant=fee4ba22-0c45-4766-ac9f-3c6029b56002","available_quantity":999999999,"options":[{"name":"color","value":"purple"},{"name":"size","value":"S"}],"off_ratio":24,"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.