• Resolved Dharmesh Patel

    (@ddpatel4241)


    Showing the price of product is on product and shop page without tax. I have selected option “Yes, I will enter prices inclusive of tax” and also I have checked that “show price inclusive of tax” so it should display tax included price on shop and products detail page. but still it showing price without tax.

    Please advice.

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

Viewing 7 replies - 16 through 22 (of 22 total)
  • Hi @ddpatel4241,

    Thanks for the update and for sharing the staging link — that’s helpful.

    Circling back to your earlier note to my earlier reply (@lovingbro): I understand you’ve set an 18% rate in the Standard tax class. However, I also see from your screenshots that you’ve created additional tax classes (12% GST, 18% GST, 28% GST), and on the product itself you selected 18% GST as the tax class. If there are no rates defined inside WooCommerce → Settings → Tax → 18% GST, WooCommerce won’t apply tax to products assigned to that class on the shop/product pages. That’s why your ₹11,999 inclusive price is showing as ₹10,168.64 until the checkout address is known.

    A quick test you can try right away: edit one of the affected products and change its Tax class from 18% GST to Standard, then view it on the shop/product page. If the price displays correctly as tax-inclusive, that confirms the issue is simply that the 18% GST class itself doesn’t have rates configured yet, and you can either keep using Standard or add the same 18% rates under Tax → 18% GST.

    Regarding the staging site and why we ask you to deactivate all plugins except WooCommerce there: this isolates WooCommerce so we can see how prices behave without any code from other plugins or themes altering the output. Even excellent themes/plugins can filter price display or run their own tax logic. Testing with only WooCommerce and a default theme (like Storefront) lets us determine whether the behavior is core WooCommerce or introduced by something else. Once we know that, we can re-enable components one by one to find the exact source of any conflict without risking changes on your live site.

    Give that product tax-class switch a try and let me know what you see on the product/shop pages. If it fixes it, we can help you replicate your 18% rates inside the 18% GST class so everything aligns with your intended setup.

    Thread Starter Dharmesh Patel

    (@ddpatel4241)

    I have changed standard class to 18% GST Tax class for our product. It was Standard. Not it is “18% GST”.
    https://ibb.co/pjVQfGFh

    Stil the same issue, Please check below.
    https://ibb.co/W4fGtdyX



    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the screenshot. I can see that you have set the tax class for the product as 18% GST. To avoid confusion, please set it to the Standard tax class then do not change the tax class until the issue is resolved. I’m suggesting this because the tax settings screenshot you shared is for the Standard tax class, and we will help you fix the issue accordingly. Please note that the 18% GST custom tax class and the Standard tax class are separate.

    Also, I can see you have set tax calculation based on the customer billing address. In this case, the price will appear excluding tax until the customer adds their billing address.

    To assist you further, please go to WooCommerce → Settings → General and set the Default customer location to either Shop base address or Geolocate.

    Note: If you set the location to Geolocate, you’ll need to create a MaxMind account and configure MaxMind via the Integration tab in WooCommerce → Settings.

    For more details, you can refer to this guide:
    Configuring WooCommerce Settings – General

    Once MaxMind is configured, WooCommerce will automatically detect the customer’s location when they visit your site and display prices including tax.

    Thread Starter Dharmesh Patel

    (@ddpatel4241)

    This solved the issue.
    WooCommerce → Settings → General and set the Default customer location to either Shop base address 

    My question is: if we have selected inclusive tax, shouldn’t it display regardless of the customer’s location? The price should remain the same for any location. Therefore, WooCommerce should be able to display the product price on the shop and product pages as an inclusive tax price without depending on the customer’s location.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I’m glad the issue was resolved after setting the default customer location to the shop base.

    If you want to display the same price regardless of the customer’s location, you can use this code:

    add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_false' );

    This will ensure that prices shown on the shop and product pages include tax and remain consistent for all customers.

    Thread Starter Dharmesh Patel

    (@ddpatel4241)

    Thank you for your prompt support.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I’m so glad we were able to get that sorted for you! If you’re happy with the support you received, would you consider leaving us a quick review? It really helps us out: https://wordpress.org/support/plugin/woocommerce/reviews/#new-post

Viewing 7 replies - 16 through 22 (of 22 total)

The topic ‘Showing the price without tax on product and shop page issue’ is closed to new replies.