${function() {
const variantData = data.variant || {"id":"3451eed5-d203-468f-a55e-5e7d60400310","product_id":"4f9f9406-deb3-4efe-b5e8-ef9aca5fdd1d","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230523-E13-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f4c11c9f30a7c4fde8cb40c168d92599.jpg","path":"f4c11c9f30a7c4fde8cb40c168d92599.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/womens-cotton-linen-shirt-short-sleeved-henry-shirt-buckle-v-neck-shirt-sleeve-casual-solid-color-blouse-with-two-pockets?variant=3451eed5-d203-468f-a55e-5e7d60400310","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.