Menu
Contact Us

E-junkie Guide

Tips and tools for beginners and experts alike.

One thing that can cause this would be if the following lines of View Cart code appear out of this order in your page source:

<script language="JavaScript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>
<script src="https://www.e-junkie.com/ecom/box.js" type="text/javascript"></script>

I.e., if you have a function EJEJC_lc(th) { return false; } section appearing anywhere in the page source AFTER that last box.js line, that can suppress the cart from displaying at all when a cart button is clicked.  The lines shown above should appear just once in each page, and no part of that code should appear anywhere else in the page. Ideally for best page-load performance, place the lines above at the very end of each page's source just before your </body> tag as close as possible, and nowhere else.

Secure-encrypted pages using https:

Another problem may be if your site is forcing all your Web pages to load with secure encryption using https:// URLs. The cart button code we provide is intended to be pasted into a regular, non-encrypted page loaded with an ordinary http:// URL, so any browser that's set to block "mixed content" (regular unencrypted content within a secure-encrypted page) may block our standard cart script.

Our cart system and your chosen payment processor (e.g. PayPal) automatically take care of switching the buyer to secure https:// mode for checkout, as that's the only time when personal/financial data is being transmitted to/from the buyer's browser and thus needs to be secure-encrypted. Before the buyer proceeds to checkout, all shopping in progress is anonymous, so it's unnecessary to load your entire site under an https:// URL for all pages. See this help page for a more detailed discussion of this topic.

That said, if you prefer to have your entire site load under https:// anyway, then to prevent potential disabling of your cart buttons due to the "mixed content" issue described above, you'd simply need to change every instance of http:// to https:// in your E-junkie button codes.
 

Was this article helpful?
Yes, thanks!
Not really

Can't find what you're looking for?

Contact Us