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:

Having trouble with jQuery("#tdSell").attr



Eddie180
member
Posts: 8


I am trying to add a message under my checkout buttons (Google Checkout and Paypal) in the cart to say:

Don't have a Paypal or Google checkout account - checkout through Paypal and pay as a guest.

I already have added: function EJEJC_shown() {

as I have changed the cart header image.

I have tried adding the jQuery("#tdSell").attr line as follows:

jQuery("#tdSell").attr("innerHTML", "Don't have Paypal or Google Checkout? Choose Paypal and pay as a guest");

the above code appears immediately before, and on the line above the closing }

However the message is not showing in my cart.

I have tried clearing cookies and refreshing, but to no avail, any suggestions?


#
POSTED ON: May 29, 2012 @ 05:25 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4354


This would be the complete cart customization code you should add to your View Cart code on every page, just before the "// -->" line in the standard View Cart code you obtained from Seller Admin:

function EJEJC_config() {
EJEJC_POSTCALL=true;
}
function EJEJC_shown() {
jQuery("#tdSell").attr("innerHTML",
"Don't have Paypal or Google Checkout? Choose Paypal and pay as a guest");
}

If you're using the correct code and still find it isn't working in your page, please provide a link to your page, so we can have a look at what might be going on there.


#
POSTED ON: May 29, 2012 @ 15:26 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