Forum Moderators: open

Message Too Old, No Replies

How do I create a simplified "quoting" cart

shopping carts, email, and quoting

         

Blade Runner

10:05 pm on Apr 13, 2004 (gmt 0)

10+ Year Member



OK,

Here's the deal. I want to create a way to make links, once clicked, add themselves to a simple form list just like a shopping cart. I don't want to go through the riggors of developing a full e-commerce site or use the premade scripts. What I'm after is a way to take the link, add it to a form, have the visitor type in the number of units he wants, then submit the form which will go to an email box.

The reason I want this type of functionality is that I want customers to build lists of items that I will quote for them by replying to the email they sent in. I know there are a number of free shopping cart systems but they take some serious customizing to get the look and feel the way I want. Also, I don't have all that much time anymore to work within a full shopping cart system. Maybe in the near future...

So, are there any obvious tricks or thinks I could try to take a clicked link and have it added to a form for visitors to build up a list?

TIA

Purple Martin

12:13 am on Apr 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It could be done with JavaScript but the safer option is to go for a server-side scripting solution (php, asp, jsp, perl or whatever).

Each time the user clicks on "add this link" a form would submit the page to a server-side script. The script would then process the submitted information and serve up a new version of the page with the link added to the "cart". You'd also want to add functionality to remove items. If you're already familiar with scripting then this will all make sense to you, if not it might be quicker to customise one of those off-the-shelf solutions.