Nihi Posted August 5, 2013 Share Posted August 5, 2013 Hello Prestashop Community I was asking myself if there is a character restriction in Voucher Codes. I did not find a satisfactory answers to this topic. I have read and seen pictures that in Prestashop 1.4 there was a pop-up with the forbidden characters. What about Prestashop 1.5? Can I use all the characters in my Voucher Codes? Thanks for your answers. Greetings Nihi Link to comment Share on other sites More sharing options...
vekia Posted August 5, 2013 Share Posted August 5, 2013 this is definition from the objet: 'code' => array('type' => self::TYPE_STRING, 'validate' => 'isCleanHtml', 'size' => 254), In computer programming, a string is traditionally a sequence of characters - without html tags (isCleanHTML) it mean that you can use for example chars like !@#$%^&*()+ A-Z 0-9 but not spaces, and not html tags Link to comment Share on other sites More sharing options...
Nihi Posted August 6, 2013 Author Share Posted August 6, 2013 Thanks for your answer vekia So there will be no conflicts in, lets say emails sent to the customer or the pdfs when the voucher code is displayed? Oh btw. i know what a string is, however, it made me think because in 1.4 there were restricted characters for the codes... Maybe i just have to test it through... 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