• mvandermei

    (@mvandermei)


    I have been having the following issue for a while now and I have not been able to pin point the exact source of the problem or how to resolve it:
    I am running a woocommerce webshop with a Flatsome-child theme. At the bottom of my website https://aero-wear.com I have a custom selection of products showing. The prices of these products are shown including VAT. But within an unknown interval of time (this can be minutes or hours) the prices of these items switch from being shown including VAT to excluding VAT. This while the prices in the shop or on the product page are still being shown correctly (Including VAT). Plus I do not see this change if I am on the site as admin, only if for example I browse my website through an incognito browser (so when I am not logged-in).

    I have 2 plugins “Autoptimize” and “WP super cache” running, and whenever I reset the Cache of either one of these plugins the Pricing gets shown correct again (prices including VAT).

    Does this problem sound familiar to anyone, or does this ring a bell on any specific setting that I need to change in WP super cache? I am not too familiar with setting up WP super cache correctly and would very much appreciate any input. Thank you very much.

    Kind regards,

    Michael van der Mei

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Optimizing Matters

    (@optimizingmatters)

    Hi Michael;
    Some pointers:
    * If you clear Autoptimize’s cache, WP Super Cache’s is automatically cleared as well so that might explain.
    * You probably have page caching (in WPSC) off for logged in users, which explains why you always see correct prices
    * I suppose you’re referring to the “our favorites”-block, this is not rendered by JS but by the HTML so it’s not a JS-problem

    Based on the above I *think* that somehow _a_ request (from a search engine bot?) is causing the page to show prices without VAT and that page is being cached by WP Super Cache. So the question becomes; under what circumstances does that widget (?) display prices without VAT. Maybe there is some geolocation logic happening here where VAT is shown for EU countries but not for others?

    hope this helps,
    frank (autopitmize ontwikkelaar)

    Thread Starter mvandermei

    (@mvandermei)

    Hi Frank,

    Thank you so much for your reply. Yes it is the “Our favorites block. “I will play around with VAT settings of Woocommerce to see if the error keeps showing up. Do you maybe have any recommendation on where or how to start troubleshooting? How could I for example “track” when the circumstances occur that switch the prices? Any help is much appreciated.

    Regards,

    Michael

    Optimizing Matters

    (@optimizingmatters)

    Given my very limited lack of WooCommerce knowledge I’m not really able to give you tips on how to proceed @mvandermei … Maybe try ticking the “Extra homepage checks. (Very occasionally stops homepage caching) (Recommended)” option in WP Super Cache’s settings? or under “Accepted Filenames & Rejected URIs” you could tick the “front page” checkbox to have that one not cached any more (which would result in a higher server load and/ or a lower performance of the home page)?

    Regarding WooCommerce & VAT; you might not only have to check in WooCommerce’s settings, but maybe also in the component (plugin or theme?) that is responsible for the “favorites” block on the homepage?

    Thread Starter mvandermei

    (@mvandermei)

    Thank you for your reply Frank. I will continue troubleshooting and searching for solutions. If anything pops into your mind, please let me know.

    Regards,

    Michael

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Prices incl VAT showing as prices excl VAT (woocommerce flatsome web shop)’ is closed to new replies.