${function() {
const variantData = data.variant || {"id":"e73de225-a53a-40c1-b3a8-9322f02fa272","product_id":"2d4a7d6a-2c64-4e2f-8ee9-6c4a401deb35","title":"S-black","weight_unit":"lb","inventory_quantity":9958,"sku":"Lin2060612-black-s","barcode":"","position":2,"option1":"S","option2":"black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e185c2f74bf9ca595ea14607f742662d.jpeg","path":"e185c2f74bf9ca595ea14607f742662d.jpeg","width":160,"height":200,"alt":"Square collar cotton loose dress","aspect_ratio":0.8},"wholesale_price":[{"price":36.29,"min_quantity":1}],"weight":"0","compare_at_price":"63.41","price":"36.29","retail_price":"63.41","available":true,"url":"\/products\/square-collar-cotton-loose-dress?variant=e73de225-a53a-40c1-b3a8-9322f02fa272","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"black"}],"off_ratio":43,"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.