Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Answer: Who needs shopping carts?

( #10714=categorized answer: print w/ replies, xml ) Need Help??

Q&A > CGI programming > Who needs shopping carts? contributed by BBQ

I agree and disagree! :o)

I agree that one can easily use the method you mentioned to maintain a stateless connection through the use of cookies, but that's a pretty simple Shopping Cart.

A real Shopping Cart should be a cookie-free, stateless and still be persistent. If you should set a cookie, set it just to identify the user, and then create an empty shopping cart that he/she can add products to. This allows you to do more fancy stuff later on such as:
  • reports on saved goods
  • wishlists
  • shared carts
  • save on one machine, retreive on another
just to mention a few... It all depends on the shopping model you are looking at.

But as a developer, I would never consider purchasing a shopping cart. IMHO, that's a total overkill. I'd purchase a complete store, but never just the shopping cart package. Its too easy to build one yourself, and get the features you want.

just my R$ 0.02 (Brazilian cents) worth.

Comment on Answer: Who needs shopping carts?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2015-07-06 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls