${function() {
const variantData = data.variant || {"id":"3ac4b7ec-14f9-40a2-9102-9ff6fc3e2b71","product_id":"761798a0-bd83-4660-8917-8429847df6c1","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"Lin21011311-black-s","barcode":"","position":17,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25f3548f977b350576bd2f16613d82bd.jpeg","path":"25f3548f977b350576bd2f16613d82bd.jpeg","width":800,"height":1000,"alt":"Vintage Casual V Neck Solid Dresses","aspect_ratio":0.8},"wholesale_price":[{"price":29.65,"min_quantity":1}],"weight":"0.2","compare_at_price":"35.99","price":"29.65","retail_price":"35.99","available":true,"url":"\/products\/vintage-casual-v-neck-solid-dresses?variant=3ac4b7ec-14f9-40a2-9102-9ff6fc3e2b71","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":18,"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.