E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2013, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Wed, 17 Jun 2009 17:38:17 GMT Fri, 24 May 2013 17:32:55 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #12 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Wed, 17 Jun 2009 17:38:17 GMT E-junkie Discussions; Jeff_Birt Post #11 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Wed, 17 Jun 2009 16:55:04 GMT
I am trying to find a way to add something along the lines of "you might also be interested in..." on the cart pop-up.

Matt]]>
E-junkie Discussions; TrainerMatt
Post #10 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Wed, 4 Feb 2009 22:52:52 GMT
Thank you so much for your help, your service & support is outstanding.]]>
E-junkie Discussions; Outshine
Post #9 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Wed, 4 Feb 2009 21:22:55 GMT
...&cl=48651&ejc=2',https://www.e-junkie...

you should actually have this:

...&cl=48651&ejc=2','https://www.e-junkie...

I tested the fix on a page of my own, and it looks like that should work.]]>
E-junkie Discussions; E-junkieGuru
Post #8 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Wed, 4 Feb 2009 20:36:19 GMT
Thanks again for your help. I appreciate you taking so much time to offer assistance.

I removed the unnecessary line of code, but unfortunately it's still not working. I also went ahead and removed everything from the page except two text links, "Add All" and "Add Single Item". The "Add Single Item" link works, but nothing for "Add All".

http://www.outshinehosting.com/eyeplay/greentips/index_cart.html

Is my code correct for the "Add All" link?

Any other ideas?

Thanks!]]>
E-junkie Discussions; Outshine
Post #7 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Wed, 4 Feb 2009 20:02:15 GMT
function EJEJC_multiAdd(th) { return false; }

You don't need that line there, and it may be interfering. All you need is this:

<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>
<script type="text/javascript" src="https://www.e-junkie.com/ecom/box.js"></script>]]>
E-junkie Discussions; E-junkieGuru
Post #6 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Tue, 3 Feb 2009 21:52:18 GMT
Thanks for the reply. I do have the code you mentioned in place, I was thinking maybe there was additional code for the new multi-add function.

I created a page on the staging server that contains an HTML link calling the same function, and I can't get that working either. Would you mind taking a look at that, since you will be able to view source?

http://www.outshinehosting.com/eyeplay/greentips/index_cart.html

It's the "ADD ALL" link at the very top.

Thanks!]]>
E-junkie Discussions; Outshine
Post #5 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Tue, 3 Feb 2009 21:41:28 GMT
<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>
<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>]]>
E-junkie Discussions; E-junkieGuru
Post #4 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Tue, 3 Feb 2009 21:30:50 GMT OutshineRegarding the method I referenced, doesn't there need to be an EJEJC_multiAdd function defined in the HTML document, or is that not the case because we're sending an array?

The function is a part of box.js file you include. Can you please confirm that you have included that in your html page?]]>
E-junkie Discussions; E-junkieChef
Post #3 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Tue, 3 Feb 2009 19:47:44 GMT
Thanks for the reply! Unfortunately our site is Flash, so you won't be able to view the source on it.

Regarding the method I referenced, doesn't there need to be an EJEJC_multiAdd function defined in the HTML document, or is that not the case because we're sending an array?

This is my current "Add to Cart" Actionscript code that works correctly, adding a single item:

getURL("javascript:EJEJC_lc('https://www.e-junkie.com/ecom/gb.php?c=cart&i=200993&cl=48651&ejc=2')");

This is my new "Add Multiple Items" Actionscript code that does not work. Currently, it does not respond to the click or attempt to open the cart:

getURL("javascript:EJEJC_multiAdd(Array('https://www.e-junkie.com/ecom/gb.php?c=cart&i=200984&cl=48651&ejc=2',https://www.e-junkie.com/ecom/gb.php?c=cart&i=200993&cl=48651&ejc=2','https://www.e-junkie.com/ecom/gb.php?c=cart&i=200988&cl=48651&ejc=2'))");

In the previous example I'm attempting to add three items simultaneously. Am I doing something wrong? You can ignore the getURL(""); portion, as that is just the standard Flash button action.

Thanks for your help!

Luke]]>
E-junkie Discussions; Outshine
Post #2 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Tue, 3 Feb 2009 19:32:04 GMT
BTW, you may wish to start testing with a "clean slate" by deleting your browser cookies. Sometimes when a Seller is testing their cart and changing settings in Admin at the same time, their cart-tracking cookie can get confused and starts producing weird cart behavior, so clearing cookies fixes that.]]>
E-junkie Discussions; E-junkieGuru
Post #1 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 http://www.e-junkie.com/bb/topic/3142/pg/0#post10387 Tue, 3 Feb 2009 18:00:58 GMT
Does anyone know how to add multiple items to the shopping cart with a single URL? I found a forum post regarding this:

http://www.e-junkie.com/bb/topic/2428

But haven't been able to get the method outlined to work. Has anyone been able to get this working?

Thanks!

Luke]]>
E-junkie Discussions; Outshine