[eluser]Brayan[/eluser]
[quote author="aggiaggiaggiaggi" date="1269276570"]well, not tested, but in theory, you should always be able to use '.*' which allows *every* character. (or maybe [.], one of the two should work)[/quote]
thank you.. but this doesn't work.
I commented these lines (validation in the cart library):
Code:
if ( ! preg_match("/^[".$this->product_name_rules."]+$/i", $items['name']))
{
log_message('error', 'An invalid name was submitted as the product name: '.$items['name'].' The name can only contain alpha-numeric characters, dashes, underscores, colons, and spaces');
return FALSE;
}
so now I can add any products, this is a good way for me, 'cause the name of products are already in database.. so NVM
cheers.