5 / 5
Feb 2010

I had everything working just fine for a few weeks and all of a sudden (I didn't change anything) both the add to cart and view cart opens the pop up window as well as opening in a new window. I also noticed that my default shipping country no longer is the US? Any help would be appreciated!



The site is - 1http://www.simpleseaglass.com1



Thanks!

  • created

    Jan '10
  • last reply

    Feb '10
  • 4

    replies

  • 1.3k

    views

  • 2

    users

  • 2

    links

Your default shipping country still appears to be United States. If you were testing a cart and had selected a different country, that would persist in your cart for 24 hours, as each buyer's cart contents and in-cart selections persist until checkout or for 24 hours from the last time they viewed their cart, whichever happens first.



I had a look at your page, and the problem seems to be a conflict between our cart script and the last block of javascript in your page. I made a copy of your page source and was able to get the cart working normally again in my copy by removing these lines:



<script type="text/javascript">

try {

var vglnk_api_key = "d7db31b5bc5f7c8ff840b57ee4e2df68";

var vglnk_domain = (("https:" == document.location.protocol) ? "https://" : "http://") + "api.viglink.com";

document.write(unescape("%3Cscript src='http://www.weebly.com/lnk.js?key=" + vglnkapi_key + "' type='text/javascript'%3E%3C/script%3E"));

} catch(err) { }

</script>

<script type="text/javascript">

try {

vglnk(vglnk_domain, vglnk_api_key);

} catch(e) { }

</script>



It appears to be loading a larger script file from the script provider's server, so if you didn't recently add those lines to your site, the provider of that script may have recently changed something about their remote script which started causing the problem.



I tried moving that section around to different places in my copy of your page source, but only deleting it entirely solved the problem. You can either remove it from your site, or if you want to keep using whatever function that script performs, you may want to contact that script's provider to see if they'd be willing to edit their script or suggest a workaround.

Thanks a lot for digging into this and finding out the problem. I contacted the script provider and they came to the same conclusion and disabled the script until they can figure out why it was causing the issue.



Thanks again!

You're welcome, and we did just fix a bug that had cropped up recently, which was causing the first country in the cart's menu to become selected (rather than the seller's default country or whatever other country the buyer had selected), but only when clicking the View Cart button to display the cart.

ahhh, and here I thought I was going crazy :slight_smile: I noticed after you had posted that my default shipping country was correct, but it still was showing albania for me. Good to know you got that squashed as well. Thanks!