• Resolved iohan

    (@iohan)


    I use Litespeed cache and have activated the Cache Support with Ajax in the Prize Zone settings of USD.

    When i go to the Shop page (not the product page itself) i see the Ajax only working on variable products but not on simple products. Variable products get the right currency and price in USD but the simple products get Euro wrong price.

    At the moment i have disabled cache for the shop-page which works for now but it takes very long to load all products (many many seconds).

    is there any solution to fix the ajax calculation for simple products on the shop page?

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

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

    (@oscargare)

    Hi,
    Please try to clear the whole site’s Litespeed cache after enabling the “Load product price in the background” option.

    Thread Starter iohan

    (@iohan)

    Hello,
    i tried it but it didn′t work. It works when i select a category, when i open the product but not on the shop page itself (variable products are working but simple not). I disabled CSS/JS cache as well, no difference. Its only working when i disable cache for the shop site.

    Thread Starter iohan

    (@iohan)

    did another test and when i enter the shop page as admin, which is not using litespeed cache the ajax is working on simple products as well, i see red dots blinking and then the price. but still not as a guest visitor from outside.

    Plugin Author Oscar Gare

    (@oscargare)

    Hi,

    E

    You have to exclude from cache the urls that contains the wc-ajax parameter.

    wc-ajax is the WooCommerce AJAX endpoint: https://developer.woo.com/2015/07/30/custom-ajax-endpoints-in-2-4/

    Thread Starter iohan

    (@iohan)

    i did it without any change in the result. when i am logged in i always get the 3 dots before i get the price (on the shop page and on the product pages) but when i am not logged in i dont. on the en-us page where i have disabled the cache i get the 3 dots calculation before the price shows.

    • This reply was modified 9 months, 2 weeks ago by iohan.
    • This reply was modified 9 months, 2 weeks ago by iohan.
    Plugin Author Oscar Gare

    (@oscargare)

    Hi @iohan,

    I added some improvements to the AJAX geolocation feature to prevent the cache plugins or the server from storing the “get_location” request in the cache. This should solve the issue.
    Could you update the plugin to version 3.4.3?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Shop Page Ajax problem’ is closed to new replies.