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

#   2 user groups - 2 prices - with/without tax

##

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

Less More

- Posts: 79
- Thank you received: 0
-
-

11 years 3 months ago [\#211609](#211609) by [proo4509](/forum/user/37936-proo4509 "View proo4509's Profile")  *[2 user groups - 2 prices - with/without tax](/forum/33-customers/878779-2-user-groups-2-prices-with-without-tax#211609 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.23  Hi, I'm trying to do the following  I have 2 usergroups:  &#42; GroupA  &#42; GroupB  Each product has 2 prices:  &#42; PriceA  &#42; PriceB  What I want to achieve:  &#42; customer in GroupA sees PriceA - But...   &#42; customer in GroupB sees PriceB - But...   Now, the most difficult thing is the with-tax and without-tax part.  Can you help me with this?")* was created by *[proo4509](/forum/user/37936-proo4509 "View proo4509's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.23

Hi,
I'm trying to do the following

I have 2 usergroups:

- GroupA
- GroupB

Each product has 2 prices:

- PriceA
- PriceB

What I want to achieve:

1. customer in GroupA sees PriceA - But... **Price without Tax**
2. customer in GroupB sees PriceB - But... **Price with Tax**

Now, the most difficult thing is the with-tax and without-tax part.

Can you help me with this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Nzg3NzktMi11c2VyLWdyb3Vwcy0yLXByaWNlcy13aXRoLXdpdGhvdXQtdGF4P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

11 years 3 months ago [\#211632](#211632) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[2 user groups - 2 prices - with/without tax](/forum/33-customers/878779-2-user-groups-2-prices-with-without-tax#211632 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.23  Hi, I'm trying to do the following  I have 2 usergroups:  &#42; GroupA  &#42; GroupB  Each product has 2 prices:  &#42; PriceA  &#42; PriceB  What I want to achieve:  &#42; customer in GroupA sees PriceA - But...   &#42; customer in GroupB sees PriceB - But...   Now, the most difficult thing is the with-tax and without-tax part.  Can you help me with this?")*

Hi,

First, you want to configure the two prices on your product and use the "ACL" icon to set the group for each price so that each group will see their own price.
Then, with you configure your taxes via the menu System&gt;Taxes, you'll have an "access level" section for each tax rule and there you can restrict the tax rules to the corresponding user groups you want.
That way, if the user is in a user group which doesn't have any tax rules, the prices will be displayed without taxes.

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

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

Less More

- Posts: 79
- Thank you received: 0
-
-

11 years 3 months ago [\#211644](#211644) by [proo4509](/forum/user/37936-proo4509 "View proo4509's Profile")  Replied by *[proo4509](/forum/user/37936-proo4509 "View proo4509's Profile")* on topic *[2 user groups - 2 prices - with/without tax](/forum/33-customers/878779-2-user-groups-2-prices-with-without-tax#211644 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.23  Hi, I'm trying to do the following  I have 2 usergroups:  &#42; GroupA  &#42; GroupB  Each product has 2 prices:  &#42; PriceA  &#42; PriceB  What I want to achieve:  &#42; customer in GroupA sees PriceA - But...   &#42; customer in GroupB sees PriceB - But...   Now, the most difficult thing is the with-tax and without-tax part.  Can you help me with this?")*

Hello,
I'm glad it is possible and I added the ACL groups to the taxgroup, but now, the taxes aren't calculated anymore on the product page.

see attachment png

- [ ![tax-hika.png](/forum/attachment/26002) ](/forum/attachment/26002 "tax-hika.png") [ ](/forum/attachment/26002?download=1 "tax-hika.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#211648](#211648) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[2 user groups - 2 prices - with/without tax](/forum/33-customers/878779-2-user-groups-2-prices-with-without-tax#211648 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.23  Hi, I'm trying to do the following  I have 2 usergroups:  &#42; GroupA  &#42; GroupB  Each product has 2 prices:  &#42; PriceA  &#42; PriceB  What I want to achieve:  &#42; customer in GroupA sees PriceA - But...   &#42; customer in GroupB sees PriceB - But...   Now, the most difficult thing is the with-tax and without-tax part.  Can you help me with this?")*

Hi,

Like Nicolas wrote ; you can set an ACL on the tax itself.
But when you are in the backend, you just have one single user, so one single tax.
You can't see the two prices for two different ACL ; if you want to be sure that the ACL are right configured, you have to test it in the front-end with two users.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 79
- Thank you received: 0
-
-

11 years 3 months ago [\#211725](#211725) by [proo4509](/forum/user/37936-proo4509 "View proo4509's Profile")  Replied by *[proo4509](/forum/user/37936-proo4509 "View proo4509's Profile")* on topic *[2 user groups - 2 prices - with/without tax](/forum/33-customers/878779-2-user-groups-2-prices-with-without-tax#211725 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.23  Hi, I'm trying to do the following  I have 2 usergroups:  &#42; GroupA  &#42; GroupB  Each product has 2 prices:  &#42; PriceA  &#42; PriceB  What I want to achieve:  &#42; customer in GroupA sees PriceA - But...   &#42; customer in GroupB sees PriceB - But...   Now, the most difficult thing is the with-tax and without-tax part.  Can you help me with this?")*

Hi Jerome,

but it is not working as it should.

In the backend, I should always see the ex-vat and inc-vat price but that stopped working.
Now, inc-vat and ex-vat are always the same.

When I test with an inc-vat user in the frontend, i can see that hikashop has added the vat twice now. So, it has taken the inc-vat price and added the vat again.

See both attachments. frontend and backed.

The inc-vat user should see the "22" in the frontend, this is a 21% vat product, so the price should be 18,18 ex-vat.
But, in the backend the price isn't calculated anymore: you can see that the price for inc-vat and ex-vat is the same. So, ex-vat is 22 and inc-vat is 22. This is not right: it should be 18,18 ex-vat and 22 inc-vat.

But then, in the frontend this user doesn't see the 22 price but a 27 price. So, there it is calculating the vat.

So, it seems that the vat in the backend isn't working anymore.

In this example i've tested with an inc-vat user.

- [ ![tax-hika-backend.png](/forum/attachment/26016) ](/forum/attachment/26016 "...ka-backend.png") [ ](/forum/attachment/26016?download=1 "...ka-backend.png")
- [ ![tax-hika-frontend.png](/forum/attachment/26017) ](/forum/attachment/26017 "...a-frontend.png") [ ](/forum/attachment/26017?download=1 "...a-frontend.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Nzg3NzktMi11c2VyLWdyb3Vwcy0yLXByaWNlcy13aXRoLXdpdGhvdXQtdGF4P3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

11 years 3 months ago [\#211730](#211730) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[2 user groups - 2 prices - with/without tax](/forum/33-customers/878779-2-user-groups-2-prices-with-without-tax#211730 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.23  Hi, I'm trying to do the following  I have 2 usergroups:  &#42; GroupA  &#42; GroupB  Each product has 2 prices:  &#42; PriceA  &#42; PriceB  What I want to achieve:  &#42; customer in GroupA sees PriceA - But...   &#42; customer in GroupB sees PriceB - But...   Now, the most difficult thing is the with-tax and without-tax part.  Can you help me with this?")*

Hi,

It's not that the VAT is not working anymore in the backend. It's just that the user you're using on your backend is not in the group of users of the tax rule(s) you configured.
So no tax apply to the prices in the backend.
Add the user group to your super admin user and you'll see the taxes back in the backend edition interface.

Regarding the tax calculations on the frontend, HikaShop always use the value in the price without taxes field of your product in order to calculate the taxes on the frontend. If you enter 22 in the price without tax field of your product in the backend, that 22 value will be used as the price without tax to calculate the taxes on your frontend.
So if you don't have any taxes for your backend user and that you enter 22 in the price with tax field of the product, the system will calculate the price without tax as 22 on the backend. Then, when you'll display that product's price on the frontend with a user which should see the price taxed, he will get 27 as the price with taxes. You think that the taxes are being calculated twice and that the price without tax is not correct in the backend, but in fact, in that case, you should enter 18 in the backend in order to get the correct price without tax used to calculate the price with taxes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Nzg3NzktMi11c2VyLWdyb3Vwcy0yLXByaWNlcy13aXRoLXdpdGhvdXQtdGF4P3RtcGw9bWFya2Rvd24=) 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.084 seconds

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