${function() {
const variantData = data.variant || {"id":"3df80b25-ad11-4b16-aae0-9247cd192fe4","product_id":"f63036d9-8432-4b51-a0db-92c4b7a82668","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MPA283913-GRN00S","barcode":"","position":13,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/74670ef7de023304c104d0094bc097cf.jpeg","path":"74670ef7de023304c104d0094bc097cf.jpeg","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"54.99","price":"32.99","retail_price":"54.99","available":true,"url":"\/products\/mens-look-at-me-being-all-festive-and-shit-sweatpants?variant=3df80b25-ad11-4b16-aae0-9247cd192fe4","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":2};
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.