• Resolved antekapa

    (@antekapa)


    Hi, I have same issue with any Cache Plugin which I try, the problem is that:

    if a visitor open a Product page for a first time (after purge cache) it show the correct shipping information, but if some else from another Country visit the same product it still shows the shipping methods for the first visitor. I spoke with Support of one the all cache plugins and he told me – AJAX, but I’am verry far from developer so have no idea how, what, where etc.

    My settings are auto show to customer location based on IP.

    So is that possible?

    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    our plugin do not have cahcing

    This is the issue of caching in your website, your website is caching even the Ajax request (so you have to check the configuration of the caching pluing or the caching of your hosting )

    Thread Starter antekapa

    (@antekapa)

    Hi, thanks for your reply.

    I never said that your plugin have Caching.

    I know that’s happen because I use a Separate chache plugin, but I have another function loaded via AJAX (Currency switcher based on customer location/IP) and this switcher work with no issues.

    I already spoke with the Cache plugin Creator and he told me that this Shipping just not loaded via AJAX, thats why not work ??

    Now I have no idea where is the problem if the problem is nowhere…

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    Shipping is loaded using ajax only here is the screenshot of the ajax request made by our pluing to load the shipping methods for the calculator.

    Apart from that you can simply disable the caching pluing for some time that can confirm if it is the caching pluing or some other caching on your server

    View post on imgur.com

    Thread Starter antekapa

    (@antekapa)

    Now I disable the Cache plugin and it works… but I think we talking about 2 different scenarios.

    I use this option “Auto calculation of shipping method” in your plugin settings and when a Second visitor open a already cached page it not fetch his Country and shows the Country of the First visitor.

    If manualy choose a Country it works, but this is not my wish…

    I hope so you get me right now.

    Thanks!

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Ok this is causing the issue, the address form is not loaded by ajax

    so in your case the address form is been cached and so the user selection of the address due to this when auto calculation is triggered it loads the wrong shipping

    but unfortunatelly we dont have any solution to make the form load dynamic, you should disable the auto calculation that should fix it as user will be selecting there coutry manually

    Thread Starter antekapa

    (@antekapa)

    Ok I will try to make the form to load by AJAX if I can, because no any develop skills on me ?? but will see.

    Thanks!

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    you wont be able to load the form by ajax, for now your only option is to disable the auto load feature so user can selecte there country manually and get correct shipping

    Thread Starter antekapa

    (@antekapa)

    I did it (manually change) but now is even worst. Now the visitor have to choose his Location on every product page every time, can’t remeber the choise even for the session…

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    We are checking if we can add some option to bypass this will let you know by tomorrow

    Thread Starter antekapa

    (@antekapa)

    Thanks for that, please when you check it, do it for automatically Detect location option as well, is much better for the visitors.

    Thanks!

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    We have releaqsed a new version v1.3.21 uprgade to that version and after upgrading Go to Basic settings tab and enable this option (as shown in below screenshot)

    after enabling this option clear your website cache and js cache as well so that setting and new js file can load on the site after this it will work even with the product page caching

    View post on imgur.com

    Thread Starter antekapa

    (@antekapa)

    Thanks a lot. I just tried and it’s looks to work like it should

    Thanks again!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Load on Product page with AJAX’ is closed to new replies.