|All requests||>||Design shopping cart with PHP and MySQL||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Faygh Salimi - 2 months ago (2020-11-20)
Please help me how to design shopping cart with PHP.
It would like to implement the checkout using Paypal and Cash on delivery as payment methods.
This package does part of what you ask. It implements a shopping cart in PHP using MySQL to store the shopping items in the cart.
There is a tutorial in the PHP Classes site divided in two parts in the pages below that you can learn more how it to works.
You need to write more code or combine with other packages or Web services to integrate a payment system with this shopping cart.
How to Create a Simple Online PHP Shopping Cart Script Tutorial Step by Step Part 1: Add to Cart in PHP Example Source Code with HTML, AJAX, jQuery and MySQL - Demo Script using a Basket stored in Session Variables https://www.phpclasses.org/blog/package/3188/post/1-Creating-an-AJAX-based-PHP-Shopping-Cart-Part-1-Building-the-Cart.html
AJAX Shopping Cart with jQuery and PHP and MySQL Part 2: How to Remove and Add to Cart in PHP code with AJAX using a Simple PHP Checkout Script https://www.phpclasses.org/blog/package/3188/post/2-Creating-an-AJAX-based-PHP-Shopping-Cart-Part-2-Removing-Items-and-Checkout.html
1. by Faygh Salimi - 11 days ago (2021-01-11) Reply
show error :( ! ) Warning: json_decode() expects parameter 1 to be string, array given in D:\wamp64\www\session_cart\cart.php on line 98 ( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in D:\wamp64\www\session_cart\cart.php on line 99