Shopping Cart PHP Class Required

Discussion in 'PHP' started by techbongo, Jul 7, 2009.

  1. #1
    Hi,
    I need a php class to create my own shopping cart. See, I've used lot of full-featured shopping cart script. I realise, these scripts are worthless for custom coders. Specially, when the shopping cart is only 10-15% of my large website, I'll never prefer to go with OS Commerce, Zen Cart or something similar. That's why, I need a PHP class, which can be integrated into my existing website easily. The class should help me to perform basic tasks like - Adding to cart, removing from cart, cart display and check out.

    For an example, the class will take arguments like product name, item number, price etc and will send same arguments on check out.

    If anyone can help me with a similar class, I'll be grateful.
     
    techbongo, Jul 7, 2009 IP
  2. CS-Cart

    CS-Cart Peon

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I've easily found some options by using "php shopping cart class" in Google. Please, check them out and let me know if it helped to find something suitable for you.
     
    CS-Cart, Jul 10, 2009 IP
  3. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #3
    write it yourself , then it'll be what you want it to be
     
    ezprint2008, Jul 10, 2009 IP
  4. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #4
    What's your php coding experience. Conceptually the class itself would be very easy to create. Where you run into complexity is integrating with a payment gateway, email notifications, cart layout, checkout, duplicate-order prevention, etc...
     
    jestep, Jul 10, 2009 IP
  5. RectangleMan

    RectangleMan Notable Member

    Messages:
    2,825
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    210
    #5
    Shopping carts are so much more complex than just adding/removing items.

    What you really want is the simplest available cart system to integrate. OSC and Zen are complex in that they cover all the functions you might need.
     
    RectangleMan, Jul 10, 2009 IP
  6. techbongo

    techbongo Active Member

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #6
    This is why I asked for a simple shopping cart class. Which is easy to integrate into my existing design.
    Firtunately, I've got one last night. The class is free, just some hundreds line of code, easy to integrate and works fine. It's here http://www.webforcecart.com/

    I've integrated the cart successfully to my website http://techbongo.com/order/cart/ and it's working fine. My vote is for Wfcart. And thank you all for your valuable contribution.
     
    techbongo, Jul 11, 2009 IP
  7. CS-Cart

    CS-Cart Peon

    Messages:
    91
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Glad to hear of such a quick solution! Just out of interest, how long did it take you to perform an integration?
     
    CS-Cart, Jul 13, 2009 IP
  8. techbongo

    techbongo Active Member

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #8
    It took only 15 minutes for me. Because the script contains a helpful documentation. The basic operation were written briefly and arguments were explained properly. This made my work more easy.
     
    techbongo, Jul 13, 2009 IP