9 / 9
Apr 2010

I copied the code that is in the box next to the box that has the code for the individual item, and I put at the top, where my old cart was. When I click on it, though, it doesn't show my logo. Am I doing something wrong? Thanks.

  • created

    Apr '10
  • last reply

    Apr '10
  • 8

    replies

  • 1.5k

    views

  • 2

    users

  • 5

    links

Actually, now my logo is gone from the checkout page on ALL my items.

Hi Pinkie,



Are you already participating in our Reseller program to enable a logo in your Thank You pages and cart?



If you pasted the raw "View Cart" button code it will be missing the custom code necessary to add your logo into the cart. Add the following lines to each page where you are using our View Cart code, just before the // --> line in the standard code we issue:



function EJEJC_config() {

EJEJC_POSTCALL=true;

}

function EJEJC_shown() {

jQuery("#imgHeader").attr("src", "http://www.yoursite.com/path/to/logo.jpg");

}







As for the checkout page, we are not able to add your logo to the checkout page for every payment processor. Which processor are you using?

Yes, I do participate in the Reseller program and my logo appears on the checkout page. The only place I'm having difficulty is with the View Cart button that goes at the top. I still have the OLD button from my PayPal cart.



Are you saying I have to put special code in the View Cart Button Code page?



When I copied and pasted as is it seemed to screw up the checkout page. It looked different.

Any older PayPal buttons you were using won't work with your E-junkie cart at all. You will need to use the E-junkie View Cart code that you pasted out of our system, and then you will need to add the code I referenced above. Your end result should look something like this:



<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=XXXXXX&ejc=2" target="ejejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ejview_cart.gif" border="0" alt="View Cart"/></a>

<script language="javascript" type="text/javascript">

<!--

function EJEJC_lc(th) { return false; }

function EJEJC_config() {

EJEJC_POSTCALL=true;

}

function EJEJC_shown() {

jQuery("#imgHeader").attr("src", "http://www.yoursite.com/path/to/logo.jpg");

}

// -->

</script>

<script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script>



XXXXXX should be your E-junkie ID, and http://www.yoursite.com/path/to/logo.jpg is the URL of your logo from your site.

I emailed my question to tech support and received a reply. I think there may be some confusion. I installed the e-junkie Add to cart button on each item and it is showing correctly. At the top of each page (aside from the Add to cart button) there is a View Cart button that a buyer can access wherever they are on the site.



This is the button I'm having issues with. Yes, I realize this is a PayPal button. I DID try to install the e-junkie button but am having issues with it. When I installed it, it didn't show my logo. Plus the checkout page opened up as a small page, not a full, separate page like it should be. It also affected ALL my other items in the same way.



I included the script you suggested and it showed the logo ok, but the checkout page is still opening up as a small page, as are all my other items.



It also seems to do something to the margins on my website.



So yes, I am leaving th PayPal cart until this can be resolved. Hopefully this can be soon, as I don't want to confuse my customers.



Thank you.

Maybe I can email you the code I'm using and you can take a look at it?

I sent the View Cart code to your tech support. It is not live because of the various problems. If someone could please take a look at it and let me know what the problems are, I'd appreciate it.



Can Josh look at it? He's been helpful in the past.



Thanks.

Hi, Josh here. :)



I think there is some confusion between what we refer to as a "checkout" page versus your shopping cart. When your buyers click the "Add to Cart" button the page that pops up and/or the little window that appears on your page are the the "shopping cart."



The actual "checkout" page is the step beyond that, where the buyer gives their payment information to PayPal or a different payment processor.



If there is not an E-junkie "View Cart" button on your page, the shopping cart will appear in a separate pop-up window. If you prefer it that way, then it is not necessary to include a "View Cart" button anywhere; but one of the functions of the "View" button is that it displays your shopping cart as an overlay window inside your page instead of creating a new pop-up window. Some users feel that makes for a neater presentation and it won't interfere with pop-up blockers, etc. But ultimately that is up to you.



If you do not include the "View Cart" button your logo will display in the pop-up shopping cart without any extra steps. If you choose to use the "View Cart" button just include the extra code I mentioned up-thread and it will display your logo in the overlay cart. Regardless of what you decide I recommend removing your old PayPal View Cart buttons because they will not work with your E-junkie buttons and will always display an empty cart.