Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: perl shopping cart

by elwarren (Curate)
on Oct 26, 2004 at 15:38 UTC ( #402646=note: print w/ replies, xml ) Need Help??


in reply to perl shopping cart

You get what you pay for. Asking for help and insulting our love of Perl is not really smart. I suggest you do what I do and update your scripts to include the Turbo module. You call it like this:

#/usr/bin/perl use warnings; use strict; use Turbo; use CGI::Application; use Shopping::Cart; ... ...


Be carefull though, shopping carts are unstable at high speeds.

My sympathies on your query. Dropping "perl shopping cart" into Google will surely return the entire net. I suggest you look at a couple of sites you like and try to figure out what shopping cart they are running. Send the webmaster an email, or better yet, call their customer support and ask.


Comment on Re: perl shopping cart
Download Code
Re^2: perl shopping cart
by Anonymous Monk on Oct 27, 2004 at 11:58 UTC
    It's really extremely difficult to find something that will convenient for all: for beginners, for skilled perl users etc.
    I looked hundreds perl shopping cart system in internet, the majority of them does not fall outside the numbed, stubborn scheme, like this: 'category' > 'quantity' >'add item'> 'checkout' > 'fill form'.. etc So what if you do have no categories, q-ty only one for each item, youdont need online cc transactions,-you need only send order by email.

    No any of perl shopping cart does not work for mentioned scenario, for simple catalogue.

      For such a setup, you need a simple form-mail script, like the NMS TFmail script, as provided by the excellent nms Perl CGI scripts. You set up a plain HTML page like:

      <form action="http://www.example.com/cgi/mail.pl"> Customer name: <input type="text" name="customer_name" /><br /> Customer street: <input type="text" name="customer_street" /><br / +> Customer ZIP: <input type="text" name="customer_zip" /><br /> Widgets: <input type="text" name="quantity_widgets" /><br /> Doodads: <input type="text" name="quantity_doodads" /><br /> Gadgets: <input type="text" name="quantity_gadgets" /><br /> <input type="submit" /> </form>

      and you will receive an email whenever a customer clicks the "submit" button. You are looking in the wrong aisle by looking for a "shopping cart solution", when all you seem to want is a simple script that mails you the results as a single form has been submitted.

        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.

        Yes, its true, probably some kind of form-mail script will be more suitable for my needs. But not a mail script only, but a combination with a search script and cart script, plus use cookies(or Javascript) plus few html templates. I need that user can search in database, select items, then mail selected items to his address, plus copy to me.
        There are no problem with search.
        Example: mp3catalog (try search something)
        I would just add 'add' link or check box(looks better) against each found item. User search for item, add item, preview order, then start search again, add new items.. Finally user press 'Checkout', its redirect on 'Order' page where user fills in his data and send order.
        All looks elementary, I am just surprised, why it's almost impossible to find such simple and convenient script..
        Yes, its true, probably some kind of form-mail script will be more suitable for my needs. But not a mail script only, but a combination with a search script and cart script, plus use cookies(or Javascript) plus few html templates. I need that user can search in database, select items, then mail selected items to his address, plus copy to me. There are no problem with search.
        Example: mp3catalog
        (try search something)
        I would just add 'add' link or check box(looks better) against each found item. User search for item, add item, preview order, then start search again, add new items.. Finally user press 'Checkout', its redirect on 'Order' page where user fills in his data and send order..
        All looks elementary, I am just surprised, why it's almost impossible to find such simple and convenient script..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://402646]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2014-12-25 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls