Help needed with oscommerce: Table Weight?

oscommerce
Gopher asked:


On my oscommerce site, when someone orders an item weighing 2KG (for example), the shipping charged should be £8.65 but it actually charges £21.85 which is the 10KG charge. The tare weight is set to zero and max weight is set to 20KG.

Why does this happen and how can I fix it?

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Webnews
  • MisterWong
  • Y!GG

1 comment to Help needed with oscommerce: Table Weight?

  • Mark aka jack573

    Without seeing the code you are using it is hard to say.

    But I can give some general advice.

    Do some tests on it and pass in different weights.

    To start with I would test for every kg for 0 to 20, including 0 and 20, and see what the amount charged for shipping is. This should narrow down when the amount for shipping changes to the 10kg amount, etc.

    After you have the amount of weight that is changes, lets say 0kg is 0 charge. 1kg is 8.65, and 2kg is 21.85
    Pass some other weights in, like 1.2, 1.4, 1.6, 1.8

    Find out when it changes and go from there.

    If you actually programmed the system, you should be able to change the places that it charges the wrong amount.

    Other than that, it is hard to say.

You must be logged in to post a comment.