${function() {
const variantData = data.variant || {"id":"d62bbcd0-ab10-4c8a-89c0-c14085188de9","product_id":"e34ebd66-140f-4d97-9c26-8e7170638030","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"230209-A07-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63b1965a456713f1761c600338cd8e6f.jpg","path":"63b1965a456713f1761c600338cd8e6f.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/polka-dot-dress-summer-new-mori-female-hundred-with-shirt-collar-hem-skirt?variant=d62bbcd0-ab10-4c8a-89c0-c14085188de9","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"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.