${function() {
const variantData = data.variant || {"id":"7dca8f63-081f-46b1-88aa-6d538f5de6b6","product_id":"8577abe3-5cb3-475a-8135-50203741ca2c","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BLG354390-WHI00S","barcode":"","position":7,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eb07b2402356d839ed382438746e8d48.jpeg","path":"eb07b2402356d839ed382438746e8d48.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.91","price":"21.99","retail_price":"25.91","available":true,"url":"\/products\/womens-hate-has-no-home-here-print-casual-t-shirta2a208be-13e2-46e9-a9eb-844e93973f00?variant=7dca8f63-081f-46b1-88aa-6d538f5de6b6","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":0};
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.