Support » Plugin: Price Based on Country for WooCommerce » Continue spinner icon on Safari Browser

  • Resolved Alan Franklin



    Your plugin is working on all browsers except Safari. I have a problem facing on Safari on Mac Operating System. The price on product description page continue spinning without loading the price. Please check the issue on Safari Browser and give the solution.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Oscar Gare


    I found a syntax error on the JavaScript of your page:

    The error is breaking the JavaScript execution of the page. Since the PBoC JavaScript is at the end of the “autoptimize” JS file, the error breaks the javascript execution before PBoC run the “load product price in the background” function, so the spinner is not removed.

    You have to fix the syntax error to solve the issue. The text of the syntax error ( input[name=’order=[wordpress-theme]’ ) is not part of the PBoC javascript.


    I don’t have a Mac to test on, but try loading the page with ?ao_noptimize=1 appended to the URL (which disables Autoptimize) to see if you get an error in that case? If not you’ll have to (re-)configure AO, more info in the troubleshooting tips in the AO FAQ.

    hope this helps,

    This should in a case of an error then display the original currency IMO. Not sure how one can really achieve this however. Perhaps there is an event for a js error?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Continue spinner icon on Safari Browser’ is closed to new replies.