${function() {
const variantData = data.variant || {"id":"7e391882-37d6-403a-87b2-665bf986abb6","product_id":"6caa7457-337b-4275-82d5-5c1e3e0aa324","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212132550-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5dd0dff9afdbacd349a0f1a380fd2dd.png","path":"c5dd0dff9afdbacd349a0f1a380fd2dd.png","width":1080,"height":1220,"alt":"Highland Cattle Sweatshirt","aspect_ratio":0.8852459016393442},"wholesale_price":[{"price":26.31,"min_quantity":1}],"weight":"0.4","compare_at_price":"39","price":"26.31","retail_price":"39","available":true,"url":"\/products\/highland-cattle-sweatshirt?variant=7e391882-37d6-403a-87b2-665bf986abb6","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":33,"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.