6 / 6
Feb 2009

This page on my site: http://www.greathill.com/store/stsite.php has no

e-junkie code. It works fine. This page: http://www.greathill.com/store/stsite1.php

has the words 'NOTHING HERE' from the first page replaced with the

View Cart button code from the e-junkie website.



As you can see the second page if you make the window full screen and hit

the reload button a couple of time (st_site1.php) has a problem that does not

show on the first page. No other page on my site has this problem either.



If I comment out the line in the e-junkie View Cart code that includes

box.js the problem with the page goes away but then, of course, the

cart does not work.



Any help would be appreciated.

  • created

    Jan '09
  • last reply

    Feb '09
  • 5

    replies

  • 1.1k

    views

  • 3

    users

  • 4

    links

I think I already responded to your email inquiry on this issue, but for the record, try adding these lines to your View Cart code on every page where you are using our View Cart button, just before the "// -->" line in the standard code we issue:



function EJEJC_config() {

EJEJC_INITCSS = false;

}



This fixes some common problems that can be caused by a conflict between our cart's CSS and your own page/site's CSS.

1 month later

I am also having problems with the e-junkie cart breaking other jquery and css on my page. I tried the method above but it does not see to work, and other suggestions?



Thanks

Then you will need to bugshoot conflicts between our cart script and your site's scripts. You may find the suggestions in this post helpful to get a closer look at how our cart is rendered:

http://www.e-junkie.com/bb/topic/3162#post9108



In general for script conflicts, it's often just a matter of rearranging the order of script references in your page; sometimes it makes a difference which scripts and functions load before or after another. You can take the second half of our View Cart code (from the first <script... to the last </script>) and really put that part anywhere you want in your page, even up in the HEAD section if you wish.