${function() {
const variantData = data.variant || {"id":"63d5e622-5aa5-4176-9a51-0b46c21b0053","product_id":"c2e00b76-4e15-45fa-a346-14ec003e6104","title":"Dark Grey-S","weight_unit":"kg","inventory_quantity":-196,"sku":"WL2023A91238C-DarkGrey-S","barcode":"","position":1,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/88d6cf704957c9fa8692f063d540d1b0.jpg","path":"88d6cf704957c9fa8692f063d540d1b0.jpg","width":2362,"height":3071,"alt":"Aunt Godmother Legend T-shirt","aspect_ratio":0.769130576359492},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"25","retail_price":"40","available":true,"url":"\/products\/aunt-godmother-legend-t-shirt?variant=63d5e622-5aa5-4176-9a51-0b46c21b0053","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"},{"name":"Size","value":"S"}],"off_ratio":38,"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.