WC_Tax queried on every page – too slow
-
Hello WC community!
I have products in my store that are shipped/created from different states so I cannot use the automated tax option for WC – I must use the manual tax calculations tables and they are pretty large database tables!
I do not display or want to try and calculate product taxes until a customer gets to the cart or checkout page(s). However, WC seems to call my slow tax database tables with WC_Tax on every page load.
I’m wondering if there is a way to disable this tax function on specific pages? I am trying to speed up my landing page and the WC_Tax function is flagged as a slow query on every single page in my store which seems very unnecessary.
Thanks in advance for any help I can get!
- The topic ‘WC_Tax queried on every page – too slow’ is closed to new replies.