First, let me say that I've been really happy with e-junkie - it's been a faithful partner. This morning, we were alerted by a potential customer that the shopping cart wasn't working. We tested it and the "add to cart" button wasn't bringing up the shopping cart any more - the button did nothing. Yet, the "view cart" button continued to work.
I asked my tech guy and he took a look (forgive my lack of tech-talk ability). At first he found that "the function it calls to bring up the cart is returning false."
Upon further investigation, he suspected that something had changed on the javascript code on the e-junkie side. He writes "before I was calling the EJEJC_lc() function, which to my understanding opens up shopping cart, directly with the URL" But apparently, this stopped working sometime in the last 24 hours.
He said he was able to fix it by:
"so now i changed it so that it creates a fake "<a>" link element, sets the href attribute to the URL, and sends THAT to the function instead."
Again, I hope this makes sense, but he also explained the work-around like this:
The e-junkie instructions don't have a provision for creating that box through javascript, so I had to do some poking around, and discovered that if you passed it a URL, it worked. But apparently that stopped working, so I have to fake it and pretend to do it their way.
The cart is now working again, but through a work-around.
Has anything changed in the way js is handled on the e-junkie side? What could have cause the cart button to stop working? Thanks!
~Lee