Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

Items using Variants/Variations get added into a different cart than other items

This is usually because of improper nesting of tags (such as and unclosed <P> or <DIV> or <TD>) added inside the button code we originally provided for the Variants/Variations item's Add to Cart button code, like this (problem code in bold):

<form action="https://www.e-junkie.com/ecom/gb.php?c=cart&i=XXXXX&cl=YYYYY&ejc=2" target="ej_ejc" method="POST" accept-charset="UTF-8">
<input type="hidden" name="on0" value="Color"/>
<P>Color:<br/>
<select name="os0">
<option value="Red">Red</option>
<option value="Blue">Blue</option>
</select>
<br/>
<input type="image" src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0"  alt="Add to Cart" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this.parentNode);"/>
</form></P>

Note how the extra <P> added inside the form (just before Option:) isn't closed with a </P> until after the </form> tag -- any <P> or <DIV> that appears between <form...> and </form> should be either closed inside the form or just deleted to fix the button code.

This page added by E-junkieGuru on April 21st, 2011 @ 7:52 pm GMT -7
Updated by E-junkieGuru on April 21st, 2011 @ 8:06 pm GMT -7
  • Questions?
    Feel free to contact us if you don't find an answer in our Help pages or our Forums.

    If you just want to enquire about what all E-junkie does, you can check our feature list.
30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam