${function() {
const variantData = data.variant || {"id":"ef0e6794-69fd-4c0a-944c-370a9c03454e","product_id":"9d66ea60-19a1-4d08-8772-c9659efd481e","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"220920-A05-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e0141404d0a6f93ea395d17f01a8c45.jpg","path":"3e0141404d0a6f93ea395d17f01a8c45.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/long-sleeve-printed-v-neck-sexy-irregular-dress?variant=ef0e6794-69fd-4c0a-944c-370a9c03454e","available_quantity":999999999,"options":[{"name":"Colour","value":"Blue"},{"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.