PDA

View Full Version : Free Shopping Cart???


New2This
09-16-2002, 09:32 PM
ok guys i finally found a good simple easy shopping cart (javascript) and i have 1 problem i cant get it to e-mail me orders it only has 2 options credit charge online and print and mail order form...... the cart works great but i just need help in this one little area... my hope is someone can give me a hand with this i dont know if posting links or the file is allowed so if u think u can help me i can send u copy of what i have ....

been looking for 2 weeks for goo shopping cart and this is by far the only one i have been able to find



HELP!!!!!!!!!!!

BoR|S
09-17-2002, 10:06 AM
Can you give more specific information about the product?

New2This
09-17-2002, 09:17 PM
here we go

</script>
</head>
<body>
<div align="center">
<script language="javascript">
document.write(parent.pagetitle);
</script>
</div>
<div align="center"><h2>Shopping Cart Contents</h2></div>
<p><div>To change the quantity of an item in your shopping cart, click on the quantity listed for that item. To delete an item, change the quantity for that item to zero.</div>
<p>
<script>parent.cartcookie.displayorder(this.document,true);</script>
<p>
<div align="center">
<a href="javascript:checkout();"><img src="./images/checkout.gif" hspace=0 vspace=0 border=0 alt="Click here to pay by credit cart."></a>
&nbsp;
<a href="javascript:mailitin();"><img src="./images/mailorder.gif" hspace=0 vspace=0 border=0 alt="Click here to pay by check or money order."></a>
&nbsp;
<a href="javascript:emptycart();"><img src="./images/emptycart.gif" hspace=0 vspace=0 border=0 alt="Click here to remove all items."></a>
</div>
<p>

Which i believe takes me here ...

formtag='<FORM name="checkoutform" method="post" action="orders.cgi">';
$mystylesheet = '<LINK REL=stylesheet HREF="' . $miscfiles . 'style.css" TYPE="text/css">';
$purchasegif='"' . $miscfiles . 'purchase.gif"';

print "Content-type:text/html\n\n";

but what do i edit to make it mail it me e-mail address for example 123@123.com

sorry for using the bandwidth..lol but im so close i can tase it and im only 3 weeks into class

Waves
09-19-2002, 06:43 PM
What kind of webserver to you plan to run the CGI scripts through? I believe you have to be able to Telnet into the server to activate the CGI scripts...i think. If you are using a free server like Geocities, you most likely will not be able to.

New2This
09-19-2002, 08:20 PM
dont know i said it but the plan is to use the shopping cart on my webpage when i get the doman later this month im only using the free space to view the webpages... appearance wise but as far as free server offering cgi access i knew that... i just wanted the code that would make it go to my e-mail address or a file on the server cuz reading throuhg it the only options i had were print out form and online credit card processing....;)