summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cart.php
AgeCommit message (Collapse)AuthorFilesLines
2014-02-13Re-arranged documentation, fixed comment.Ahmad Anbar1-1/+1
2014-02-13Added changelog entry.Ahmad Anbar1-4/+2
An example to the docs. Tidy code a little bit.
2014-02-13Delete by values, not keysAhmad Anbar1-4/+3
2014-02-13Fixed code style & added few extra checks.Ahmad Anbar1-3/+14
Updated cart documentation.
2014-02-11Allow updating all properties for an item.Ahmad Anbar1-1/+5
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2013-03-11reorder rules in product name regex by importanceLouis Racicot1-2/+2
2013-03-07check if uft8 is enabledLouis Racicot1-1/+1
2013-03-06Full unicode support for the product name.Louis Racicot1-2/+2
2013-03-06Github broke the file encoding. I repaired it.Louis Racicot1-1/+1
2013-03-06Update Cart.phpLouis Racicot1-1/+1
Regex were already case sensitive.
2013-03-05Add unicode support in cart product name for unicode 00C000 to 00E01F.Louis Racicot1-2/+2
2013-02-15Various cosmetic fixesvlakoff1-1/+1
2013-01-25Fix issue #2191.Edwin Aw1-1/+1
Signed-off-by: Edwin Aw <tkaw220@gmail.com>
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-233.0.0-dev: Fixing the issue #2023.Ivan Tcholakov1-1/+1
CI_Cart initialization: Session data presense should be tested against NULL, not FALSE.
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-11-01Remove is_numeric() checks from Cart library (superseded by casts to float)Andrey Andreev1-16/+1
2012-10-25Add CI_Cart::get_item() (rel #400)Andrey Andreev1-6/+23
2012-06-04Revert/optimize some changes from 773ccc318f2769c9b7579630569b5d8ba47b114b ↵Andrey Andreev1-2/+2
and d261b1e89c3d4d5191036d5a5660ef6764e593a0
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/librariesAlex Bilbie1-3/+3
2012-05-23Merge pull request #1320 from thallisphp/patch-2Phil Sturgeon1-1/+1
Update system/libraries/Cart.php - To enable integrity when using associative arrays
2012-05-17Clean up the librariesAndrey Andreev1-19/+12
2012-05-03Update system/libraries/Cart.php - To enable integrity when using ↵ThallisPHP1-1/+1
associative arrays
2012-04-27Fixed Cart, Migration, Parser and Zip librariesTimothy Warren1-5/+41
2012-03-26Switch private methods and properties to protected and cleanup the Parser ↵Andrey Andreev1-1/+1
library
2012-03-26Switch private methods and properties to protected and cleanup the Cart libraryAndrey Andreev1-31/+15
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-02-17Fixed issue #960Marcos Garcia1-7/+0
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-22Cast to float instead of using preg_replace() for sanitizing numbersAndrey Andreev1-4/+5
2011-12-21Improved the Cart libraryAndrey Andreev1-135/+61
2011-12-14Slight syntax change to the Cart classAndrew Seymour1-1/+3
2011-12-14Added in a remove item from cart function to save the "hacky" method of ↵Andrew Seymour1-1/+23
updating a product with 0 quantity, updated the changelog to reflect and to be neater and more readable surrounding the changes of the Cart library
2011-12-13Changed the syntax slightly, @philsturgeon may be claustrophobic as he ↵Andrew Seymour1-1/+1
doesn't like no spaces
2011-12-13Added the ability to get the contents in a different orderAndrew Seymour1-2/+10
2011-12-13Spacing added, @philsturgeon is too picky!Andrew Seymour1-1/+1
2011-12-13Merged the two if's together as suggested by @philsturgeon - updated the ↵Andrew Seymour1-6/+3
Changelog to include something that may be important
2011-12-13Updated Cart.php to handle quantity changes differently (now ↵Andrew Seymour1-5/+23
auto-increments), also updated the changelog to reflect this change for the people that are currently using this library
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-07-20Changed Cart library to return the if inserted successfully. This will be ↵Phil Sturgeon1-4/+4
fine for anyone using () == true. http://codeigniter.uservoice.com/forums/40508-codeigniter-reactor/suggestions/2055829-last-rowid-of-cart
2011-07-18sync total items count and total amount price; by sum of quantity of each ↵MarcosCoelho1-1/+3
item in cart
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-11/+11
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-11/+11
2011-01-28updated copyrights to 2011Derek Jones1-1/+1
2010-11-10Changing all class constructors to __construct()Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-70/+70
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-02-24Fixed a bug in the "save cart" function that was causing the total to be ↵Rick Ellis1-7/+6
calcluated incorrectly