5 / 5
Feb 2011

I am just trying to set up my shop. My site is configured so that products in the shop load into a DIV when chosen from a selector. Basically loads in a separate HTML page.

When I try the page alone the E-Junkie cart pops up in a nice zooming window. Great.



However when it is loaded into the DIV it seems to be forced to open in a new window tab.



Any way around this problem?

something to do with the target="ej_ejc" part of the Java code?



Ideally I'd rather not have the E-Junkie window open at all until the checkout and have all the cart elements embedded in my own design but this seems impossible...maybe?



help anyone!?

  • created

    Feb '11
  • last reply

    Feb '11
  • 4

    replies

  • 1.2k

    views

  • 2

    users

  • 2

    links

Sorted it. I should just spend more time reading the forums!



Pasting this bit of code into my main page keeps the code in check:



<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>





looking good

Yes, those lines are part of your View Cart button code, and are required to manage the overlay-style cart inside your page. Just make sure you have at least one complete block of View Cart code (or at least that section you referenced) on every page that has any number of Add to Carts.

Great. I would still like to have the cart total and maybe the items listed embedded in my own page though.

I have tried the unofficial hack off the forum but its not perfect and doesn't work with my layout anyway (maybe I am missing some code again)



Would you be providing some official code for this at any point? I'm sure many people would be interested in this feature



thanks