tags:

views:

44

answers:

1

Hi,

when customer chooses store pick up, instead of having products shipped, we would need taxes calculated based on the store address and not billing or shipping address. How to do it? is it even possible to do in admin side or needs to look under the hood?

thanks, Margots

A: 

I wish I had a better answer for you but my bet is that you will have to dig in and do some code modifications yourself. Magento does allow you to choose how to calculate taxes - you can choose Shipping Address, Billing Address, or Shipping Origin, but I don't think that (out of the box) it will allow you to do two of these options at the same time based on shipping method. Go to Admin -> System -> Configuration -> Tax -> Calculation to see the options that are available.

You might want to start poking around app/code/core/Mage/Tax/Model/Calculation.php. The getRate() and getRateRequest() methods look like a good place to start.

sdek
Thanks sdek. I have no problem dig in, just didn't want spend time if there exist alternative. I will post solution once i find.
latvian