${function() {
const variantData = data.variant || {"id":"84d040db-1255-479b-9b6f-2c86f8bab053","product_id":"ad73879e-df05-4818-9baf-ab8becfafd6b","title":"Black-S","weight_unit":"kg","inventory_quantity":-10,"sku":"WL2023A912095-Black-S","barcode":"","position":13,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/53d4b73fcc3e1998ee9293569bc5f254.jpg","path":"53d4b73fcc3e1998ee9293569bc5f254.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=84d040db-1255-479b-9b6f-2c86f8bab053","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.