Tag Cloud for this topic:
|
Custom Button instead of the Yellow Paypal button
|
GuestUser
member
Posts: 808
|
We really like your product, but there is a major drawback. When we click "Add to Cart", the screen displays a great big yellow Paypal button. Is there any way for us to replace that button with one of our own?
# POSTED ON: October 22, 2007 @ 16:42 GMT -7
|
E-JunkieExpert
member
Posts: 804
|
# POSTED ON: October 22, 2007 @ 16:43 GMT -7
|
GuestUser
member
Posts: 808
|
I went to the link above and the instructions are quite unclear.
It says for me to add (or replace):
function EJEJC_shown() {
// will change the PayPal checkout button image
jQuery("#btnPP").attr("src", http://yourdomain/yourimage);
}
But I cannot find the EJEJC_shown() function in the view cart or the add to cart buttons.
# POSTED ON: October 22, 2007 @ 16:47 GMT -7
|
E-JunkieExpert
member
Posts: 804
|
You just need to add the following to your VIEW CART button code you got from E-junkie
function EJEJC_shown() {
jQuery("#btnPP").attr("src", http://yourdomain/yourimage);
}
# POSTED ON: October 22, 2007 @ 16:49 GMT -7
|
GuestUser
member
Posts: 808
|
# POSTED ON: October 22, 2007 @ 16:53 GMT -7 MODIFIED ON: October 22, 2007 @ 17:04 GMT -7
|
E-JunkieExpert
member
Posts: 804
|
You will need to add this before EJEJC_shown
function EJEJC_config() { // will call EJEJC_shown function after the cart has rendered
EJEJC_POSTCALL=true; }
# POSTED ON: October 22, 2007 @ 16:54 GMT -7
|
GuestUser
member
Posts: 808
|
# POSTED ON: October 22, 2007 @ 16:58 GMT -7 MODIFIED ON: October 22, 2007 @ 16:59 GMT -7
|
E-JunkieExpert
member
Posts: 804
|
# POSTED ON: October 22, 2007 @ 17:03 GMT -7 MODIFIED ON: October 22, 2007 @ 17:05 GMT -7
|
|