PHPJavascript

Web Development Guide – My Personal Library of Tutorials and Scripts

Ubercart Shipping Weight and Location with Start Weight

June7

The ubercart shipping, flatrate and weight modules do great for most of the basic shipping requirements.

My shop had to sell products locally itself so shipping requirements weren’t all that huge, but I had to ship according to location and weight with a starting weight from 3 kgs. Now something as simple as this did not have a straight answer, had to do a little here and there to find the solution.

To get the query straight, I was shipping products withing UAE ie the seven emirates Dubai, Sharjah, Abu Dhabi etc per weight where the weight criteria started at 3kg Eg: Shipping a product up to 3 kg with Dubai was 15 Kgs and additional 2 Dhs per Kg (after 3).

Enable flatrate and weight module under ubercart.

Create a flatrate

Eg: Title-Dubai; Base rate:15 Default product rate: 0

Conditions:

Check an order’s total weight

  • Products: All
  • Unit of measurement: kg
  • Product Weight Value: 3
  • Product count comparison type: Total is less than or equal to specified value

Check an order’s shipping State/Province

  • United Arab Emirates – Dubai

Create weight quote

Eg: Title-Dubai; Base rate:9 Default product rate: 2

Conditions:

Check an order’s total weight

  • Products: All
  • Unit of measurement: kg
  • Product Weight Value: 4
  • Product count comparison type: Total is greater than or equal to specified value

Check an order’s shipping State/Province

  • United Arab Emirates – Dubai

Note: That in while creating weight quote I have kept the base price as 9 instead of 15 ie to contemplate for the first 3 kgs

Hope that helped!

posted under Ubercart
4 Comments to

“Ubercart Shipping Weight and Location with Start Weight”

  1. On January 4th, 2011 at 4:27 pm Eyas Tayyem Says:

    thanks for your help,

    I’m trying to do something similar to what you have stated above but without the country criteria

    I just wanted to charge 12$ for the first kilo, and an additional 5$ per each extra 1 kilo:

    this is what i did:

    Create a flatrate

    Base rate:12 Default product rate: 0

    Conditions:

    Check an order’s total weight

    * Products: All
    * Unit of measurement: kg
    * Product Weight Value: 1
    * Product count comparison type: Total is less than or equal to specified value

    Create weight quote

    Base rate:1 Default product rate: 2

    Conditions:

    Check an order’s total weight

    * Products: All
    * Unit of measurement: kg
    * Product Weight Value: 1
    * Product count comparison type: Total is greater than specified value

    But unfortunately only the flat rate is being applied even if the orders’ weight is more than 1 kilos, without applying the weight rate.

    Any idea, would really appreciate your help its urgent.
    Thanks in advance

  2. On January 4th, 2011 at 4:29 pm Eyas Tayyem Says:

    weight quote base rate:1 default product rate:5*

  3. On January 4th, 2011 at 4:32 pm Eyas Tayyem Says:

    oh i resolved it, tyvm anyway

  4. On January 6th, 2011 at 5:50 am admin Says:

    good … btw i saw your website .. impressive!

Email will not be published

Website example

Your Comment:

 

12,958 spam comments
blocked by
Akismet