A quick Google search revealed this project on FreshMeat with a Perl/MySQL shopping cart. You might want to check that out to see what was done, and how it was done, just to hopefully save you the pitfalls if you're doing this yourself from scratch.

There is another one I've seen on the web that is open source that I was playing with a while back but I can't find it at the moment. That one clocked in at about 3000 lines of Perl code and I was going to have to make modifications to make it work for me.

Do realize that with any shopping cart, if you're doing US sales, you have multiple sales tax rates to deal within the country and sometimes within states. California itself has sales tax rates by county. You're also going to have to probably figure out your own shipping charges routines.

Hope that helps!

Update: I finally found the link to the shopping cart I had looked at. It's www.perlshop.org

There is no emoticon for what I'm feeling now.


In reply to Re: developing and distributing perl apps by Popcorn Dave
in thread developing and distributing perl apps by idiotprogrammer

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.