Taxes or Discounts for specific user group not working. What do I do wrong?

Started by jaumearagay, March 16, 2017, 23:59:00 PM

Previous topic - Next topic

jaumearagay

Hi there!

I set a VatTax (for all user groups). No problem there. Then I set a DBTax (the same thing happens with a VatTax) for a specific user group, say "10% discount for teachers" (or different VAT for a users group only), when I create a new product I set a price for the default users group, a new price for invited users, both with the generic VatTax, and the final price is properly calculated... But when I create a new price for the "teachers" user group and apply the "10% discount for teachers" DBTax set ONLY for "teachers" the final price equals the base price. No discount is applied. If I set the DBTax as not specific only for "teachers" but as a general DBTax (same thing for VatTax) it works properly and the final price has the discount applied to it. It works, but I have to make sure in every new users group price in every product not targeted to "teachers" to remember to change the rule to not apply the generic rules or the discount gets applied to everyone.

Is there anything I'm doing wrong here?

I'm using J 3.6.5. with VM 3.0.18.

Thanks in advance! ;)


Jaume.

Milbo

Do you check all the time the Backend? Consider you the price is always calculated for the logged in user. There is atm no simulation mode. This means you must be yourself in the shoppergroup, to see the right price in the backend. Just check the frontend if it works there.

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jaumearagay

OK. I'll check the frontend but if I don't limit the rule to certain groups and set it a universal for all groups works properly... I'll tell you about the frontend results later!

Thanks for your time! ;)