I need to show price, msrp and shipping price with or without tax depending on the currently logged in customer group in instant search results.
In order to get there, I tried to find out how you are actually managing tax. As far as I can see it, you are trying to pre-calculate the tax before upload. However, I only get non tax values in my index, so this doesn’t seem to work.
Any simple Idea how I can attac that?
My current view would be - but this seems a rather large task:
- Duplicate the price generation logic into price and price_with_tax
- Duplicate the above logic to also calculate the same for msrp/msrp_with_tax and shipping/shipping_with_tax. At least we don’t have customer groups coming in our way here.
- On frontend generate the template either for price or price_with_tax etc, depending on current logged in customer