${function() {
const variantData = data.variant || {"id":"daee2e2a-e33e-4606-8405-6cc64c50b5fa","product_id":"38683b77-a0cb-4346-aed8-969b056de9c4","title":"Light Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"K601697144659746816","barcode":"","position":1,"option1":"Light Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7df906e8d81ebb0f03cfcc8045d12578.jpeg","path":"7df906e8d81ebb0f03cfcc8045d12578.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.99","price":"29.99","retail_price":"40.99","available":true,"url":"\/products\/mens-parrot-embroidery-art-printed-hawaiian-beach-shirt4247c3ec-3ee8-4d6e-a9f5-97dcd3813ac2?variant=daee2e2a-e33e-4606-8405-6cc64c50b5fa","available_quantity":999999999,"options":[{"name":"Color","value":"Light Khaki"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":3};
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.