• Resolved andvsb

    (@andvsb)


    Hi!

    I have a problem with w3 cache and woocommerce.
    I have a store and I have enabled page cache in w3 cache.
    My store sells in multiple countries and the final price varies between countries due to the presence of different taxes.
    So if a user enters their country in the shipping calculation in the shopping cart they see prices change everywhere ( even on the homepage and in the store ) based on the taxes that are applied.
    The problem is that the homepage is cached but there is no caching division by nation or taxes so it happens that sometimes I see the home with prices of a different nation each time.
    The problem is solved if I exclude the home page cache but I would like to avoid this.
    How can this problem be solved.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @andvsb

    Thank you for reaching out and I am happy to help!
    You may want to keep the fronte page exluded from the cache for the time being.

    Can you please share if you are using any specific plugin for this or option so we can check this and try to replicate the behavior?

    Thanks!

    Thread Starter andvsb

    (@andvsb)

    Hi Marko,
    yes I excluded from the page cache the homepage momentarily where I call up the latest products.
    To replicate the problem you just need to have

    • woocommerce.
    • The prices shown to the user with vat.
    • The vat that varies from country to country.

    To replicate the problem just:
    Go to the shopping cart and enter a different country than the default country in the store.
    The prices in the store will vary by changing the vat percentage.

    Sometimes the page is cached with a country’s percentage and not the default one.

    Thanks

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @andvsb

    Thank you for yoru feedback.
    Just to confirm, this is an option in the main woocommerce.

    Can you plase confirm this?

    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    No activity for a week.
    Marking topic as resolved

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

The topic ‘Wrong Price Product Homepage’ is closed to new replies.