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/0Unfortunatelly 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/ejadd_to_cart.gif"/></a>And here a page the code is on:http://wprobot.net/order/popular.phpBest regards,Thomas
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/ejadd_to_cart.gif"/></a>
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.
Share and learn in the E-junkie community.