Hi all would like to ask technical question what are the prons and cons of using and not using codeigniter shopping cart class? Heard is better to use functions and sessions and do not use cart class as it is depricated or limited with doing certain functionality .Thanks

It's deprecated:

So it's better to not adopt it, unless you want to update that code on your own.

The point is this: PHP 5.6 is going to be unsupported by the end of August 2017, the CodeIgniter team will not port CI 3 to new versions of PHP.

They are planning to release a new version of the framework (CI 4) by Spring of 2017 it will be based on PHP 7, from this new version the Cart library will be removed, along with Javascript, Unit_test, and Trackback libraries. There will be major differences, so it's not sure you will be able to upgrade without changing the code.

Since the new version is still not public, I would be careful to start anything new with it, because it's still not sure how the project will develop.

Source: http://forum.codeigniter.com/thread-62615.html

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.