I want to show the prices incl. tax only to not registered users or to users registered with a normal account. For wholesalers (customer group id 2) the prices should be shown without tax, but get added on checkout.
I know that there is a option for this at the configuration at the shop, but only for the complete store and not for specific user groups.
I know that I need to do smth like
Code: Select all
if(usergroup == 2){
show price without tax
}else{
show price with tax
}
But where in the core is the line where the tax is added to the product price, and where it should not affect the checkout. Has anyone done this before? What is the best way to achieve this?