Skip to content
A complete shopping cart built with jQuery and sessionStorage. Includes PayPal payments.
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
css Added the ability to delete products from cart Sep 21, 2015
images First commit Dec 8, 2013
js Delete .DS_Store Nov 2, 2015
cart.html Added the ability to delete products from cart Sep 21, 2015
checkout.html First commit Dec 8, 2013
index.html Added data attributes for products Feb 8, 2014
order.html First commit Dec 8, 2013 Update Jan 13, 2020

jQuery: a shopping cart with sessionStorage

I've built this shopping cart after completing a web project where I had to completely rewrite an e-commerce cart. This project also includes PayPal payments.

This is a proof-of-concept and is not intended to replace any existing server-side techniques.

Bear in mind that there are a few things you need to change on the main file, namely:

  • The type of PayPal's cart.
  • Your business email address.
  • The URL of the PayPal's form.
  • The way shipping charges are calculated.

Hope you find this useful.


You can’t perform that action at this time.