Help - Shopping cart fails to add item. |
[eluser]Isern Palaus[/eluser]
I think it's a regex one: http://en.wikipedia.org/wiki/Regular_exp...er_classes
[eluser]skunkbad[/eluser]
[quote author="Isern Palaus" date="1270396974"]I think it's a regex one: http://en.wikipedia.org/wiki/Regular_exp...er_classes[/quote] Hey, thanks! Nice page.
[eluser]Isern Palaus[/eluser]
[quote author="Mikee Carterion" date="1270444607"]same problem[/quote] same solution? :S
[eluser]skunkbad[/eluser]
[quote author="Isern Palaus" date="1270447145"][quote author="Mikee Carterion" date="1270444607"]same problem[/quote] same solution? :S[/quote] That's what I was thinking too.
[eluser]Josepzin[/eluser]
[quote author="aggiaggiaggiaggi" date="1266331057"]same here, there are a number of other chars which prevent products to go in the cart, like ' and ! heres a simple solution. just add your products with the following code: Code: $this->cart->product_name_rules = '[:print:]'; This allows all printable characters in the product name. @codeigniter coders: i think this should be made default, just allowing _ . : is not enough[/quote] Great!!! This works for me ![]() ![]()
[eluser]Billy Shall[/eluser]
[quote author="aggiaggiaggiaggi" date="1266331057"]same here, there are a number of other chars which prevent products to go in the cart, like ' and ! heres a simple solution. just add your products with the following code: Code: $this->cart->product_name_rules = '[:print:]'; This allows all printable characters in the product name. @codeigniter coders: i think this should be made default, just allowing _ . : is not enough[/quote] This worked for adding products with slashes, Thanks! |
Welcome Guest, Not a member yet? Register Sign In |