• Resolved bneufelddms

    (@bneufelddms)


    When the plugin is activated, my pages will all load twice. I’m not sure what to make of that. Can any provide any suggestions to solve the issue?

    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

    (@oscargare)

    Hi,

    Did you set the “Default customer location” option to “Geolocation with page caching support”?

    This WooCommerce option does a Javascript redirection. Please review:
    Making Geolocation Static Cache Friendly in the WooCommerce developer blog.


    Setting the “Default customer location” option to “Geolocate” (only geolocate) solves the problem.
    The plugin includes a feature to refresh the price using Javascript and AJAX on cached pages. Review:
    https://www.pricebasedcountry.com/docs/getting-started/geolocation-cache-support/

    • This reply was modified 2 years, 5 months ago by Oscar Gare.
    Thread Starter bneufelddms

    (@bneufelddms)

    Hello. I did have “Geolocation with page caching support” set and I still get the refresh. I’m unsure where the issue may be. If you have any other suggestions, I’m willing to consider them. If not, I may need to look for another solution.

    Thanks.

    Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    Price Based on Country does not include a feature that “reloads the page.” The plugin only refreshes the HTML of the price when the option “Load product price in the background” is enabled.

    So, the issue could related to another plugin. Do you check that deactivating Price Based on Country solves the problem?
    In addition, Price Based on Country can’t be active with another multicurrency plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin causes page to refresh twice’ is closed to new replies.