Hello, I'm trying to find a very easy way of validating a discount code on my site. It won't need to be a required field (as most users won't have a code), but I do need the user to enter the correct code otherwise it should say "invalid code". At the moment I am only using one code but I may need to use more in the future.
I'm not that great at PHP so am hoping there is a simple solution out there!
Many thanks.