${function() {
const variantData = data.variant || {"id":"566686ed-8f11-4441-98bf-00441de9bdc4","product_id":"fa18898a-aa01-4a05-835f-378b3ada7dff","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"K571223051718266880","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd3bc0a7484272e9cff8f913589ccfe2.jpeg","path":"bd3bc0a7484272e9cff8f913589ccfe2.jpeg","width":736,"height":981,"alt":"","aspect_ratio":0.7502548419979612},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"26.99","price":"25.99","retail_price":"26.99","available":true,"url":"\/products\/mens-retro-mushroom-botanical-art-print-sweatshirt3b719c51-4544-409d-9895-1cd1316f6b3a?variant=566686ed-8f11-4441-98bf-00441de9bdc4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":4,"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.