E-junkie - We help you sell online
World Class Solution - Damon @ PayPal
Sell & promote your products Join affiliate programs offered by sellers Shop Community
  Google Custom Search

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Why has my "view cart" html code changed? **updated**



heathert
member
Posts: 7


**UPDATE** After messing around with it, it seems that it's Wordpress that's eating the Javascript. What do I do about that?!?

My "view cart" code that I'm supposed to copy and paste changed between the time I made up my test page (with only one item in the database, and on "trial" status) and now, when I've started my paid service, and am adding a second product.

I'm seriously hoping that I don't need a different code everytime I add another product; I'm also hoping I can offer more than one product per page!

What's the function of the new javascript stuff in there (that wasn't in there the first time I pasted the code)?

Thanks,
Heather


#
POSTED ON: April 23, 2008 @ 19:57 GMT -7
MODIFIED ON: April 23, 2008 @ 21:38 GMT -7




Tyson
E-Junkie Crew
Posts: 1486


We are aware of a conflict with our regular Javascript cart button codes being used in some Wordpress layouts, and we do have a workaround to fix that (as described in our Troubleshooting help pages) -- just add these lines before the last line of your regular (Javascript version) View Cart code:

function EJEJC_config() {
EJEJC_INITCSS = false;
}

There are only two versions of View Cart code -- Javascript (recommended) and non-Javascript (for use only where JS code cannot be pasted, such as Myspace). Neither of these will ever change, assuming you are using the same E-junkie Merchant account as before. The only changes you would ever see are when you un/mark the checkbox for Javascript on the copy-your-codes screen. Of course, the Add to Cart codes are different for each product you sell (so we can tell which product is being added to the cart), and those also come in JS and non-JS flavors as well.


#
POSTED ON: April 24, 2008 @ 10:25 GMT -7
MODIFIED ON: April 24, 2008 @ 10:29 GMT -7




heathert
member
Posts: 7


Thank you, thank you, thank you, thank you. I just don't know enough about Javascript to even troubleshoot things, so I had no idea what was going on, and once I found out WP didn't accept Javascript, I was so totally in the dumps that I didn't even remember about the non-javascript option (even though yes, I know, it's right there in front of my face at the "get code" page... *sigh*)...

Anyway, thank you. All is bright in my world again. =)


#
POSTED ON: April 24, 2008 @ 11:04 GMT -7




Tyson
E-Junkie Crew
Posts: 1486


You're welcome. :^)

BTW, I'm pretty sure that WP does allow you to paste-in Javascript codes in at least some circumstances (since we do offer that workaround to make our Javascript cart play nice with WP layouts ;^) -- that might be some sort of advanced mode or suchlike in WP; I'm no WP expert, so I can't tell you exactly how to make this possible, but just thought I'd mention that in case you want our nice cart overlay screen that only works with the JS button codes.


#
POSTED ON: April 24, 2008 @ 11:58 GMT -7




heathert
member
Posts: 7


From what I'm gathering in forum responses, I think you have to be able to edit the CSS... which is extra. =) This'll work just fine, I hope!


#
POSTED ON: April 24, 2008 @ 12:13 GMT -7


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

PayPal Certified Integration Google Checkout Certified Integrattion 30 Day Money Back Guarantee Slam the Online Scam
 Share this page!