Get current order information in custom Shipper module
12 views
Skip to first unread message
Mathias Monnerville
unread,
Nov 4, 2010, 2:02:51 PM11/4/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Satchmo developers
Hi,
I'm writting a custom Shipper module and would like to access the
current order to get the country name (need this information to
perform some computation in the cost() method).
I know I can access the current cart object from the Shipper (which
has a self.cart member), but I can't find a way to access the current
order.
Kind Regards,
Mathias
Mathias Monnerville
unread,
Nov 9, 2010, 4:33:18 AM11/9/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Satchmo developers
Okay, I finally found a way to get the shipping country name: