Needs review
Project:
Commerce Product Tax Conditions
Version:
3.0.0-alpha1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2021 at 11:32 UTC
Updated:
29 Jul 2021 at 22:25 UTC
Jump to comment: Most recent
Comments
Comment #2
ozinHi @stijndmd
You will have to write a new plugin similar to CustomerRoleCondition. In the new plugin, you will just get a current user and check the value.
Let me know if it works for you?
Comment #3
stijndmd commentedHi, thank you for the reply
Actually, I was testing the Customer Rule Condition and it doesn't seem to work.
A custom made tax type is still applied for users without the required role for me.
Comment #4
hockey2112 commentedMy tests with a user role condition also failed. I checked the option for the Administrator user role, yet an anonymous user was charged that sales tax.