On Sat, Oct 18, 2008 at 9:05 AM, nostradamnit <[EMAIL PROTECTED]>wrote:

>
> Hi,
>
> I'm trying to develop a Zone-based shipping module. It'll work like
> this:
> 4 models - Zone, Shipper, Tarif and Country(l10n_country)
> A Zone is one or more Countries, Shipper is just a shipper (UPS,
> LaPoste, etc)
> Tarifs have a min_weight, a max_weight, a Zone and a Shipper.
>
> Per order, the shipping methods available are calculated by cart
> weight and destination country.
>
> Here's the problem I have. It doesn't appear that the BaseShipper
> module has a reference to the order.ship_country value. It only has
> cart and contact...
>

Take a look at the djangocon presentation I posted and described a custom
shipping module. You should be able to access it like this:

self.contact.billing_address.country

Here's  the link to the presentation.
http://www.satchmoproject.com/docs/satchmo-djangocon.pdf

-Chris

--~--~---------~--~----~------------~-------~--~----~
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