Featrues In action Services Contact Forum FAQ Buy

Support Forum was opened on Feb 04, 2004

forum check post
Check New Posts
forum new post
Post New Message
forum login
Click to Login
forum new account
Click to Register

Shopping Cart Support Forum

Subject: "Linking a website to the shopping cart"     Previous Topic | Next Topic
Printer-friendly copy     Email this topic to a friend    
Conferences Shopping Cart Technical Support Topic #236
Reading Topic #236
trendycamera
Member since 9-19-08
1 posts
09-22-08, 08:12 PM (GMT)
Click to EMail trendycamera Click to send private message to trendycamera Click to add this user to your buddy list  
"Linking a website to the shopping cart"
 
   I have read the FAQ about intergrating the website and have been trying to integrate our website into the shopping cart. I copied the code:

<form method=POST action=http://www. XXXXXXX.com/cgi-bin/ppcal.cgi>
<input type=hidden name="##ITEM" value=9001>
<input type=hidden name=item_quantity value=1>
<input type=image src= name=submit
border=0 alt=Go>
</form>


and changed it a little bit to fit the website, instead of an input box where the customer would input the quantity we needed a drop down where the customer would choose between to options and it would automatically input the quantiny as one for an example check our website www.trendycamerastraps.com

Here is the code I changed:

<!-- START PAYPAL FORM 1-1 -->
<form target="paypal" action="http://www. trendycamerastrap.com/cgi-bin/ppcal.cgi" method="post" style="margin: 0px">

<input type="hidden" name="##item" value=9002>

<!-- THE FOLLOWING OPTION WILL CHANGE THE PRICE -->

<select name="##item" style="width:150px;font:9px;margin-top:4px">
<option value="9002">Neck strap $47.00</option>
<option value="90042">Wristlet $28.00</option>
</select><br>


<p>
<input type="image" src="../picts/cart-off.gif" name="addtocart" border="0" onmouseover="this.src='../picts/cart-on.gif'" onmouseout="this.src='../picts/cart-off.gif'"><br>
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="add" value="1">
</form>
<!-- END PAYPAL FORM 1-1 -->

</form>

please tell me what I am doing wrong and how I can change this code so it will work. I need help ASAP.

Thanks

Cassandra Z
cassandra_zook@yahoo.com


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
admin
Member since 12-30-06
86 posts
11-12-08, 08:18 PM (GMT)
Click to EMail admin Click to send private message to admin Click to add this user to your buddy list  
1. "RE: Linking a website to the shopping cart"
In response to message #0
 
   Each item number field should be followed by qty filed. You have 2 items and only 1 qty field.

Simply place additional qty input field after 1st item to make this work:

Modify this line:
<input type="hidden" name="##item" value=9002>

into this:
<input type="hidden" name="##item" value=9002>
<input type=hidden name=item_quantity value=1>


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
spikegomez
Member since 11-19-08
1 posts
11-19-08, 06:48 PM (GMT)
Click to EMail spikegomez Click to send private message to spikegomez Click to view user profileClick to add this user to your buddy list Click to send message via ICQ  
2. "RE: Linking a website to the shopping cart"
In response to message #1
 
   Great lines of codes, Thanks for sharing it, this is a kinda big help.
4396841 online shopping is great. many people are more likely get shopping on net because it cost less effort.

spike gomez


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top

Conferences | Topics | Previous Topic | Next Topic


Copyright 2001-2007 © ShoppingCart.ORG Shopping Cart | End User License Agreement

Home | Features | Selected Examples | All Examples | Demo | Administrative Demo
Demo Catalog | Contact | Support Forum | Frequently Asked Questions | Store
Shopping Cart Hosting | Web Site Map

Affiliated websites: ShoppingCart.org | PaypalShoppingCart.org