Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_insert method on cart class doesn't support 0 price #152

Closed
bitbucket-import opened this issue Aug 19, 2011 · 2 comments
Closed

_insert method on cart class doesn't support 0 price #152

bitbucket-import opened this issue Aug 19, 2011 · 2 comments

Comments

@bitbucket-import
Copy link

line 197 of cart library deletes any leading zeros, so if price argument is 0, product will never adds to cart.

Price 0 is useful to add gifts to cart.

@danlamanna
Copy link

Went to fix this and it seems it's been fixed in the current repo.

@narfbg
Copy link
Contributor

narfbg commented Mar 12, 2012

Indeed, I don't see anything like this in _insert().

@narfbg narfbg closed this as completed Mar 12, 2012
Dentxinho pushed a commit to Dentxinho/CodeIgniter that referenced this issue Sep 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants