${function() {
const variantData = data.variant || {"id":"d0ba17c6-117a-4442-a244-d2b781336e5f","product_id":"57049e7c-a572-488b-9c03-60739d41b11a","title":"Dark Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS266990-DGY00S","barcode":"","position":1,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8f7a203561ee94dd1f69f4dba2bd098.jpeg","path":"e8f7a203561ee94dd1f69f4dba2bd098.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"26.99","retail_price":"39.99","available":true,"url":"\/products\/womens-rich-people-have-brand-lables-on-their-clothes-happy-people-have-dog-hair-on-their-clothes-print-sweatshirt?variant=d0ba17c6-117a-4442-a244-d2b781336e5f","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"},{"name":"Size","value":"S"}],"off_ratio":33,"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.