Essex Dog Supplies Posted August 20, 2012 Share Posted August 20, 2012 (edited) I want to name my voucher code like the example but it won't let me use special characters. Is this something that can be unrestricted or allowed for me to do this as I've already had 1000 flyers made. ABC10% Thanks in advance! Edited August 21, 2012 by Essex Dog Supplies (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted August 21, 2012 Share Posted August 21, 2012 Yes, you just need to change the regex in classes/Validate.php. Remove the % from the preg_match in the isDiscountName method. If you are not familiar with this send me a PM and I will help you. Marty Shue Link to comment Share on other sites More sharing options...
Essex Dog Supplies Posted August 21, 2012 Author Share Posted August 21, 2012 ABSOLUTE LIFESAVER! AMAZING HELP, THANK YOU!! :D Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted August 21, 2012 Share Posted August 21, 2012 You are welcome. Hated to see 1000 flyers go to waste Marty Shue Link to comment Share on other sites More sharing options...
phrasespot Posted August 21, 2012 Share Posted August 21, 2012 change the regex in classes/Validate.php. Remove the % from the preg_match in the isDiscountName method. Mind boggles why % is not allowed in a discount voucher name. Arbitrary decisions during design process, if one even exists. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now