${function() {
const variantData = data.variant || {"id":"096f881a-00cd-4064-b5bb-2dc772f3475f","product_id":"4a0eaf1b-a53a-4ad4-a25c-53002c3d2e94","title":"grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"WL2023A912381-grey-S","barcode":"","position":2,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0f3c31d70658840a9d1785784bdff48d.jpeg","path":"0f3c31d70658840a9d1785784bdff48d.jpeg","width":1588,"height":1794,"alt":"Mama Mommy Mom Bruh Sweatshirt","aspect_ratio":0.8851727982162765},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"35","retail_price":"55","available":true,"url":"\/products\/mama-mommy-mom-bruh-sweatshirt?variant=096f881a-00cd-4064-b5bb-2dc772f3475f","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.