I would like to announce the release of ‘flexi cart’, a comprehensive shopping cart library for CodeIgniter.
Whilst CodeIgniter does indeed come with its own cart library, the library is quite basic in functionality and is only aimed at creating simple e-commerce stores.
The flexi cart library includes the following features:
+ Base available shipping options and charges on a customers location.
+ Calculate shipping charges based on the weight and value of an order.
+ Include or exclude specific shipping options from discount offers.
+ Set shipping charges for specific items purchased from the store.
Example: Item A ships free of charge, Item B ships for $10 on top of the carts standard shipping charge.
+ Ban specific items from being shipped to specific locations.
+ Base available tax rates on a customers ‘billing to’ or ‘shipping to’ location.
+ Define specific tax rates for specific items in the cart.
+ Customers can toggle whether to show cart prices include or excluding taxes.
+ Setup locations like countries, states, cities, post/zip codes to even specific streets and door numbers.
+ Locations can be grouped into zones, where rules can then be applied to all locations within a zone, rather than setting the rule for each location.
Discounts and Reward Points/Vouchers
+ Setup complex rule conditions for specific items and groups of items that are added to the cart based on customer location, cart/item value, item quantities and whether other items are present within the cart.
+ Define how tax should be applied to specific discounts. E.g. Whether tax should be applied before or after the discount is applied.
+ Allow customers to earn reward points from purchasing items that they can then later exchange for a discount voucher.
Plus many more features…
+ Multiple currencies
+ Item stock control
+ Save/load incomplete carts for later shopping
+ Multilingual custom status and error messages
+ Currency and weight conversion tools
The purpose of the flexi cart library is to offer modularised shopping cart features, that allow a developer to pick and choose which features they require, without having to include features that are surplus to the clients requirements.
flexi cart is flexible enough to be used to create simple 10 item ecommerce stores, up to creating huge online stores rivaling the functionality of ecommerce giants like Magento, Opencart and X-cart. The tools are provided, you just have to put them together.
The library, documentation, and a comprehensive live online demo are available from the flexi cart site.
The library has been a long time in the making and has been used for some of my own client sites.
I would now like to release the code to the public so that others can also make use of it.
P.s. If anyone does particularly like the style of this library, I have also built a user authentication system that was originally based on Ben Edmunds popular Ion Auth library.
The ‘flexi auth’ library is highly customisable like flexi cart including features like PHPASS password hashing, Google reCaptcha, user groups and privileges, plus much much more.