5 / 5
Sep 2013

This is just to let u know that the add to cart button is not working anymore. I tried to configure it on our site but it is not letting me add items into the cart and not showing the cart as well.



Kindly advise and let us know if u need our sites url for confirmation.

  • created

    Sep '13
  • last reply

    Sep '13
  • 4

    replies

  • 1.6k

    views

  • 2

    users

  • 11

    links

Please provide a link to your page where you have placed our buttons that are having the problem, so we can test the buttons and examine your HTML code to see what the problem might be there.

Thanks for your prompt response. I have just created a testing page that includes both View and Add carts button only: https://iqrajavaid.com/testing-page/





I am testing it in chrome Version 29.0.1547.66 m, its not opening in a new window. Also, i have pasted the button code as below, didnt alter anything in it.





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



<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=257094&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; }

// -->

</script>

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



Kindly let me know if u need any other information from our side.

The problem appears to be happening because of a new security feature in Chrome (and Firefox as well), which blocks loading insecure scripts using http: when the page itself is being loaded securely using https: -- see details here:

https://support.google.com/chrome/answer/1342714

https://support.mozilla.org/en-US/kb/how-does-content-isnt-secure-affect-my-safety

https://blog.mozilla.org/security/2013/05/16/mixed-content-blocking-in-firefox-aurora/



You can tell when that blocking feature is affecting the page you're viewing by the shield icon that appears in the browser's address bar (on the left in Firefox, or on the right in Chrome), which you can click for details with an option to load insecure scripts anyway.



Since our standard View Cart code provides an http: URL to load our box.js script (which manages the cart overlay display inside your page), and you are testing your page with an https: URL, this new browser security feature is blocking our box.js script from loading in your page, so cart buttons which call that script to display the cart overlay in your page are not working.



You can fix this by simply changing http: to https: in your View Cart code's script URL (making it "2https://www.e-junkie.com/ecom/box.js2"), or by using regular http: for the rest of your site (which will also improve your page-load performance).



You may have your own reasons for using https: on your site which are unrelated to our shopping cart, but our cart does not require it, as no sensitive information (such as the buyer's personal or financial information) is being transmitted to/from the buyer's browser while they are shopping on your site; such details are only handled on a secure checkout page, separately from your own site, after the buyer proceeds to checkout.

Wonderful!!!

Thanks alot for the prompt response and fixing that out for us. Its working fine now.