${function() {
const variantData = data.variant || {"id":"38192b84-305d-40f0-baf0-c06f8fd7a4e1","product_id":"5c301850-16bf-41f0-9e55-eb8dc65b799e","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"111-230821-24-WS0001Y5Q9-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/db42fc437104b7bea5720e1348fd6f84.jpeg","path":"db42fc437104b7bea5720e1348fd6f84.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/bundle-maui-strong-casual-sweatshirt?variant=38192b84-305d-40f0-baf0-c06f8fd7a4e1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "amount";
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.