${function() {
const variantData = data.variant || {"id":"8754e592-1c48-4d4d-9f0b-7b24ff589d95","product_id":"933f301d-7d8b-48b2-ac43-8bb612e752d4","title":"Dark Grey-S","weight_unit":"kg","inventory_quantity":-7,"sku":"WL2023A912262-DarkGrey-S","barcode":"","position":1,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/df1b031b5625c5ee092a5e4c0723571b.jpg","path":"df1b031b5625c5ee092a5e4c0723571b.jpg","width":2362,"height":3073,"alt":"Mom Is Strong Beautiful Fearless T-shirt","aspect_ratio":0.768630003254149},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"25","retail_price":"40","available":true,"url":"\/products\/mom-is-strong-beautiful-fearless-t-shirt?variant=8754e592-1c48-4d4d-9f0b-7b24ff589d95","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.