${function() {
const variantData = data.variant || {"id":"ed0bc341-fbbf-4110-9285-c17c9eb1ee1d","product_id":"f63036d9-8432-4b51-a0db-92c4b7a82668","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MPA283913-BLA00S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50198b5b4a4f8755d8cd7d5793ac380e.jpeg","path":"50198b5b4a4f8755d8cd7d5793ac380e.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=ed0bc341-fbbf-4110-9285-c17c9eb1ee1d","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.