${function() {
const variantData = data.variant || {"id":"0145839f-b98e-46d6-8cc4-3766fd16cf88","product_id":"882d1451-3297-4244-9b35-240a4c43b6e1","title":"green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"132-230821-11-WS00017AYJ-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95629e7dc255720ea93992ef4bfdbfee.jpeg","path":"95629e7dc255720ea93992ef4bfdbfee.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/pray-for-maui-casual-sweatshirt?variant=0145839f-b98e-46d6-8cc4-3766fd16cf88","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.