CodeIgniter Forums
Shoping Cart Bug? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Shoping Cart Bug? (/showthread.php?tid=35612)



Shoping Cart Bug? - El Forum - 11-04-2010

[eluser]Unknown[/eluser]
What is true may not use parentheses in shopping carts? I am puzzled why the data I made to send is not stored in the shopping cart. Is this a mistake or a bug?
Thank you.


Shoping Cart Bug? - El Forum - 11-04-2010

[eluser]WanWizard[/eluser]
What do you mean by "use in shopping carts"?

There are rules for product ID (default alpha-numeric, dashes, underscores, or periods) and project name (default alpha-numeric, dashes, underscores, colons or periods).

You can change these regex rules via
Code:
$this->cart->product_id_rules    = '\.a-z0-9_-';
$this->cart->product_name_rules    = '\.\:\-_ a-z0-9';



Shoping Cart Bug? - El Forum - 11-05-2010

[eluser]Unknown[/eluser]
Sorry, my english is not well.. :-) I just learn CI...
Thx for respon :down:

Peace