${function() {
const variantData = data.variant || {"id":"3063e806-1fc0-497b-b0ff-ee44d1955651","product_id":"398cf86e-b2a1-40bf-9b88-c43c6aecf690","title":"Black-M","weight_unit":"kg","inventory_quantity":1000,"sku":"DH-SHA804B1642E","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51ffdeeff92db64bee83073a061e44e6.jpeg","path":"51ffdeeff92db64bee83073a061e44e6.jpeg","width":702,"height":935,"alt":"","aspect_ratio":0.7508021390374332},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0","compare_at_price":"15.99","price":"15.99","retail_price":"15.99","available":true,"url":"\/products\/built-in-the-fifties-original-unrestored-printed-t-shirts-tops?variant=3063e806-1fc0-497b-b0ff-ee44d1955651","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.