Shopping Cart: Manipulate the item of a shopping cart using AJAX

Recommend this page to a friend!
  Info   Example   Screenshots   View files (7)   Download .zip   Reputation   Support forum (1)   Blog (2)    
Ratings Unique User Downloads Download Rankings
51%Total: 9,000 This week: 2All time: 170 This week: 114
Version License PHP version Categories
session_cart 5The PHP License5.0E-Commerce, AJAX
Description Author

This class can be used to manipulate the items of a shopping cart using AJAX to avoid making the user leave the current page.

The class can generate HTML and Javascript to show the list of items in the shopping cart.

The list has form submit buttons to trigger the execution of AJAX requests that can add or remove items from the shopping cart.

The list of shopping cart items is stored in a session variable.

The actions of adding and removing items are also tracked by storing the action details in a MySQL database table.

Recommendations

What is the best PHP shopping cart for take away class?
Shopping cart to process orders for a restaurant

Store and show shopping cart items
I have an existing website that I want to add a shopping cart.

Picture of Ashraf Gheith
  Performance   Level  
Name: Ashraf Gheith <contact>
Classes: 9 packages by
Country: Bosnia and Herzegovina Bosnia and Herzegovina
Age: 37
All time rank: 151 in Bosnia and Herzegovina Bosnia and Herzegovina
Week rank: 12 1 in Bosnia and Herzegovina Bosnia and Herzegovina
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • cart.jpg
  Files  
File Role Description
cart.php Class The Main Class
cart.sql Data SQL file
config.php Conf. Configuration file
ajax.php Example AJAX file
index.php Example Index file
show-cart.php Example Show cart elements
main.js Data JS script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:9,000
This week:2
All time:170
This week:114
User Ratings User Comments (1)
 All time
Utility:77%
Consistency:72%
Documentation:-
Examples:57%
Tests:-
Videos:-
Overall:51%
Rank:2201
 
Thank you, Good Job Good luck Ayoub Bekkey
6 years ago (Ayoub Bekkey)
52%
 

For more information send a message to info at phpclasses dot org.