[eluser]Felipe Deitos[/eluser]
Hi, this is an old issue, i am using the cart library, i CAN add any product without special characters, but when a product got some of those in the name i CANT add...
I already read a thousand of topics and no one seems to work.
I got a library called MY_Cart.php (I am autoloading it after the 'cart' library)
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class My_Cart extends CI_Cart {
function __construct()
{
parent::__construct();
$this->product_name_rules = '\d\D';
}
}
/* End */
Sorry about my english by the way because its not my native language.
Someone can help me?
Thanks!