PHP Classes

Complete shopping cart class: Complete shopping cart class without a database

Recommend this page to a friend!
  All requests RSS feed  >  Complete shopping cart class  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Complete shopping cart class

Edit

Picture of Thanh Tam by Thanh Tam - 9 months ago (2025-02-13)

Complete shopping cart class without a database

This request is clear and relevant.
This request is not clear or is not relevant.

+2

I need complete shopping cart class without using a SQL database.

  • 1 Clarification request
  • 1. Picture of Cedric Maenetja by Cedric Maenetja - 8 months ago (2025-02-24) Reply

    You might be better off using Javascript if you do not want any sql. Use cookies to store the data. I don't see how a php package would be beneficial.

    Ask clarification

    1 Recommendation

    Shopping Basket: Manage a shopping cart stored in sessions

    This class can be used manage a shopping cart. It can:

    - Add, update or remove the quantity of an item
    - Delete an item
    - Get the list of items
    - Get the quantity of a given item
    - Empty the basket

    The items in the shopping cart are stored in a session variable and optionally in cookies.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +1

    Picture of Manuel Lemos by Manuel Lemos Reputation 27250 - 3 months ago (2025-08-14) Comment

    This is a simple shopping cart that users PHP session variables to store the list of items and can perform operations to manage the items like adding, removing, retrieving the items and empty the shopping basket.


    Recommend package
    : 
    :