<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. | [reply] [d/l] |
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.
| [reply] |
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..
| [reply] |
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..
| [reply] |