${function() {
const variantData = data.variant || {"id":"80d938c6-1be9-4e46-b494-163b7f015750","product_id":"610d0746-4c04-4c92-9293-8fa5967c8b67","title":"Grey-S","weight_unit":"kg","inventory_quantity":-2,"sku":"WL2023A912113-Grey-S","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c384002edc22fa4360248e60cbb7e8e.jpg","path":"0c384002edc22fa4360248e60cbb7e8e.jpg","width":2362,"height":3071,"alt":"In My Dog Mom Era Sweatshirt","aspect_ratio":0.769130576359492},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35","retail_price":"55","available":true,"url":"\/products\/in-my-dog-mom-era-sweatshirt-3mgg?variant=80d938c6-1be9-4e46-b494-163b7f015750","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":36,"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.