Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping Table error over weight of 6.3


lee the bean

Recommended Posts

I have included the following table (by weight), and have zero'ed the tare weight.

 

0:0.00,0.1:1.68,0.25:1.95,0.5:2.38,0.75:2.88,1.0:3.38,1.25:5.42,1.5:6.27,1.75:7.

12,2.0:7.97,3.0:12.00,4.0:16.00,5.0:20.00,6.0:24.00,7.0:28.00,8.0:32.00

 

All works fine until I enter a product weight 6.40 up to 7.99 and checkout where the shipping cost incorrectly sets to £32.00.

 

Is the calculation correct or am I going mad???

 

Does anyone know what I'm doing wrong.

Link to comment
Share on other sites

I have included the following table (by weight), and have zero'ed the tare weight.

 

0:0.00,0.1:1.68,0.25:1.95,0.5:2.38,0.75:2.88,1.0:3.38,1.25:5.42,1.5:6.27,1.75:7.

12,2.0:7.97,3.0:12.00,4.0:16.00,5.0:20.00,6.0:24.00,7.0:28.00,8.0:32.00

 

All works fine until I enter a product weight 6.40 up to 7.99 and checkout where the shipping cost incorrectly sets to £32.00.

 

Is the calculation correct or am I going mad???

 

Does anyone know what I'm doing wrong.

Looks ok if you copied the figures from the module.

6.40 should cost 28.00

7.01 to 8.00 should cost 32.00

Link to comment
Share on other sites

Thanks, I'm not going mad then. Yes the table figures are copy/pasted (around 155 characters).

 

I can't get the £28.00 shipping cost to calculate correctly then.

 

Is this a bug, can anyone help/reproduce the problem?

What table are you usong?

Link to comment
Share on other sites

The standard shipping module 'table rate' which comes with os2.2ms2.

I've not done too many customisations from the standard installation (just free shipping & paypal ipn modules added).

I'm not a programmer, but I can find my way around this product.

Link to comment
Share on other sites

The standard shipping module 'table rate' which comes with os2.2ms2.

I've not done too many customisations from the standard installation (just free shipping & paypal ipn modules added).

I'm not a programmer, but I can find my way around this product.

I am not one either.

You could try remove then install. I don't use that table, I use extra table rate (but they are both supposed to be the same).

Link to comment
Share on other sites

Thanks, do you mean remove the text from the shipping table, or remove the shipping table module, in which case do you mean uninstall and re-install from the menu, or something a bit more 'teckyfied'.

Sorry. I mean uninstall and re-install from the menu in admin/modules/shipping.

Link to comment
Share on other sites

7.0:28.00,8.0:32.00

going by table it should be 28 but if it something just replace the module with a fresh unchanged one.

Probably some modification in code is leading to this.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Hum, 'removed' shipping table module, re-installed and added back in the table string. Still calculating anything between 6.4 and 7.99 as £32.00 (should be £28.00).

 

No modifications to code here made by me??

Pity that it did not work.

 

Are you sure the rest of the charges are correct?

 

Up to 0.0 should cost 0.00

Up to 0.1 should cost 1.68

Up to 0.25 should cost 1.95

etc

etc

Up to 6.0 should cost 24.00

Up to 7.0 should cost 28.00

Up to 8.0 should cost 32.00

Link to comment
Share on other sites

You could also remove any white space in the files. The new files are the same as the old except for a line feed at the end of each file.

I used your figures in my test site and they worked.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...