5 / 5
Sep 2010

This is my second time around with E-Junkie. I had a previous store that used it very successfully. I passed that business on to someone else. Now I am creating a new website and trying to integrate E-Junkie Shopping Cart via PayPal. I can't seem to get ADD TO CART to work at all. When you click ADD TO CART the window pops up like it's going to show you your cart but it never loads. Any thoughts?



Here's a page where I have the buttons - http://robertpollardart.com/RobertPollard_Art_misc.html

  • created

    Sep '10
  • last reply

    Sep '10
  • 4

    replies

  • 1.1k

    views

  • 4

    users

  • 3

    links

I just tried your code on my server and it works just fine. I'm guessing there is something on your page that is conflicting with the code. Perhaps another script or something in the header. Try process of elimination.

You may need to clear your browser cookies to make sure you're testing the cart with a completely clean slate. I couldn't exactly reproduce what you described, but in IE8 where I have script error reporting and debugging enabled, clicking your Add to Cart buttons produced a script error because your page doesn't have any View Cart code.



Just make sure you have a complete block of View Cart code on every page with any number of Add to Carts. The View Cart code carries the programming that manages our cart display as an overlay "inside" your page, so if that code is missing, the Add to Cart buttons are trying to use a javascript function that isn't present in the page.



If you can't get the cart overlay working even after you add the View Cart code, you may need to experiment with moving around this portion of the View Cart code to various places in your page source, before or after other javascript tags you're using, until you find a position that resolves the conflict:



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

<!--

function EJEJC_lc(th) { return false; }

// -->

</script>

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

all 3 products shows up when i use chrome and firefox but only 1 in ie8 shopping cart.

what could be wrong?

I found the MAIN issue which was that the ADD TO CART button was in between some <div> commands that were causing issues. I thick the other issue now is the VIEW CART problem which I will take care of next. Thanks!!