Hi all,
I’ve been experimenting with gift cards and integrating them into templates. I managed to get the basic functionality working, but I currently don’t have any code to handle gift card code validation.
While looking around, I noticed this template:
/Files/Templates/Designs/Swift-v2/eCom7/CartV2/Step/Helpers/VoucherForm.cshtml
It already includes validation logic, but only for vouchers. Also it uses TemplateTags which wont be supported anymore.
What would be the best approach to implement a proper validation flow for gift cards? Best without Template tags
Any tips or examples would be much appreciated!
Thanks in advance.