${function() {
const variantData = data.variant || {"id":"d3357338-22ec-4900-be3e-ad01098e27b0","product_id":"fb57510b-59c9-4ab7-8323-19a8925701f6","title":"Brown-S","weight_unit":"kg","inventory_quantity":994,"sku":"PH1-220619-31-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0708287b7db93e4533cb1a9e1f597303.jpeg","path":"0708287b7db93e4533cb1a9e1f597303.jpeg","width":816,"height":816,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.9,"min_quantity":1}],"weight":"0","compare_at_price":"22.9","price":"22.9","retail_price":"22.9","available":true,"url":"\/products\/mens-vintage-motorcycle-short-sleeve-henley-collar-t-shirt-7117756?variant=d3357338-22ec-4900-be3e-ad01098e27b0","available_quantity":994,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":7};
const saveType = "amount";
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.