Lost income due to COVID-19? E-junkie is providing 1 year free accounts to sell anything, anywhere. Click Here for more details.

E-junkie Help >

Nothing happens when cart buttons are clicked

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

<script language="JavaScript" type="text/javascript">
function EJEJC_lc(th) { return false; }
<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 this Cart Script code at the very end of each page's source just before your </body> tag and as close as possible, and nowhere else.

Secure-encrypted pages using https:

If you have configured (or recently updated) your site to load with secure encryption under https:// page URLs, be sure to update any older E-junkie button codes in your site to change any instances of http:// to https:// as well. The E-junkie Dashboard has issued all-https:// button codes since 2015, so you only need to update older codes that you'd pasted prior to that. It will probably be sufficient to just update the box.js line(s) of our Cart Script code in every page, like so:

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