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:

Trouble with box.js



jayrush
member
Posts: 2


This page on my site: http://www.greathill.com/store/st_site.php has no
e-junkie code. It works fine. This page: http://www.greathill.com/store/st_site1.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.


#
POSTED ON: January 20, 2009 @ 09:02 GMT -7
MODIFIED ON: January 20, 2009 @ 09:05 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4345


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.


#
POSTED ON: January 20, 2009 @ 16:34 GMT -7
MODIFIED ON: January 20, 2009 @ 16:35 GMT -7




jayrush
member
Posts: 2


This worked. Thanks.


#
POSTED ON: January 20, 2009 @ 17:40 GMT -7




aescripts
member
Posts: 6


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


#
POSTED ON: February 22, 2009 @ 17:52 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4345


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.


#
POSTED ON: February 23, 2009 @ 12:55 GMT -7
MODIFIED ON: February 23, 2009 @ 12:55 GMT -7




aescripts
member
Posts: 6


Sweet. Putting it in the head section did the trick!


#
POSTED ON: February 23, 2009 @ 20:32 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