${function() {
const variantData = data.variant || {"id":"0f34026a-112a-4523-b80d-25043dcc259c","product_id":"e506c9d7-3927-4289-b10c-f9d12ab815a8","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS258881-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c74478078c8a72651fc31f3f5fdb2da7.gif","path":"c74478078c8a72651fc31f3f5fdb2da7.gif","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"23.99","retail_price":"37.99","available":true,"url":"\/products\/womens-lahaina-strong-print-sweatshirt-4?variant=0f34026a-112a-4523-b80d-25043dcc259c","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":37,"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.