Product prices with tax not showing
-
hello ,
I have input the product prices inclusive of tax but when i test it on different browser the prices shows excluded of the taxes and the tax is calculated only after i give the address on the checkout page.
i am only delivering to India so the tax rates for all the cities are same so is there a way to display the pricing to all the customers visiting the website irrespective if they are logged in or not.
https://ibb.co/T1FzVHf
https://ibb.co/SrMy1c4The page I need help with: [log in to see the link]
-
Hi @manoranjan11,
I couldn’t replicate the same issue on my test site using settings like yours and having a standard 18% tax rate for India:
Link to image: https://bit.ly/3iZma52Can you please check if this is due to a conflict on your site by switching to the default Storefront theme and deactivating all other plugins except WooCommerce? You’ll find more details con conflict testing here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.
Let us know what you find out.
Hey,
I tried doing the conflict check by disabling all plugins and other things like purge cache etc. but still the same result.
Howdy ?? !
In order to help you to troubleshoot this issue, please share the following WooCommerce logs:
- System Status: found under WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
- Error log: found under WooCommerce > System Status > Logs
Thanks!
System Status
### WordPress Environment ### WordPress address (URL): https://sassysequoia.com Site address (URL): https://sassysequoia.com WC Version: 5.6.0 REST API Version: ? 5.6.0 WC Blocks Version: ? 5.5.1 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.5.1 Log Directory Writable: ? WP Version: ? 5.7.2 - There is a newer version of WordPress available (5.8) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.11 PHP Post Max Size: 128 MB PHP Time Limit: 120 PHP Max Input Vars: 5000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.19-MariaDB-cll-lve Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.6.0 WC Database Prefix: wp_ Total Database Size: 14.63MB Database Data Size: 12.17MB Database Index Size: 2.46MB wp_woocommerce_sessions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.11MB + Index: 0.16MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_aioseo_posts: Data: 0.03MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_ewwwio_images: Data: 0.09MB + Index: 0.08MB + Engine InnoDB wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ff_scheduled_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_entry_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_form_analytics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_fluentform_submission_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_img_optm: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_options: Data: 2.44MB + Index: 0.13MB + Engine InnoDB wp_pofw_product_option: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pofw_product_option_value: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 5.52MB + Index: 0.25MB + Engine InnoDB wp_posts: Data: 2.52MB + Index: 0.13MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tinvwl_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_tinvwl_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_tinvwl_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wapo_addons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wapo_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wapo_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wapo_types: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 203 custom_css: 1 custom-css-js: 1 customize_changeset: 36 elementor_library: 3 fpf_fields: 1 nav_menu_item: 33 page: 15 post: 1 product: 45 revision: 249 size-chart: 10 wpautoterms_page: 2 wpforms: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (13) ### ManageWP - Worker: by GoDaddy – 4.9.9 User Menus: by Code Atlantic – 1.2.7 Simple Custom CSS and JS: by SilkyPress.com – 3.37 Elementor: by Elementor.com – 3.4.2 Kadence Starter Templates: by Kadence WP – 1.2.5 Product Options for WooCommerce: by Pektsekye – 1.0.0 Force Authentification Before Checkout for WooCommerce: by Luiz Bills – 1.4.1 WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.9.3 WooCommerce: by Automattic – 5.6.0 WooLentor - WooCommerce Elementor Addons + Builder: by HasThemes – 1.9.5 WP Mail SMTP: by WPForms – 3.0.3 Smush: by WPMU DEV – 3.8.8 WPForms Lite: by WPForms – 1.6.8.1 ### Inactive Plugins (11) ### Essential Addons for Elementor: by WPDeveloper – 4.8.4 Facebook for WooCommerce: by Facebook – 2.6.1 iThemes Security: by iThemes – 8.0.2 Jetpack: by Automattic – 10.0 Join.chat: by Creame – 4.1.15 NitroPack: by NitroPack LLC – 1.5.7 Product Size Charts Plugin for WooCommerce: by theDotstore – 2.1.1 Site Kit by Google: by Google – 1.39.0 Social Feed Gallery: by QuadLayers – 3.2.5 TI WooCommerce Wishlist: by TemplateInvaders – 1.28.0 WPC Composite Products for WooCommerce: by WPClever – 3.4.5 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### ManageWP - Worker Loader: by GoDaddy – ### Settings ### API Enabled: – Force SSL: – Currency: INR (?) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #1144 - /shop/ Cart: #1145 - /cart/ Checkout: #1146 - /checkout/ My account: #1147 - /my-account/ Terms and conditions: #1622 - /terms-and-conditions/ ### Theme ### Name: Kadence Version: 1.0.30 Author URL: https://www.kadencewp.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 279 Oldest: 2021-07-21 00:58:33 +0530 Newest: 2021-08-20 14:51:33 +0530 Pending: 6 Oldest: 2021-08-21 07:26:31 +0530 Newest: 2021-08-27 14:51:33 +0530 ### Status report information ### Generated at: 2021-08-20 14:51:38 +05:30
The Logs Section is empty
Thanks for your reply @manoranjan11.
Your SSR is indicative of some form of caching though I do not see a caching plugin. Could you check with your host if they have any server-side caching and request them to purge it on their side?
I also see that you wrote:
the tax is calculated only after i give the address on the checkout page.
Could you try to set Default Customer Location to
Shop base address
orGeolocate
in WooCommerce → Settings → General?Let us know how it goes.
Thanks.I checked with my host and they said i do not have any server side caching. But i use Nitropack which i keep disabled when working on the website. I still purged all the cache.
And i set the default customer location to shop base and the price is now showing but i don’t think this can be a solution because in this when i checkout from the account the address field is prefilled with the shop address which i think is not a good customer experience.
Hi @manoranjan11,
Thanks for sharing further details about the caching and how you’ve set up the
Default customer location
.And i set the default customer location to shop base and the price is now showing but i don’t think this can be a solution because in this when i checkout from the account the address field is prefilled with the shop address which i think is not a good customer experience.
By default, setting the
Default customer location
toShop base address
should not mean the address field gets prefilled with the shop address.I think the most likely reason why you’re seeing the address prefilled is because you’re logged in as the site’s admin that has this address saved under the My Account > Addresses section.
I registered a test account on your site and added a product to my cart, then visited the checkout page. As you can see, no address other than the
Maharashtra
state (that’s the store’s state, right?) is showing, as seen in this screenshot:
Link to image: https://d.pr/i/WG7Nu1The taxes also seem to be working correctly.
Please let us know if you have further questions!
Yes that’s right
I meant State field is prefilled with Maharashtra and the tax is also working fine.
But I don’t want the state field to be prefilled as it will be different for different customer.
That’s why I am expecting any other solution if possible for the tax issue other than changing the Default Customer Address.Hello @manoranjan11
But I don’t want the state field to be prefilled as it will be different for different customer.
If you want the field to be prefilled with the current customer’s location, the right option is to have the Default customer location set to
Geolocate
. For that, you are going to need the MaxMind Geolocation Integration.If you are looking for any other solution apart from that, you are going to need a customized solution that would require a bit of additional coding.
If you do require help with the actual coding, we’d recommend hiring a developer or one of the customization experts listed at?https://woocommerce.com/customizations/.
Cheers.
Hi there,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here when you are ready to continue.
Thanks!
You can mark it resolved but the issue still exist.
- The topic ‘Product prices with tax not showing’ is closed to new replies.