${function() {
const variantData = data.variant || {"id":"75df3cdd-f048-4ffe-9469-b8d6c31318b3","product_id":"826b05f0-0675-4e87-8325-b3e0a0d0e31e","title":"Blue-S","weight_unit":"kg","inventory_quantity":999,"sku":"WTS257355-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c40f9bed928f092a823639dc1c843c5.jpeg","path":"1c40f9bed928f092a823639dc1c843c5.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"18.99","retail_price":"29.99","available":true,"url":"\/products\/v-neck-maui-strong-pray-for-maui-palm-tree-print-t-shirt?variant=75df3cdd-f048-4ffe-9469-b8d6c31318b3","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":37,"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.