useful new shipping module "tiered" - worth a quick blurb

5 views
Skip to first unread message

Bruce Kroeze

unread,
Dec 12, 2007, 7:20:37 PM12/12/07
to satchm...@googlegroups.com
I just committed a new shipping module, "tiered" to SVN.

This one is much more flexible than any of the prior modules, so it requires a little more configuration.  It is not enabled by default. 

To enable:
1) Add satchmo.shipping.modules.tiered to your settings.py INSTALLED_APPS and then run syncdb.
2) Enable in site settings under "Active Shipping Modules"
3) Configure using the administration page like you would a product.

Why bother?

Well, it allows you to set up multiple carriers, for one thing.  For another, you can have different prices based on cart total (total of shippable items, to be specific).  For another, it is multilingual from the start, with you being able to specify translations of carrier, method, etc. right in the admin pages.  Lastly, you can have shipping specials, expiring on the dates of your choice.

For example, I just used it to make this shipping table:

$0-$25   UPS=$8.50, Fedex=$18.00
$25.01-$50 UPS=$9.75, Fedex=21.00
....
$250.00 + free

--
Bruce Kroeze
http://solidsitesolutions.com
Dynamic Designs, Optimized

Chris Moffitt

unread,
Dec 12, 2007, 8:50:19 PM12/12/07
to satchm...@googlegroups.com
Bruce,

Very cool.  Do you have to do something special to enable in the checkout process?  I created a tier but I'm not seeing it when I checkout as an option.

-Chris

Bruce Kroeze

unread,
Dec 12, 2007, 11:21:00 PM12/12/07
to satchm...@googlegroups.com
Is "tiered shipping" enabled in settings?  It should be automatically displayed once you've enabled a Carrier and added a "0" tier.

Also, the module checks to see if there is a valid ship price available for that cart total, returning "is_valid=False" if not.  So, is your cart total over your min_total in your tier?

Andre Duarte

unread,
Dec 13, 2007, 8:29:49 AM12/13/07
to Satchmo users
Great, this is what I was expecting!

But this make me ask you a silly question...
I'm using tag 0.6 and Django r5947, can use Satchmo's trunk version at
this moment?

Chris Moffitt

unread,
Dec 13, 2007, 9:26:01 AM12/13/07
to satchm...@googlegroups.com
Ahh.  The problem may have been that my tier was too high.  I don't think I set one at 0.  I'll have to check on that later today.

Thanks,
Chris

Bruce Kroeze

unread,
Dec 13, 2007, 11:18:21 AM12/13/07
to satchm...@googlegroups.com
On Dec 13, 2007 5:29 AM, Andre Duarte <clint.te...@gmail.com> wrote:

Great, this is what I was expecting!

But this make me ask you a silly question...
I'm using tag 0.6 and Django r5947, can use Satchmo's trunk version at
this moment?

Andre, Satchmo trunk should be quite solid at the moment, of course that's just my opinion but all the tests are passing and I am using it on two production sites.
Dynamic Designs, Optimized.

Josh

unread,
Feb 7, 2008, 5:31:00 PM2/7/08
to Satchmo users
Is there a more explicit guide for this? I have been having problems
lately with configuring my satchmo instances.. I'm running the latest
revisions of both django and satchmo..

What do you mean by Enable in site settings under "Active Shipping
Modules" ? Where is this? settings.py? local_settings.py? in the
admin? similarly, I don't see any place to select payment modules...
perhaps that's in the same place?

Bruce Kroeze

unread,
Feb 7, 2008, 6:04:46 PM2/7/08
to satchm...@googlegroups.com
You need to make sure "satchmo.shipping.modules.tiered" is in your INSTALLED_APPS setting in settings.py

Once you do that, and you run "./manage.py syncdb", then you need to turn it on in your admin page, which is
found by going to the site admin in a running site, and clicking on the link on the right that says "edit site settings."

In the site settings, scroll down to Shipping Settings, and select "Tiered Shipping".  Save.

Now, go to the main admin page, and make sure you are in "legacy view" (I just noticed the need to do this, it is an error, it should be available in shop view) and look for the section "Tiered"  Add your tiers there.

Josh

unread,
Feb 7, 2008, 7:13:10 PM2/7/08
to Satchmo users
Ok, it would appear as though my problem was elsewhere. We have
overridden the django admin templates for all of our sites, so we
never saw the "edit site settings" link. The strange thing was that
even on a fresh local installation of django and satchmo, I still
didn't see this link (or the others that go with it) even though I
didn't override any templates. It wasn't until I ran Satchmo as a
standalone app that I finally saw the links again. So now I'm good to
go. Thanks!

On Feb 7, 4:04 pm, "Bruce Kroeze" <bkro...@gmail.com> wrote:
> You need to make sure "satchmo.shipping.modules.tiered" is in your
> INSTALLED_APPS setting in settings.py
>
> Once you do that, and you run "./manage.py syncdb", then you need to turn it
> on in your admin page, which is
> found by going to the site admin in a running site, and clicking on the link
> on the right that says "edit site settings."
>
> In the site settings, scroll down to Shipping Settings, and select "Tiered
> Shipping". Save.
>
> Now, go to the main admin page, and make sure you are in "legacy view" (I
> just noticed the need to do this, it is an error, it should be available in
> shop view) and look for the section "Tiered" Add your tiers there.
>
> On Feb 7, 2008 2:31 PM, Josh <wheaties....@gmail.com> wrote:
>
>
>
>
>
> > Is there a more explicit guide for this? I have been having problems
> > lately with configuring my satchmo instances.. I'm running the latest
> > revisions of both django and satchmo..
>
> > What do you mean by Enable in site settings under "Active Shipping
> > Modules" ? Where is this? settings.py? local_settings.py? in the
> > admin? similarly, I don't see any place to select payment modules...
> > perhaps that's in the same place?
>
> > On Dec 12 2007, 9:21 pm, "Bruce Kroeze" <bkro...@gmail.com> wrote:
> > > Is "tiered shipping" enabled in settings? It should be automatically
> > > displayed once you've enabled a Carrier and added a "0" tier.
>
> > > Also, the module checks to see if there is a valid ship price available
> > for
> > > that cart total, returning "is_valid=False" if not. So, is your cart
> > total
> > > over your min_total in your tier?
>
> > > On Dec 12, 2007 5:50 PM, Chris Moffitt <ch...@moffitts.net> wrote:
>
> > > > Bruce,
>
> > > > Very cool. Do you have to do something special to enable in the
> > checkout
> > > > process? I created a tier but I'm not seeing it when I checkout as an
> > > > option.
>
> > > > -Chris
>
> --
> Bruce Kroezehttp://solidsitesolutions.com
> Dynamic Designs, Optimized
Reply all
Reply to author
Forward
0 new messages