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:

Send multiple items with one add to cart button



LRM
member
Posts: 3


How can this be done? I want to have several items, maybe a dozen or more on the screen with checkboxes.
The buyer checks the ones he wants and clicks 'Add To Cart' and they all go to the cool javascript cart.
Thanks.


#
POSTED ON: May 15, 2010 @ 22:10 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4905


That would require some custom javascript in your page, probably working with the multiAdd function of our cart which, by itself, normally works like so:

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

The array list can have as many Add to Cart URLs as you wish, so your checkboxes would determine which products' URLs get included in that multiAdd array.

If you need someone to program this for you, we can recommend the competent, E-junkie-experienced developers listed at the Developer Directory link at the very top of our site. I think Andrew at EasyE-junkie.com in particular has done some rather fancy things with multiAdd before, so I'd suggest checking with him first.


#
POSTED ON: May 17, 2010 @ 14:17 GMT -7




LRM
member
Posts: 3


Well that is cool, thanks!

I can make checkboxes, any tips on how to get the items selected turned into multiple URLs?


#
POSTED ON: May 18, 2010 @ 00:03 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4905


That's what you'd need to program (or hire someone to program) some custom javascript for, to add into your own page. We support guys are not programmers and don't actually have any more specific programming advice to give; if you're not already a programmer yourself, any advice we could give would be useless anyway, and a competent programmer should know how to accomplish this objective without needing any advice. :^)


#
POSTED ON: May 18, 2010 @ 19:23 GMT -7




LRM
member
Posts: 3


Ok, well, just thought I'd give it a try : )

Thanks much. After getting your answer, I knew what to search the discussion boards for and found several more answers about the multAdd.

Really enjoying e-junkie and the awesome support guys!


#
POSTED ON: May 18, 2010 @ 19:43 GMT -7




sss
member
Posts: 2


The continue shopping function is not working, whenever click on continue shopping it redirects the products page after pressing the addcart button the shopping cart displays the present product details only not displaying the previous product details and clicking on view cart button always it displays the message your cart is empty. How to rectify this problem? Please explain with one example


#
POSTED ON: June 2, 2010 @ 04:15 GMT -7
MODIFIED ON: June 2, 2010 @ 04:16 GMT -7




E-JunkieMonster
E-Junkie Crew
Posts: 718


There's no way to say exactly what is going wrong here without being able to look at it in person. Could you give us a link to the web page where you have your buttons set up and are getting this problem?

If your test page happens to not be online yet that would actually explain your problem--our buttons need to be on a live web page with a named domain to function properly.


#
POSTED ON: June 2, 2010 @ 16:17 GMT -7


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

30 Day Money Back Guarantee PayPal Certified Integration 2Checkout Shopping Cart Sell with ClickBank Authorize.Net shipping cart
Slam the Online Scam