Hi folks.
I am creating a custom fee calcuation wich i am trying to implement in the cart module.
What i want to do is.
1) calculate fee according to weight and volume of the order.
2) generate and display the different delivery options with fee as radiobuttons. (In a separate step)
3) Save this fee to the order.
Whats the best way to attach this problem? (step by step?)
I have tried to use AfterShippingMethodIsChanged, BeforeShippingMethodIsChanged, BeforeRenderingNewStep.. and im using the feeprovider (which i am able to set the fee) My problem is that i cannot fetch the choices the user made about delivery and use this in the feeprovider.
I have one shippingprovider configured.
This was probably a bad explanation, but im not sure where to begin to make this work..