Share via E-Mail
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:

Auto-entering multiple items into a cart ?



guest_user
member
Posts: 1302


I was wondering if there's a way to auto-enter multiple items into a cart?


#
POSTED ON: March 6, 2008 @ 11:52 GMT -7




Shivani
member
Posts: 1358


The code you'll need is:

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

You'll have to replace the URLs with the href= URLs from your add to cart button code for each item. You can add as many URLs as you want in the array.


#
POSTED ON: March 6, 2008 @ 11:53 GMT -7
MODIFIED ON: July 26, 2011 @ 15:30 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