• Hello,

    I have been using Price Based on Country for WooCommerce Pro for setting price.
    I use litespeed Cache plugin, Autoptimize and Jetpack (site accelerator options)

    I was setting up this plugin (free version) for restrictions.
    Thee issue is –
    • The restrictions does not change based on new user visit, but shows content of the last visit irrespective of country.
    • The Geolocation is working fine as displayed on the widget of Price Based on Country for WooCommerce.
    • The page content refreshs when you select a random country from the mentioned widget and again select the relevant country from the widget.

    I am not sure what’s causing the issue. Could it be some cookies that I need to exclude or PHP functions.

    Thanks

    • This topic was modified 3 years, 4 months ago by industrialtex.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Zorem

    (@zorem)

    HI @industrialtex,
    You need to exclude our cookie from the Litespeed Cache plugin. Can you exclude the cookie country and check this issue again?
    And let me know if you need more help.
    Thanks 🙂

    Thread Starter industrialtex

    (@industrialtex)

    Hello,

    The issue persists.

    I excluded the cookie under Cache > Exclude > Do Not Cache Cookies
    Screenshot – https://prnt.sc/Ob1ebz9LWEL-
    Relevant Doc – https://prnt.sc/32vAp6oqB1Lp

    I have restricted one product to be purchased only from my home country.
    I used two separate devices simultaneously, mobile (with VPN on Firefox and edge private mode) and Desktop (without VPN emulating mobile device under inspect element on chrome).

    It still serves the stale content from the last visit irrespective of country.

    What else could be done?

    Thanks

    PS: Purged all cache from Litespeed, BunnyCDN, ObjectCache, and Autoptimize

    • This reply was modified 3 years, 4 months ago by industrialtex.
    Plugin Author Zorem

    (@zorem)

    Hi @industrialtex,
    Can you share screenshots of plugin settings and share restricted product links? so, we can figure out the issue.
    Thanks 🙂

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

The topic ‘Litespeed Cache Compatibility’ is closed to new replies.