${function() {
const variantData = data.variant || {"id":"63525443-b71a-40cb-bbe5-9035683cd231","product_id":"3f3243f4-c98c-453d-bf36-fbcf16b20974","title":"Green-S","weight_unit":"kg","inventory_quantity":999,"sku":"131-240202-A05-MS0002WA2S-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a4f129823d048c20b3e01b6f96ed5a0.png","path":"3a4f129823d048c20b3e01b6f96ed5a0.png","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/mens-medieval-pattern-art-print-casual-sweatshirt?variant=63525443-b71a-40cb-bbe5-9035683cd231","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.