>  Client hacked together an order form pointing to a new ecommerce service
> they're considering using, and wants me to redo the order form to make it
> look pretty.
>
> The client's version of the form uses big ugly "Add to Your Shopping Cart"
> images apparently installed by the ecommerce company's sign up process. He
> wants me to remove the images and replace them with simple hypertext URLs
> like those provided by Merchant Planet for their version of the order form
> (which will run on a mirror site).
>
> Here's the source from one area of the form they want redesigned:
>
> <FORM action="http://www.cartserver.com/sc/cart.cgi" method=POST>
>
> <INPUT type=image border=0 name=add src="rd-add.gif" width=154 height=46>
>
> <INPUT type=hidden name=item value="a-3003^TLCDVDR^TLC
> DVD-ROM^45.00^1^5.50">
>
> </FORM>
>
> TLCDVDR... is one of the products, plus the $45 price and the $5.50 base
> shipping cost.
> rd-add.gif is the big ugly graphic he wants eliminated.
>
> On the Merchant Planet version of the order form, there is no
> actual <form>
> function. Each item simply has an Order Now hyperlink pointing to a cgi on
> Merchant Planet. Here's sample of the source for the
> MerchantPlanet version
> of the page:
>
> <font face="Verdana, Arial, Helvetica, sans-serif" color="#990000" size=2>
>  <b>DVD-ROM</b><br></FONT>
> <font face="Verdana, Arial, Helvetica, sans-serif"
> size=-1><B>$45</B></font>
> <font face="Verdana, Arial, Helvetica, sans-serif" size=-1>
>   plus shipping &amp; handling. <BR>
>  <A
> HREF="http://www.merchantplanet.com/cgi-bin/add?id=aftermath&produ
> ct=TLC-DVDROM"
> ><B>Order
>  online now!</B></A>  | <B><A
> HREF="https://www.merchantplanet.com/cgi-bin/checkout"><nobr>Check out
> now</A></B>.</nobr></P>
>   </FONT>
>
>
> Any ideas on how to replace the image input area in the first version with
> a hypertext link like that in the second version?

Brent's idea:

<quote>
So in your case, you could try something like:

<a href="http://www.cartserver.com/sc/cart.cgi?item=a-3003^TLCDVDR^TLC
DVD-ROM^45.00^1^5.50">

... which (I *think*) should pass on the necessary variables to the script
your client is using. Others more knowledgable than I about CGI may want to
weigh in here, mind you.
</quote>

Will work in your case. To test, just send the url to the server:

http://www.cartserver.com/sc/cart.cgi?item=a-3003^TLCDVDR^TLCDVD-ROM^45.00^1
^5.50

it generates a shopping cart view.

This will not always work. Some scripts check to see that the incoming data
is from a form action where the method=POST, not just from a submitted url
with value pairs (everything after the ? mark in the url) tagged on .

Jack

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to