Build a shopping cart in 20 minutes

Shopping carts are one of the most frequently used parts on the web. But for a programmer creating them has never been easy. Even for a few items the programmer has to create a database and other support files to create a functioning shopping cart.

EasyBasket takes a different approach at creating a shopping cart; although technically complex in its execution, it is extremely simple for the user to install. With EasyBasket you can quickly insert a shopping cart anywhere on your web page with a single line of code. No need of installing a database or a dozen class files. Google Checkout and PayPal Checkout are integrated into the code, all you need to do is change the credentials and your cart is ready to go.

How EasyBasket works

EasyBasket bascially works by manipulating XSL forms. When a item is added on the client page, EasyBasket with the help of jQuery serializes the form and sends it to the server. On the server PHP uses the core.xsl file to update and transform the received form and send it back to the client. The complete shopping cart functions – create/update/add/delete (CRUD) is handled by the XLST logic; this is something original I’ve seen related to shopping carts.

Note that in all this flow a database is never used. This allows small websites having a few items to quickly add a shopping cart to their site.

Other options

EasyBasket supports various skins and also includes drag-drop functionality for adding items.



4 thoughts on “Build a shopping cart in 20 minutes

  1. The title of this article is totally misleading. You haven’t described how to build anything.

Comments are closed.