Ubercart Percent Rate with Minimum Rate

khalemi - January 2, 2009 - 07:50
minpercentrate.gif

Clone of the core Ubercart "Flatrate" shipping quote module and the Percentrate module, modified to calculate shipping cost as a base rate on percentage of the order total with minimum shipping rate.

This module work like this (example):

price of product : $ 10
Shipping to location A : 10% of cost or subject to minimum of $ 3.5, free with order above $50
Shipping to location B : 20% of cost or subject to minimum of $ 5.5 free with order above $100
Shipping to location C : 30% of cost or subject to minimum of $ 6.0 free with order above $200

result :

Shipping to A : $ 3.5
Shipping to B : $ 5.5
Shipping to C : $ 6.0

if product cost is $ 40

Shipping to A : $ 4 (as 4 > 3.5)
Shipping to B : $ 8 (as 8 > 5.5)
Shipping to C : $ 12 (12> 6)

if product cost $ 55

Shipping to A : $ FREE
Shipping to B : $ 8 (as 8 > 5.5)
Shipping to C : $ 12 (12> 6)

there are 3 variable need to setup in the admin page :

1 ) Min % rate
2) Min $ rate
3) Free rate for total order above $ x

Current limitation : Does not calculate attributes correctly.

Note :

1. Please do not use previous release.
2. I am looking for a co-maintainer to work on the 6.x module and to fix the attributes calculation.

Releases

Official releasesDateSizeLinksStatus
6.x-1.1-beta22009-Jul-0510.72 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.32009-Jul-059.84 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2009-Jul-059.83 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.