summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cart.php
AgeCommit message (Collapse)AuthorFilesLines
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-1/+1
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-7/+7
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-12-04[ci skip] Update on the changes from PR #3388Andrey Andreev1-1/+1
- Fixed a broken link - Added missing notes about deprecations in the upgrade instructions - Improved consistency with other deprecation notices in the docs
2014-12-04Flag the smiley helper and shopping cart as deprecated.James L Parry1-0/+1
They should be removed the next minor release. Lowered the "javascript" deprecation message to "important" instead of "warning", for consistency with the rest of CI. Signed-off-by:James L Parry <jim_parry@bcit.ca>
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-15/+26
2014-03-17[ci skip] Clear some whitespaceAndrey Andreev1-3/+3
2014-03-14Fixed coding style & line length.Ahmad Anbar1-1/+1
2014-03-14Added missing semicolonAhmad Anbar1-1/+1
2014-03-14Removed the requirment of quantity to trigger cart update.Ahmad Anbar1-24/+25
2014-02-13[ci skip] Polish changes from #2874Andrey Andreev1-5/+3
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