VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: jaumearagay on March 16, 2017, 23:59:00 PM

Title: Taxes or Discounts for specific user group not working. What do I do wrong?
Post by: jaumearagay on March 16, 2017, 23:59:00 PM
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.
Title: Re: Taxes or Discounts for specific user group not working. What do I do wrong?
Post by: Milbo on March 21, 2017, 21:37:16 PM
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.

Title: Re: Taxes or Discounts for specific user group not working. What do I do wrong?
Post by: jaumearagay on March 24, 2017, 12:49:48 PM
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! ;)