can't you have several  shipping methods with a default service of
the same code ?

On Tue, Jul 7, 2009 at 8:48 AM, Hannes Calitz<[email protected]> wrote:
> Right, so I think I figured out why the shipping is only picking up the
> defaults in the interfaces.py file, and not reading the values I save in the
> shipping backend. I think there's a problem in my browser/admin.py file (I
> could be completely off the mark though). Unfortunately I have no idea what
> it is.
>
> Now, this would not be a problem if I only ran one shop from the server, but
> the truth is that there will be about 6 running on the same machine, so the
> default values will not work as every client will have to set there own
> shipping costs.
>
> I have uploaded the entire product to
> http://www.opennetworks.co.za/getpaid.flatrateshipping2.tar.gz
>
> If anyone could have a look at it, I would be much obliged.
>
> Thanks
> Hannes
>
> 2009/7/6 danielle davout <[email protected]>
>>
>> On Mon, Jul 6, 2009 at 11:32 AM, Hannes Calitz<[email protected]> wrote:
>> > So perhaps I spoke to soon.
>> >
>> > Everything works perfect except for one thing. When checking out,
>> > flaterate.getCost (http://pastie.org/535446) grabs the default values
>> > from
>> > interfaces.py (http://pastie.org/535447) instead of the values saved in
>> > the
>> > admin section.
>> >
>> > Why could this be happening?
>> >
>> > Danielle, I think you'll be able to help >>>
>> I would be happy to ...
>> In my case I don't let choose the client a service and consequently I
>> don't use the step "checkout-select-shipping"
>> so I  have just put MY choice in cart
>>
>> class CartItemTotals( OriginalCartItemTotals ):
>>
>>   def getShippingCost( self ):
>>      # no choice of service_code by client
>>       service_code = 'mine.01' #self.request.get('shipping_method_code')
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" 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/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to