${function() {
const variantData = data.variant || {"id":"45e1bab4-d7b0-491a-a0ae-2beafcb42b82","product_id":"784d4618-50b8-4d94-a87c-0e9723b31dc6","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011308-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cbcf8727a3248b24892d4ce5aa24e8de.webp","path":"cbcf8727a3248b24892d4ce5aa24e8de.webp","width":1200,"height":1500,"alt":"Casual Sleevless Woman Dresses","aspect_ratio":0.8},"wholesale_price":[{"price":31.95,"min_quantity":1}],"weight":"0","compare_at_price":"52.88","price":"31.95","retail_price":"52.88","available":true,"url":"\/products\/casual-sleevless-woman-dresses?variant=45e1bab4-d7b0-491a-a0ae-2beafcb42b82","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":1};
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.