[Skip to main content](#vessel-content)

#   Incl. tax in one category and excl. in another?

##

- **[leonardy](/forum/user/32118-leonardy "View leonardy's Profile")**
- [![leonardy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32118-leonardy "View leonardy's Profile") Topic Author
- [ Offline](/forum/user/32118-leonardy)

Less More

- Posts: 4
- Thank you received: 0
-
-

11 years 8 months ago -  11 years 8 months ago [\#195892](#195892) by [leonardy](/forum/user/32118-leonardy "View leonardy's Profile")  *[Incl. tax in one category and excl. in another?](/forum/40-taxes/875886-incl-tax-in-one-category-and-excl-in-another#195892 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.3.3 -- Browser(s) name and version -- : Chrome 41.0.2272.89 m  Hi,  We have one main category for the resellers and they want to see the prices without (excl) tax. And we have another main category for the regular customers and they want to see the prices with (incl) tax. How do I accomplish this in HikaShop? It could also work if you could set a tax setting for customers groups.. The only setting I can find for this is to see prices incl tax, excl tax or both. Nothing about setting different tax settings for different customer groups or categories.  Any advice?  Thanks!")* was created by *[leonardy](/forum/user/32118-leonardy "View leonardy's Profile")*

-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2.3
-- PHP version -- : 5.3.3
-- Browser(s) name and version -- : Chrome 41.0.2272.89 m

Hi,

We have one main category for the resellers and they want to see the prices without (excl) tax. And we have another main category for the regular customers and they want to see the prices with (incl) tax. How do I accomplish this in HikaShop? It could also work if you could set a tax setting for customers groups.. The only setting I can find for this is to see prices incl tax, excl tax or both. Nothing about setting different tax settings for different customer groups or categories.

Any advice?

Thanks!

Last edit: 11 years 8 months ago by [leonardy](/forum/user/32118-leonardy "View leonardy's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NTg4Ni1pbmNsLXRheC1pbi1vbmUtY2F0ZWdvcnktYW5kLWV4Y2wtaW4tYW5vdGhlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 8 months ago [\#195903](#195903) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Incl. tax in one category and excl. in another?](/forum/40-taxes/875886-incl-tax-in-one-category-and-excl-in-another#195903 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.3.3 -- Browser(s) name and version -- : Chrome 41.0.2272.89 m  Hi,  We have one main category for the resellers and they want to see the prices without (excl) tax. And we have another main category for the regular customers and they want to see the prices with (incl) tax. How do I accomplish this in HikaShop? It could also work if you could set a tax setting for customers groups.. The only setting I can find for this is to see prices incl tax, excl tax or both. Nothing about setting different tax settings for different customer groups or categories.  Any advice?  Thanks!")*

Hi,

The simplest is indeed to configure the tax settings for customer groups.
If you go in the menu System&gt;Taxes, you can see a list of your tax rules.
Select one and edit it.
There, on the tax rule form, you can see an "access level" area where you can restrict the tax rule based on user groups.
That way, the tax rule will only apply for users from the user groups selected in the tax rule.
[ take.ms/hMjnI](http://take.ms/hMjnI)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NTg4Ni1pbmNsLXRheC1pbi1vbmUtY2F0ZWdvcnktYW5kLWV4Y2wtaW4tYW5vdGhlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[leonardy](/forum/user/32118-leonardy "View leonardy's Profile")**
- [![leonardy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32118-leonardy "View leonardy's Profile") Topic Author
- [ Offline](/forum/user/32118-leonardy)

Less More

- Posts: 4
- Thank you received: 0
-
-

11 years 8 months ago [\#195967](#195967) by [leonardy](/forum/user/32118-leonardy "View leonardy's Profile")  Replied by *[leonardy](/forum/user/32118-leonardy "View leonardy's Profile")* on topic *[Incl. tax in one category and excl. in another?](/forum/40-taxes/875886-incl-tax-in-one-category-and-excl-in-another#195967 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.3.3 -- Browser(s) name and version -- : Chrome 41.0.2272.89 m  Hi,  We have one main category for the resellers and they want to see the prices without (excl) tax. And we have another main category for the regular customers and they want to see the prices with (incl) tax. How do I accomplish this in HikaShop? It could also work if you could set a tax setting for customers groups.. The only setting I can find for this is to see prices incl tax, excl tax or both. Nothing about setting different tax settings for different customer groups or categories.  Any advice?  Thanks!")*

Thank you for the answer.

If I choose to use that way there is just one problem though and that is to show the text "incl. tax" at products for regular customers and the text "excl. tax" on products for resellers. And also I need to show both incl. tax and excl. tax in the checkout page for both customers and resellers. Is this possible?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NTg4Ni1pbmNsLXRheC1pbi1vbmUtY2F0ZWdvcnktYW5kLWV4Y2wtaW4tYW5vdGhlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 8 months ago [\#195978](#195978) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Incl. tax in one category and excl. in another?](/forum/40-taxes/875886-incl-tax-in-one-category-and-excl-in-another#195978 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.3.3 -- Browser(s) name and version -- : Chrome 41.0.2272.89 m  Hi,  We have one main category for the resellers and they want to see the prices without (excl) tax. And we have another main category for the regular customers and they want to see the prices with (incl) tax. How do I accomplish this in HikaShop? It could also work if you could set a tax setting for customers groups.. The only setting I can find for this is to see prices incl tax, excl tax or both. Nothing about setting different tax settings for different customer groups or categories.  Any advice?  Thanks!")*

Hi,

To show the text "incl. tax" or "excl. tax" on products you could potentially edit the view "product / listing_price" do a check on the user group and based on that display the correct text.

Regarding the checkout page where you need both prices displayed, the indicated method will not be optimal because for the resellers, no taxes are applied at all.

So in your case, you will have to handle that by code edition. Apply taxes for everybody and in the view "product / listing_price" change dynamically the value for the option "price_with_tax" based on the user group.

To know the user group, it can be found in the object "$user" thanks to that code: Code:

$user = hikashop_loadUser(true);

And to change the option value: Code:

$config = hikashop_config(); if($reseller){ $config-&gt;set('price_with_tax','0'); }else{ $config-&gt;set('price_with_tax','1'); }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NTg4Ni1pbmNsLXRheC1pbi1vbmUtY2F0ZWdvcnktYW5kLWV4Y2wtaW4tYW5vdGhlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[hactic](/forum/user/32281-hactic "View hactic's Profile")**
- [![hactic's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32281-hactic "View hactic's Profile")
- [ Offline](/forum/user/32281-hactic)

Less More

- Posts: 35
- Thank you received: 3
-
- [](https://shop.smartgart.com)
-

11 years 2 months ago -  11 years 2 months ago [\#213404](#213404) by [hactic](/forum/user/32281-hactic "View hactic's Profile")  Replied by *[hactic](/forum/user/32281-hactic "View hactic's Profile")* on topic *[Incl. tax in one category and excl. in another?](/forum/40-taxes/875886-incl-tax-in-one-category-and-excl-in-another#213404 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.3.3 -- Browser(s) name and version -- : Chrome 41.0.2272.89 m  Hi,  We have one main category for the resellers and they want to see the prices without (excl) tax. And we have another main category for the regular customers and they want to see the prices with (incl) tax. How do I accomplish this in HikaShop? It could also work if you could set a tax setting for customers groups.. The only setting I can find for this is to see prices incl tax, excl tax or both. Nothing about setting different tax settings for different customer groups or categories.  Any advice?  Thanks!")*

Thanks - I would like to show prices for each user including their local tax rate, or at least so for the most important (say, 10) countries.
So a German B2C user should see a price with a 19 % VAT, an Austrian B2C user a price with a 20 % VAT, a Danish B2C user a price with a 25 % VAT.
Does anyone have a more complete example of the product / listing_price to do such a dispatching along the user's country and the stored tax rates?
Ideally, such a mechanism should trigger as early as possible (by way of an intermediate page when an anonymous session is created upon first visit, asking for the user's country).

best regards

Klaus

post scriptum:
Where can I see the customer type (individual vs. business with VAT ID)?
I see no such field in user admin.

Last edit: 11 years 2 months ago by [hactic](/forum/user/32281-hactic "View hactic's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NTg4Ni1pbmNsLXRheC1pbi1vbmUtY2F0ZWdvcnktYW5kLWV4Y2wtaW4tYW5vdGhlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 2 months ago [\#213424](#213424) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Incl. tax in one category and excl. in another?](/forum/40-taxes/875886-incl-tax-in-one-category-and-excl-in-another#213424 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.3.3 -- Browser(s) name and version -- : Chrome 41.0.2272.89 m  Hi,  We have one main category for the resellers and they want to see the prices without (excl) tax. And we have another main category for the regular customers and they want to see the prices with (incl) tax. How do I accomplish this in HikaShop? It could also work if you could set a tax setting for customers groups.. The only setting I can find for this is to see prices incl tax, excl tax or both. Nothing about setting different tax settings for different customer groups or categories.  Any advice?  Thanks!")*

Hi,

There is already such mechanism in HikaShop.
You don't have to change any code.
Here is some documentation on that:
[ www.hikashop.com/support/2-uncategorised...urope-vat-rules.html](http://www.hikashop.com/support/2-uncategorised/287-europe-vat-rules.html)

Also, please try not to post for the same questions in different places:
[ www.hikashop.com/forum/4-how-to/8897-vat...n-method.html#213420](http://www.hikashop.com/forum/4-how-to/8897-vat-calculation-method.html#213420)

The following user(s) said Thank You: [hactic](/forum/user/32281-hactic "View hactic's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NTg4Ni1pbmNsLXRheC1pbi1vbmUtY2F0ZWdvcnktYW5kLWV4Y2wtaW4tYW5vdGhlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.068 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
