1 / 4
Nov 2012

I'm a new user. I created some Add to cart buttons and put them on a test site



see www.texasoft.com/testindex.html



(on the right side)



Nothing happens when you click on an Add to Cart or View Cart buttons (I also tried a Buy now, which does work, but that's not what I want.)



If I right click and open in another window, it works.



Any hints on why it does not work. Here is the generated code



<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=WBASIC700DL&cl=232638&ejc=2" target="ejejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ejadd_to_cart.gif" border="0" alt="Add to Cart"/></a>



Thanks for your help.

Alan/Texasoft

  • created

    Nov '12
  • last reply

    Nov '12
  • 3

    replies

  • 1.2k

    views

  • 3

    users

  • 5

    links

The problem appears to be caused by this incomplete snippet of your View Cart code:



<script language="javascript" type="text/javascript"><!--

function EJEJC_lc(th) { return false; }

// -->

</script>



The View Cart code we provide in Seller Admin includes another line which must come after the lines shown above, but which is missing in your page:



<script src="http://www.e-junkie.com/ecom/box.js" type="text/javascript"></script>



Just paste that line into your page after the first snippet shown above, and that should allow your cart buttons to work and display the cart as an overlay "inside" your page.

Thanks so much for this - I had the exact same problem and you've given me a simple way to fix it. Much appreciated!



Marissa Roberts

BeautifullyOrganised.com