I guess it all depends what you're looking for. There is indeed a very big difference between a basic "shopping cart" that keeps track of what a customer wishes to buy and saves to a database/emails the results and a proper "store" (i.e. containing online payment methods et al).

If you're looking for the latter then the maxium "you get what you pay for" is (in almost all cases) true (that doesn't mean that something expensive doesn't have holes - look at most Microsoft products for instance...).

If on the other hand you're looking for just a cart (as in Corion's post) then the suggested solution may be on the way to what you're looking for.

In all cases though you do need to consider the security of the situation and the information you're passing - how sensitive is it? what value would it have if it fell into the wrong hands? etc Whereas it probably wouldn't be much use to someone to know that an anonymous browser bought a red t-shirt, it probably is to know that "Mr A Nonimouse of 123 This Street, Big Town, AB1 23CD" has a credit card whose number is 1234-4567-xx... etc

Although remember that nothing is ever guranteed 100% secure.

--- Jay

All code is untested unless otherwise stated.
All opinions expressed are my own and are intended as guidance, not gospel; please treat what I say as such and as Abigail said Think for yourself.
If in doubt ask.


In reply to Re^4: perl shopping cart by gothic_mallard
in thread perl shopping cart by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.