${function() {
const variantData = data.variant || {"id":"5d5bb9ef-af49-4e33-90b5-a3f7053200f8","product_id":"ae0c23a8-f7d5-4633-bcd8-f5cd4515941c","title":"Beige-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212142585-Beige-S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd331f34beec0d9836ca1cd5fc573a0a.png","path":"cd331f34beec0d9836ca1cd5fc573a0a.png","width":800,"height":800,"alt":"Should've Come With a Warning Sweatshirt","aspect_ratio":1},"wholesale_price":[{"price":26.49,"min_quantity":1}],"weight":"0.4","compare_at_price":"39","price":"26.49","retail_price":"39","available":true,"url":"\/products\/shouldve-come-with-a-warning-sweatshirt?variant=5d5bb9ef-af49-4e33-90b5-a3f7053200f8","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.