${function() {
const variantData = data.variant || {"id":"c75b04d5-5e47-446c-ae04-324e4b02aac5","product_id":"ad73879e-df05-4818-9baf-ab8becfafd6b","title":"Beige-S","weight_unit":"kg","inventory_quantity":-99,"sku":"WL2023A912095-Beige-S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62d39ff12c1bc2181db6f83561d7e3e8.jpg","path":"62d39ff12c1bc2181db6f83561d7e3e8.jpg","width":1817,"height":2362,"alt":"Aunt Godmother Legend Sweatshirt","aspect_ratio":0.7692633361558001},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35","retail_price":"55","available":true,"url":"\/products\/aunt-godmother-legend-sweatshirt?variant=c75b04d5-5e47-446c-ae04-324e4b02aac5","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"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.