Welcome Guest, Not a member yet? Register   Sign In
Help - Shopping cart fails to add item.
#11

[eluser]Isern Palaus[/eluser]
I think it's a regex one: http://en.wikipedia.org/wiki/Regular_exp...er_classes
#12

[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.
#13

[eluser]Unknown[/eluser]
same problem
#14

[eluser]Isern Palaus[/eluser]
[quote author="Mikee Carterion" date="1270444607"]same problem[/quote]

same solution? :S
#15

[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.
#16

[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->cart->insert($data);

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 Smile Smile
#17

[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->cart->insert($data);

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!




Theme © iAndrew 2016 - Forum software by © MyBB