${function() {
const variantData = data.variant || {"id":"66e0442a-8b65-4af1-a73a-1253eef06743","product_id":"cc47e559-1955-4fb3-92ff-949bfb3c948f","title":"Gray-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102423-gray-s","barcode":"","position":6,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/089f59db27921e78cff511266eb1a0df.jpeg","path":"089f59db27921e78cff511266eb1a0df.jpeg","width":576,"height":599,"alt":"High Neck Thin Knitted Irregular Top","aspect_ratio":0.9616026711185309},"wholesale_price":[{"price":43.15,"min_quantity":1}],"weight":"0","compare_at_price":"79.91","price":"43.15","retail_price":"79.91","available":true,"url":"\/products\/high-neck-thin-knitted-irregular-top-2nva?variant=66e0442a-8b65-4af1-a73a-1253eef06743","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":46,"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.