No such overriding needed. You implement the "cost" method in your
shipping module. Every module knows it's name and need not to get it
as an additional parameter.


On Apr 21, 11:49 am, ComebackKid <[email protected]>
wrote:
> How can i override get_shipping_choices?
> I want to construct a shipping module that calculate the cost based on
> the paymentmodule the user selected:
> So in payment/forms.py in _get_shipping_modules i want the line(88)
> shipcost = finalcost = method.cost()
> to be chanced to : shipcost = finalcost = method.cost(paymentmodule)
> in order to be able to perform certain calculations in the cost
> function of my shipper.py that will take 2 argument
> cost(self,paymentmodule)
> How can i do that?

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to