Could the Mini Cart be causing this?

Problems installing or using the NOP Design Free Shopping Cart that do not fit into one of the above categories.

Moderators: Koibito, Stefko, Randy

Could the Mini Cart be causing this?

Postby misshtml » Thu May 08, 2008 2:38 pm

for some reason, when adding an item to our cart it adds 2 items to the cart instead of just the single quantity. I just redesigned the entire site and put the mini cart at the top and the products with the add to cart code as I have in the past (have been using nop cart for years) I don't know why this would be happening. I've checked the code and can't find out why it would do this. I'll post the code of a page here and if someone could let me know why it would be refreshing the page and adding 2 to cart instead of 1 I would greatly appreciate it.

Here's code from one of our pages:

Code: Select all
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 bgcolor="#EFEFEF">
<!-- Trailer Wheels Header -->
<div align="center">
<TABLE WIDTH=1024 BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="#FFFFFF">
<TR>
<TD COLSPAN=2>
<IMG SRC="images/index_01.gif" WIDTH=653 HEIGHT=109 ALT=""></TD>
<TD COLSPAN=2 background="images/index_02.gif" WIDTH=371 HEIGHT=109 ALT="">
<div align="center">
   <table border="0" width="63%" cellspacing="3" cellpadding="5" height="83">
      <tr>
         <td class="nav" width="54%" height="19">
<p style="margin-right: 5px; margin-top:1px; margin-bottom:1px; ">
<font size="2">Shopping Cart</font></td>
</tr>
<tr>
<td class="nav" width="54%" height="43">
<span style="font-weight: 400"><font size="1"><script language="javascript">
   if ( Cart_is_empty()) {
      document.write('Your cart is empty.');
   } else {
      Print_total_products(true);
      document.write(' in your cart<font size ="1" color="#ffffff">');
      document.write('<br>Subtotal:<font size ="2" color="#FF0000"> ');
      Print_total(true);
      document.write('<a href="managecart.html"><br><font size ="1" color="#FFffff">View Cart</font></a>');
   }
  </script></font></span></td>
      </tr>
   </table>
</div>
</TD>
</TR>
<!-- Trailer Wheels Navbar -->
<TR>
<TD COLSPAN=4 background="images/index_03.gif" WIDTH=1024 HEIGHT=31 ALT="">
<div align="center">
   <table border="0" width="100%" cellspacing="0" cellpadding="0" height="30" background="3.jpg">
      <tr>
         <td width="20%" align="center" style="border-right: 1px solid #BF001D; ">
      <p style="margin-bottom: 0"><b><font face="Arial" size="2">
      <font color="#FFFFFF">&nbsp;<!--1st anchor link and menu -->

</font>

<a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'anylinkmenu1')">
      <font color="#FFFFFF"><span style="text-decoration: none">Home</span></font></a><font color="#FFFFFF">
      </font></font></b>   
                                                   
      </p>
                                                   
<div id="anylinkmenu1" class="anylinkcss">

<p style="margin-bottom: 0">

<b>

<a href="http://www.trailer-wheels.com">
<font face="Arial" size="2">Return to Home Page</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="http://www.trailer-wheels.com/about_us.html"><font face="Arial" size="2">About Us</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="http://www.trailer-wheels.com/contact.html"><font face="Arial" size="2">Contact Us</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="http://www.trailer-wheels.com/site_map.html"><font face="Arial" size="2">Site Map</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="http://www.trailerandtruckparts.com/"><font face="Arial" size="2">Trailer Parts</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="http://www.shadowtrailers.com"><font face="Arial" size="2">Custom Trailers</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
</b>


</div>
</td>
      <td width="20%" align="center">
      <p style="margin-bottom: 0"><b><font face="Arial" size="2">
      <font color="#FFFFFF">&nbsp;
      
      <!--2nd anchor link and menu -->

 </font>

 <a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'anylinkmenu2')">
      <font color="#FFFFFF"><span style="text-decoration: none">Trailer Wheels</span></font></a><font color="#FFFFFF">
      </font></font></b>   
                                                   
      </p>
                                                   
<div id="anylinkmenu2" class="anylinkcss">

<p style="margin-bottom: 0">

<b>

<a href="10_inch_trailer_rims.html"><font face="Arial" size="2">10 inch Wheels</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="12_inch_trailer_rims.html"><font face="Arial" size="2">12 inch Wheels</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="13_inch_trailer_rims.html"><font face="Arial" size="2">13 inch Wheels</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="14_inch_trailer_rims.html"><font face="Arial" size="2">14 inch Wheels</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="15_inch_trailer_rims.html"><font face="Arial" size="2">15 inch Wheels</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="16_inch_trailer_rims.html"><font face="Arial" size="2">16 inch Wheels</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="aluminum_trailer_rims.html"><font face="Arial" size="2">Aluminum Trailer Wheels</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="chrome_trailer_wheels.html"><font face="Arial" size="2">Chrome Trailer Wheels</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="steel_trailer_wheels.html"><font face="Arial" size="2">Steel Trailer Wheels</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="trailer_wheel_and_tire_combination.html"><font face="Arial" size="2">Rim and Tire Assembly</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
</b>

</div>
</td>
      <td width="20%" align="center" style="border-left: 1px solid #BF001D; border-right: 1px solid #BF001D; ">
      <p style="margin-bottom: 0"><b><font face="Arial" size="2">
      <font color="#FFFFFF">&nbsp;
      
      <!--3rd anchor link and menu -->

 </font>

 <a href="#" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'anylinkmenu3')">
      <font color="#FFFFFF"><span style="text-decoration: none">Trailer Tires</span></font></a><font color="#FFFFFF">
      </font></font></b>   
                                                   
      </p>
                                                   
<div id="anylinkmenu3" class="anylinkcss">

<p style="margin-bottom: 0">

<b>

<a href="10_inch_trailer_tires.html"><font face="Arial" size="2">10 inch Trailer Tires</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="12_inch_trailer_tires.html"><font face="Arial" size="2">12 inch Trailer Tires</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="13_inch_trailer_tires.html"><font face="Arial" size="2">13 inch Trailer Tires</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="14_inch_trailer_tires.html"><font face="Arial" size="2">14 inch Trailer Tires</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="15_inch_trailer_tires.html"><font face="Arial" size="2">15 inch Trailer Tires</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="16_inch_trailer_tires.html"><font face="Arial" size="2">16 inch Trailer Tires</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="bias_ply_trailer_tires.html"><font face="Arial" size="2">Bias Ply Trailer Tires</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="radial_trailer_tires.html"><font face="Arial" size="2">Radial Trailer Tires</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="trailer_wheel_and_tire_combination.html"><font face="Arial" size="2">Trailer Wheel and Tire Assembly</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
</b>

</div>
</td>
      <td width="20%" align="center">
      <p style="margin-bottom: 0"><b><font face="Arial" size="2">
      <font color="#FFFFFF">&nbsp;
      
      <!--4th anchor link and menu -->

 </font>

 <a href="http://www.trailerandtruckparts.com/Custom-Built-Trailers_c_43.html" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'anylinkmenu4')">
      <font color="#FFFFFF"><span style="text-decoration: none">Trailer Rim Accessories</span></font></a><font color="#FFFFFF">
      </font></font></b>   
                                                   
      </p>
                                                   
<div id="anylinkmenu4" class="anylinkcss">

<p style="margin-bottom: 0">

<b>

<a href="trailer_wheel_center_caps.html"><font face="Arial" size="2">Trailer Wheel Caps</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="lug_nuts.html"><font face="Arial" size="2">Lug Nuts</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="mr_lug_nut.html"><font face="Arial" size="2">Mr. Lug Nut</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="valve_stems.html"><font face="Arial" size="2">Valve Stems</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="spare_tire_carriers.html"><font face="Arial" size="2">Spare Tire Carriers</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
</b>

</div>
</td>
      <td width="20%" align="center" style="border-left: 1px solid #BF001D; ">
      <p style="margin-bottom: 0"><b><font face="Arial" size="2">
      <font color="#FFFFFF">&nbsp;
      
      <!--5th anchor link and menu -->

 </font>

 <a href="http://www.trailerandtruckparts.com/New-Releases_c_147-1-4.html" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'anylinkmenu5')">
      <font color="#FFFFFF"><span style="text-decoration: none">Blow Out Items</span></font></a><font color="#FFFFFF">
      </font></font></b>   
                                                   
      </p>
                                                   
<div id="anylinkmenu5" class="anylinkcss">

<p style="margin-bottom: 0">

<b>
<a href="new_trailer_wheels.html"><font face="Arial" size="2">New Product Releases</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="special_events.html"><font face="Arial" size="2">Events</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="http://www.trailerinfo.net/trailerinfoforum/"><font face="Arial" size="2">Trailer Info</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>
<a href="site_map.html"><font face="Arial" size="2">Site Map</font></a><font color="#FFFFFF" face="Arial" size="2">
</font>

</b>

</div>
</td></td>
      </tr>
   </table>
</div>
</TD>
</TR>
<!-- End Trailer Wheels Navbar -->
<TR>
<TD colspan="4">
<p>&nbsp;</p>
<div align="center">
   <table border="0" width="95%" cellpadding="3">
      <tr>
         <td align="center">
<h1 align="center"><font size="3">13&quot; Trailer Wheels, Custom Trailer Rims and Trailer Tires
&amp; Accessories</font></h1>
<p align="center" style="margin-top: 0; margin-bottom: 0">
<a href="12_inch_trailer_rims.html"><font size="2" face="Arial">12
inch Trailer Wheels</font></a><font size="2"><font face="Arial"> |
</font>
<a href="13_inch_trailer_rims.html"><font face="Arial">13&quot;
Trailer Wheels</font></a><font face="Arial"> |
</font>
<a href="14_inch_trailer_rims.html"><font face="Arial">14 inch
Trailer Rims</font></a><font face="Arial"> |
</font>
<a href="15_inch_trailer_rims.html"><font face="Arial">15&quot;
Trailer Wheels</font></a><font face="Arial"> |
</font></font>
<a href="16_inch_trailer_rims.html"><font size="2" face="Arial">16
inch Trailer Rims</font></a></p>
<p align="center" style="margin-top: 0; margin-bottom: 10px">
<a href="lug_nuts.html"><font size="2" face="Arial">Lug
Nuts</font></a><font size="2"><font face="Arial"> | </font> <a href="accessories.html">
<font face="Arial">Closed Caps</font></a><font face="Arial"> |
</font>
<a href="accessories.html"><font face="Arial">Open Caps</font></a><font face="Arial"> |
</font>
<a href="trailer_wheel_and_tire_combination.html"><font face="Arial">Trailer
Wheel &amp; Tire Combo</font></a><font face="Arial"> | </font></font> <a href="trailer_tires.html">
<font size="2" face="Arial">Trailer Tires</font></a></p>

<div align="center">

<table cellSpacing="3" cellPadding="4" width="97%" border="0">
<tr>
<td class="text" style="background-color: #BF001D" align="center" colspan="3">
<p align="left"><span style="font-weight: 400">
<font size="2" color="#FFFFFF" face="Arial">13&quot; Trailer Rims/Wheels</font></span></td>
</tr>
<tr>
<td class="text" style="background-color: #BF001D">
<p align="center"><font face="Arial" size="2" color="#FFFFFF">Product</font></td>
<td class="text" style="background-color: #BF001D">
<span style="font-weight: 400"><font size="2" color="#FFFFFF" face="Arial">Description</font></span></td>
<td class="text" style="background-color: #BF001D" width="118" align="center">
<span style="font-weight: 400"><font size="2" color="#FFFFFF" face="Arial">Quantity</font></span></td>
</tr>
<tr>
<td align="middle" style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
<font face="Arial">
<img border="0" src="images/series5thumb.jpg" width="157" height="149"></font></td>
<td style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font color="#000000"><b>
         <font face="Arial" size="2">13&quot; Series 5 Aluminum Trailer Wheels</font></b></p>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b>
         <font face="Arial" size="2">Size: 13x5</font></b></font><p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b>
         <font color="#C10211" face="Arial" size="2">Part Number S</font><font face="Arial" color="#C10211">GB0535440</font></b><p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font face="Arial" color="#111111" size="2">13 inch Series #5 Aluminum Trailer Wheel (Center
         Caps and Tires not included)</font></p>
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b><font face="Arial" color="#111111">Bolt Pattern: 4x4 | Center Bore: 2.80
         | Max Load: 1,480</font></b></p><p style="margin-top: 5px; margin-bottom: 5px" align="left">
<b><font face="Arial" color="#111111" size="2">*All Series #5 wheels with steel
inserted lug holes</font></b><p style="margin-top: 5px; margin-bottom: 5px" align="left">
<span style="float: left"><font color="#000000"><span class="blk_txt_smaller">
<strong>Retail: </strong><span style="TEXT-DECORATION: line-through">$</span><span style="text-decoration: line-through">95.00</span></span>
</font><font color="#BF001D"><br>
<span class="red_txt_medium"><strong>
<img border="0" src="images/hottag.jpg" width="48" height="21">Our&nbsp;Low&nbsp;Price:&nbsp;$85.00&nbsp; </strong></span><br>
</font><font color="#000000"><span class="blk_txt_smaller">You Save:&nbsp;$10.00
</span></font></span></td>
<td align="center"  width="118" style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C">
<font color="#CB1107" face="Arial"><u><b>NEW!!</b></u></font><FORM NAME=order ACTION="managecart.html" onSubmit="AddToCart(this);">
         <p align="center" style="margin-top: 0; margin-bottom: 0">
         <font size="2" color="#000000" face="Arial">Quantity: </font>
         <span style="font-weight: 400">
         <font face="Arial" size="2" color="#002C84">
         <input maxLength="3" onchange="this.value=CKquantity(this.value)" size="2" value="1" name="QUANTITY"></font></span><font size="2" color="#000000" face="Arial">
         </font><font face="Arial" color="#002C84">
         <font face="Arial" size="2">
         <input type="hidden" value="85.00" name="PRICE">
         <input type="hidden" value="13 inch Series 5 Aluminum Trailer Wheel " name="NAME">
         <input type="hidden" value="SGB0535440" name="ID_NUM">
         <input type="hidden" value="17" name="WEIGHT">
         <input type="image" src="images/addtocart.gif" border=0 value=' Add to Cart ' onClick='AddToCart(this.form)' name="I1"></font>
         </font>
         </p>
         </form></td>
</tr>
<tr>
<td align="middle" style="border-top:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
<font face="Arial">
<img border="0" src="images/series5thumb.jpg" width="157" height="149"></font></td>
<td style="border-top:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font color="#000000"><b>
         <font face="Arial" size="2">13&quot; Series 5 Aluminum Trailer Wheels</font></b></p>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b>
         <font face="Arial" size="2">Size: 13x5</font></b></font><p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b>
         <font color="#C10211" face="Arial" size="2">Part Number S</font><font face="Arial" color="#C10211">GB0535545</font></b><p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font face="Arial" color="#111111" size="2">13 inch Series #5 Aluminum Trailer Wheel (Center
         Caps and Tires not included)</font></p>
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b><font face="Arial" color="#111111">Bolt Pattern: 5x4.5 | Center Bore: 3.19
         | Max Load: 1,660</font></b></p><p style="margin-top: 5px; margin-bottom: 5px" align="left">
<b><font face="Arial" color="#111111" size="2">*All Series #5 wheels with steel
inserted lug holes</font></b><p style="margin-top: 5px; margin-bottom: 5px" align="left">
<span style="float: left"><font color="#000000"><span class="blk_txt_smaller">
<strong>Retail: </strong><span style="TEXT-DECORATION: line-through">$</span><span style="text-decoration: line-through">95.00</span></span>
</font><font color="#BF001D"><br>
<span class="red_txt_medium"><strong>
<img border="0" src="images/hottag.jpg" width="48" height="21">Our&nbsp;Low&nbsp;Price:&nbsp;$85.00&nbsp; </strong></span><br>
</font><font color="#000000"><span class="blk_txt_smaller">You Save:&nbsp;$10.00
</span></font></span></td>
<td align="center"  width="118" style="border-top:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C">
<font color="#CB1107" face="Arial"><u><b>NEW!!</b></u></font><FORM NAME=order0 ACTION="managecart.html" onSubmit="AddToCart(this);">
         <p align="center" style="margin-top: 0; margin-bottom: 0">
         <font size="2" color="#000000" face="Arial">Quantity: </font>
         <span style="font-weight: 400">
         <font face="Arial" size="2" color="#002C84">
         <input maxLength="3" onchange="this.value=CKquantity(this.value)" size="2" value="1" name="QUANTITY"></font></span><font size="2" color="#000000" face="Arial">
         </font><font face="Arial" color="#002C84">
         <font face="Arial" size="2">
         <input type="hidden" value="85.00" name="PRICE">
         <input type="hidden" value="13 inch Series 5 Aluminum Trailer Wheel " name="NAME">
         <input type="hidden" value="SGB0535545" name="ID_NUM">
         <input type="hidden" value="17" name="WEIGHT">
         <input type="image" src="images/addtocart.gif" border=0 value=' Add to Cart ' onClick='AddToCart(this.form)' name="I2"></font>
         </font>
         </p>
         </form></td>
</tr>
<tr>
<td align="middle" style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
<font face="Arial">
<img border="0" src="images/seriesno6.jpg" width="157" height="152"></font></td>
<td style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font color="#000000"><b>
         <font face="Arial" size="2">13&quot; Series 6 Aluminum Trailer Wheels</font></b></p>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b>
         <font face="Arial" size="2">Size: 13x5.0 </font></b>
         </font>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b>
         <font color="#C10211" face="Arial" size="2">Part Number S</font><font face="Arial" color="#C10211">GB0635440</font></b><p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font face="Arial" color="#111111" size="2">13 inch Series #6 Aluminum Trailer Wheel
         (Center Caps included on all Series #6 Trailer Wheels)</font></p>
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b><font face="Arial" color="#111111">Bolt Pattern: 4x4 | Center Bore: 2.80
         | Max Load: 1,480 </font></b></p>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
<span style="float: left"><font color="#000000"><span class="blk_txt_smaller">
<strong>Retail: </strong><span style="TEXT-DECORATION: line-through">$</span><span style="text-decoration: line-through">105.00</span></span>
</font><font color="#BF001D"><br>
<span class="red_txt_medium"><strong>
<img border="0" src="images/hottag.jpg" width="48" height="21">Our&nbsp;Low&nbsp;Price:&nbsp;$85.00&nbsp; </strong></span><br>
</font><font color="#000000"><span class="blk_txt_smaller">You Save:&nbsp;$20.00
</span></font></span></td>
<td align="center"  width="118" style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C">
<font color="#CB1107" face="Arial"><u><b>NEW!!</b></u></font><FORM NAME=order1 ACTION="managecart.html" onSubmit="AddToCart(this);">
         <p align="center" style="margin-top: 0; margin-bottom: 0">
         <font size="2" color="#000000" face="Arial">Quantity: </font>
         <span style="font-weight: 400">
         <font face="Arial" size="2" color="#002C84">
         <input maxLength="3" onchange="this.value=CKquantity(this.value)" size="2" value="1" name="QUANTITY"></font></span><font size="2" color="#000000" face="Arial">
         </font><font face="Arial" color="#002C84">
         <font face="Arial" size="2">
         <input type="hidden" value="88.00" name="PRICE">
         <input type="hidden" value="13 inch Series 6 Aluminum Trailer Wheel " name="NAME">
         <input type="hidden" value="SGB0635440" name="ID_NUM">
         <input type="hidden" value="15" name="WEIGHT">
         <input type="image" src="images/addtocart.gif" border=0 value=' Add to Cart ' onClick='AddToCart(this.form)' name="I3"></font>
         </font>
         </p>
         </form></td>
</tr>
<tr>
<td align="middle" style="border-top:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
<font face="Arial">
<img border="0" src="images/seriesno6.jpg" width="157" height="152"></font></td>
<td style="border-top:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font color="#000000"><b>
         <font face="Arial" size="2">13&quot; Series 6 Aluminum Trailer Wheels</font></b></p>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         </font>
         <b>
         <font face="Arial" size="2"><font color="#000000">Size: 13x5.0</font> </font></b>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b>
         <font color="#C10211" face="Arial" size="2">Part Number S</font><font face="Arial" color="#C10211">GB0635545</font></b><p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font face="Arial" color="#111111" size="2">13 inch Series #6 Aluminum Trailer Wheel
         (Center Caps included on all Series #6 Trailer Wheels)</font></p>
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b><font face="Arial" color="#111111">Bolt Pattern: 5x4.5 | Center Bore: 3.19
         | Max Load: 1,660 </font></b></p>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
<span style="float: left"><font color="#000000"><span class="blk_txt_smaller">
<strong>Retail: </strong><span style="TEXT-DECORATION: line-through">$</span><span style="text-decoration: line-through">105.00</span></span>
</font><font color="#BF001D"><br>
<span class="red_txt_medium"><strong>
<img border="0" src="images/hottag.jpg" width="48" height="21">Our&nbsp;Low&nbsp;Price:&nbsp;$85.00&nbsp; </strong></span><br>
</font><font color="#000000"><span class="blk_txt_smaller">You Save:&nbsp;$20.00
</span></font></span></td>
<td align="center"  width="118" style="border-top:1px solid #DDDDDD; border-bottom:1px solid #DDDDDD; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C">
<font color="#CB1107" face="Arial"><u><b>NEW!!</b></u></font><FORM NAME=order2 ACTION="managecart.html" onSubmit="AddToCart(this);">
         <p align="center" style="margin-top: 0; margin-bottom: 0">
         <font size="2" color="#000000" face="Arial">Quantity: </font>
         <span style="font-weight: 400">
         <font face="Arial" size="2" color="#002C84">
         <input maxLength="3" onchange="this.value=CKquantity(this.value)" size="2" value="1" name="QUANTITY"></font></span><font size="2" color="#000000" face="Arial">
         </font><font face="Arial" color="#002C84">
         <font face="Arial" size="2">
         <input type="hidden" value="88.00" name="PRICE">
         <input type="hidden" value="13 inch Series 6 Aluminum 5 Bolt Wheel " name="NAME">
         <input type="hidden" value="SGB0635545" name="ID_NUM">
         <input type="hidden" value="15" name="WEIGHT">
         <input type="image" src="images/addtocart.gif" border=0 value=' Add to Cart ' onClick='AddToCart(this.form)' name="I4"></font>
         </font>
         </p>
         </form></td>
</tr>
<tr>
<td align="middle" style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
<font face="Arial">
<img border="0" src="images/trailerwheelnew2.jpg" width="145" height="131">
</font> </td>
<td style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C" >
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font color="#000000"><b>
         <font face="Arial" size="2">13&quot; Aluminum Trailer Wheels</font></b></p>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b>
         <font face="Arial" size="2">Size: 13x5.0 </font></b>
         </font>
         <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b>
         <font color="#C10211" face="Arial" size="2">Part Number S</font><font face="Arial" color="#C10211">T02-35545T</font></b><p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <font face="Arial" color="#111111" size="2">13 inch ST02 Aluminum Trailer Wheel (Tire
         and Center Caps not included)</font></p>
            <p style="margin-top: 5px; margin-bottom: 5px" align="left">
         <b><font face="Arial" color="#111111">Bolt Pattern: 5x4.5 | Off Set: +0
         | Center Bore: 3.19</font></b></p><p style="margin-top: 5px; margin-bottom: 5px" align="left">
<span style="float: left"><font color="#000000">&nbsp;</font><font color="#BF001D"><br>
<span class="red_txt_medium"><strong>
Our&nbsp;Low&nbsp;Price:&nbsp;$85.00&nbsp; </strong></span>
</font></span></td>
<td align="center"  width="118" style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C">
<FORM NAME=order3 ACTION="managecart.html" onSubmit="AddToCart(this);">
         <p align="center" style="margin-top: 0; margin-bottom: 0">
         <font size="2" color="#000000" face="Arial">Quantity: </font>
         <span style="font-weight: 400">
         <font face="Arial" size="2" color="#002C84">
         <input maxLength="3" onchange="this.value=CKquantity(this.value)" size="2" value="1" name="QUANTITY"></font></span><font size="2" color="#000000" face="Arial">
         </font><font face="Arial" color="#002C84">
         <font face="Arial" size="2">
         <input type="hidden" value="85.00" name="PRICE">
         <input type="hidden" value="13 inch ST02 Aluminum Trailer Wheel " name="NAME">
         <input type="hidden" value="ST02-35545T" name="ID_NUM">
         <input type="hidden" value="22" name="WEIGHT">
         <input type="image" src="images/addtocart.gif" border=0 value=' Add to Cart ' onClick='AddToCart(this.form)' name="I5"></font>
         </font>
         </p>
         </form></td>
</tr>
<tr>
<td align="center" colspan="3" style="font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 10pt; text-decoration: none; color: #29418C">
<p align="center" style="margin-top: 0; margin-bottom: 0">
<a href="12_inch_trailer_rims.html"><font size="2" face="Arial">12
inch Trailer Wheels</font></a><font size="2"><font face="Arial"> |
</font>
<a href="13_inch_trailer_rims.html"><font face="Arial">13&quot;
Trailer Wheels</font></a><font face="Arial"> |
</font>
<a href="14_inch_trailer_rims.html"><font face="Arial">14 inch
Trailer Rims</font></a><font face="Arial"> |
</font>
<a href="15_inch_trailer_rims.html"><font face="Arial">15&quot;
Trailer Wheels</font></a><font face="Arial"> |
</font></font>
<a href="16_inch_trailer_rims.html"><font size="2" face="Arial">16
inch Trailer Rims</font></a></p>
<p align="center" style="margin-top: 0; margin-bottom: 10px">
<a href="lug_nuts.html"><font size="2" face="Arial">Lug
Nuts</font></a><font size="2"><font face="Arial"> | </font> <a href="accessories.html">
<font face="Arial">Closed Caps</font></a><font face="Arial"> |
</font>
<a href="accessories.html"><font face="Arial">Open Caps</font></a><font face="Arial"> |
</font>
<a href="trailer_wheel_and_tire_combination.html"><font face="Arial">Trailer
Wheel &amp; Tire Combo</font></a><font face="Arial"> | </font></font> <a href="trailer_tires.html">
<font size="2" face="Arial">Trailer Tires</font></a></p>

   </td>
</tr>
</table>

         </div>
&nbsp;</td>
      </tr>
   </table>
</div>
</TD>
</TR>
<tr>
<TD COLSPAN=4 background="images/FOOTER.jpg" WIDTH=1024 HEIGHT=139 ALT="">
<div align="center">
   <table border="0" width="90%" cellpadding="3" height="76">
      <tr>
         <td colspan="3">
         <p style="margin-top: 0pt; margin-bottom: 0pt;" align="center"><b>
         <font size="2">OUR TRAILER WHEELS SUPERSTORE FEATURES THE FOLLOWING
         PRODUCTS:<br>
         </font></b>
         <a title="Bias Ply Trailer Tires" href="http://www.trailer-wheels.com/bias_ply_trailer_tires.html">
         <font color="#ffffff" size="2">Bias Ply Trailer Tires</font></a><font color="#ffffff" size="2">
         <font face="Arial">·</font> </font>
         <a title="Radial Trailer Tires" href="http://www.trailer-wheels.com/radial_trailer_tires.html">
         <font color="#ffffff" size="2">Radial Trailer Tires</font></a><font color="#ffffff" size="2">
         <font face="Arial">·</font> </font>
         <a title="Bias Ply Trailer Tire and Wheel Assembly" href="http://www.trailer-wheels.com/trailer_wheel_and_tire_combination.html">
         <font color="#ffffff" size="2">Bias Trailer Tire and Wheel
         Assemblies</font></a><font color="#ffffff" size="2">
         <font face="Arial">·</font> </font>
         <a title="Radial Trailer Tire and Wheel Combination" href="http://www.trailer-wheels.com/trailer_wheel_and_tire_combination.html">
         <font color="#ffffff" size="2">Radial Trailer Tire and Wheel
         Combination</font></a></p>
         <p style="margin-top: 0pt; margin-bottom: 0pt;" align="center">
         <a title="Aluminum Trailer Wheels - Rims" href="http://www.trailer-wheels.com/aluminum_trailer_rims.html">
         <font color="#ffffff" size="2">Aluminum Trailer Wheels</font></a><font color="#ffffff" size="2">
         <font face="Arial">·</font> </font>
         <a title="Steel Trailer Wheels - Rims" href="http://www.trailer-wheels.com/steel_trailer_wheels.html">
         <font color="#ffffff" size="2">Steel Trailer Wheels</font></a><font color="#ffffff" size="2">
         <font face="Arial">·</font>
         <a title="Chrome Trailer Wheels - Rims" href="http://www.trailer-wheels.com/chrome_trailer_wheels.html">
         <font color="#ffffff">Chrome Trailer Wheels</font></a>
         <font face="Arial">· </font>
         <a title="Trailer Wheel Accessories" href="http://www.trailer-wheels.com/accessories.html">
         <font color="#ffffff">Trailer Wheel Accessories</font></a> </font>
         </td>
      </tr>
      <tr>
         <td width="38%">
         <p style="margin-top: 0; margin-bottom: 0"><font size="2">Shadow
         Trailers</font></p>
         <p style="margin-top: 0; margin-bottom: 0"><font size="2">8941
         Electric Street</font></p>
         <p style="margin-top: 0; margin-bottom: 0"><font size="2">Cypress,
         CA 90630</font></p>
         <p style="margin-top: 0; margin-bottom: 0"><font size="2">Toll Free:
         1-877-367-4236 - Email:<font color="#FFFFFF"> </font>
         <a href="mailto:info@trailer-wheels.com?subject=Trailer-Wheels.com Inquiry...">
         <font color="#FFFFFF">info@trailer-wheels.com</font></a></font></td>
         <td width="22%">
         <p align="center">&nbsp;<script language="Javascript" src="https://seal.godaddy.com/getSeal?sealID=18361914502eecc02812710d8f47171c1771a08911377717207406705"></script></td>
         <td width="37%">&nbsp;</td>
      </tr>
   </table>
</div>
   </TD>
</tr>
<TR>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=515 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=138 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=76 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=295 HEIGHT=1 ALT=""></TD>
</TR>
</TABLE>
</div>
<!-- End ImageReady Slices -->
</BODY>
</HTML>
misshtml
WebMaster
 
Posts: 4
Joined: Fri Feb 01, 2008 4:44 pm

Re: Could the Mini Cart be causing this?

Postby Koibito » Thu May 08, 2008 3:56 pm

It adds two items to the cart because you are using the AddToCart function twice in your form.

Try it like this:

Code: Select all
<FORM NAME=order>
...
<input type="image" src="images/addtocart.gif" border="0" value="Add to Cart" onClick='AddToCart(this.form)' name="I1">
...
</form>
John
Koibito
Site Admin / Guru
 
Posts: 918
Joined: Sun May 28, 2006 1:59 am
Location: New Jersey, USA

Re: Could the Mini Cart be causing this?

Postby misshtml » Thu May 08, 2008 9:14 pm

Oh, wow, what a ding dong I am. Thank you! That was it!! Very much appreciated :D
misshtml
WebMaster
 
Posts: 4
Joined: Fri Feb 01, 2008 4:44 pm


Return to Help: Cart / General

Who is online

Users browsing this forum: No registered users and 0 guests

cron