New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Character issue on Cart Class #78
Comments
Addon.. |
… (via dollardad)
Unicode support has already been added and the product_name_rules property is public, so you can easily alter the rule for non-latin characters. Furthermore, the rule has been changed to allow "word characters" instead of just 'a-z'. |
How about |
Hello,
I was itching my head when I was trying out the cart class. Because some products was added nicely, but some wouldn't at all. Without any error.
After some head scratching I found out that this line is the problem for us that lives in scandinavia, and possibly many other countries.
located in system/libraries/Cart.php
The reason is we use ÆØÅ in our product names and therefor it will fail.
So I suggest to add a config item that we can add local characters on and the CI_Cart can fetch those from there. Instead of "hacking the core". That's one option.
This is the working code for me.
Best regards
Anthoni Giskegjerde ( @antonigiske )
The text was updated successfully, but these errors were encountered: