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

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Can't get EJEJC_multiAdd to work.



Lunatic
member
Posts: 14


Hi,

I am trying to use the EJEJC_multiAdd function to insert buttons which should add several products to the shopping cart at once to my websites as described here: http://www.e-junkie.com/bb/topic/575/pg/0

Unfortunatelly the buttons don't work for me although I did everything as described there I think. When a button is clicked the shopping cart popup opens but it just keeps displaying the "loading" graphic and nothing ever happens.

Here is a sample button code I use:
<a class="ec_ejc_thkbx" onclick="javascript:return EJEJC_lc(this);" target="ej_ejc" href="javascript:EJEJC_multiAdd(Array('https://www.e-junkie.com/ecom/gb.php?c=cart&i=275576&cl=60155&ejc=2','https://www.e-junkie.com/ecom/gb.php?c=cart&i=275578&cl=60155&ejc=2','https://www.e-junkie.com/ecom/gb.php?c=cart&i=275580&cl=60155&ejc=2'));">
<img border="0" alt="Add to Cart" src="http://www.e-junkie.com/ej/ej_add_to_cart.gif"/>
</a>

And here a page the code is on:
http://wprobot.net/order/popular.php

Best regards,
Thomas


#
POSTED ON: November 11, 2009 @ 09:44 GMT -7




E-junkieNinja
E-Junkie Crew
Posts: 636


If you take a look at the previous forum again, http://www.e-junkie.com/bb/topic/575/pg/0, you will notice a slight difference between the code you have above and the way the other users have it written out. Try your code in this format and see if that works:

<a
href="javascript:EJEJC_multiAdd(Array('https://www.e-junkie.com/ecom/gb.php?c=cart&i=275576&cl=60155&ejc=2','https://www.e-junkie.com/ecom/gb.php?c=cart&i=275578&cl=60155&ejc=2','https://www.e-junkie.com/ecom/gb.php?c=cart&i=275580&cl=60155&ejc=2'));">
<img border="0" alt="Add to Cart" src="http://www.e-junkie.com/ej/ej_add_to_cart.gif"/>
</a>


#
POSTED ON: November 11, 2009 @ 10:22 GMT -7




Lunatic
member
Posts: 14


Thank you very much E-junkieNinja! I feel kind of stupid for missing that now, seems like I was so obsessed with checking the Javascript for mistakes I missed the differences in the rest of the link.

Again, thanks for the prompt help.


#
POSTED ON: November 11, 2009 @ 10:29 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam