Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Built-in Shipping and Payment Modules / Products shipping price & weight increased by 30.97%

Products shipping price & weight increased by 30.97%

Locked

Started by ben on 12 Nov 2006, 11:06 AM · Views: 3,488

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
12 Nov 2006, 11:06 AM
#1
ben avatar

ben

New Zenner

Join Date:
Aug 2006
Location:
Melbourne, Australia
Posts:
30
Plugin Contributions:
0

Products shipping price & weight increased by 30.97%

Aaaaahhh!!!! This one’s driving me crazy!!!! :bangin:

I install a brand new copy of Zen Cart v1.3.6 with demo products.

I go to Admin > Shipping/Packaging and set the following options

Country of Origin: Australia
Postal Code: 3350
Enter the Maximum Package Weight you will ship: 50
Package Tare Small to Medium - added percentage:weight: 0:0
Larger packages - added packaging percentage:weight: 0:0
Display Number of Boxes and Weight Status: 3
Order Free Shipping 0 Weight Status: 0
Shipping Estimator Display Settings for Shopping Cart: 1

I go to Modules > Shipping > Store Pickup and set “Shipping Cost” to $10.

I go to the catalog and purchase any item. During the checkout process the Store Pickup option is $13.10 NOT $10.00.

Store Pickup is just one example, all shipping methods are affected the same i.e. all shipping costs are increased by 30.97%. So if shipping cost is $1,000 the displayed cost is $1,309.70.

The products weight is also increased by the same percentage when viewed in the “shipping estimator”. So an 8 lb mouse is displayed as 11 lb.

My server details are:

PHP Version: 4.4.2 (Zend: 1.3.0)
MySQL 5.0.24-standard
Server OS: Linux 2.6.9-42.0.3.ELsmp

I have an older installation of Zen Cart on the same server which does not have this problem - v1.3.0.1 patched to 1.3.6

What could be causing this problem? I would be very grateful for any advice.

12 Nov 2006, 4:02 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Products shipping price & weight increased by 30.97%

Could you peek at the files:
/includes/configure.php
/admin/includes/configure.php

Are they both using the same database, server, username and password?

NOTE: do not show this information here ... a simple yes/no will work ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Nov 2006, 9:12 PM
#3
ben avatar

ben

New Zenner

Join Date:
Aug 2006
Location:
Melbourne, Australia
Posts:
30
Plugin Contributions:
0

Re: Products shipping price & weight increased by 30.97%

Thanks for your reply Ajeh.

database - yes
server - yes
username - yes
password - yes

I currently have four unique installations of ZC on the same server. This is for testing only, when I'm done there will only be one installation. Each install uses a unique database but the same server, username and password. Within each installation the "/includes/configure.php" and "/admin/includes/configure.php" files use an identical database, server, username and password.

12 Nov 2006, 10:16 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Products shipping price & weight increased by 30.97%

The only way the weight increases above what the Product weight is would be to add a Tare Weight ...

You say you have this set to 0:0 in the Shipping Packaging ...

That doesn't make sense ... as that is where the 3 extra lbs would come from when set to 0:3

Can you also check how many tables are in your database?

Is there a prefix showing on the table names of your database?

Do either or both of your configure.php files on the server show a prefix? And again check the files on the server for any database differences ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Nov 2006, 10:55 PM
#5
ben avatar

ben

New Zenner

Join Date:
Aug 2006
Location:
Melbourne, Australia
Posts:
30
Plugin Contributions:
0

Re: Products shipping price & weight increased by 30.97%

Well now I'm more confused than ever.

The shipping estimator is showing different weights to that in the checkout - sometimes more sometimes less. If I check multiple times sometimes it will repeat the same mistake and sometimes it will come up with a new number.

Shipping is still adding 30.97%.

My database has 93 tables.
There are no table prefixes in my database.
Neither of my configure.php files on the server show table prefixes.

My SQL_CACHE_METHOD is set to "none" because of the issue I'm having here http://www.zen-cart.com/forum/showthread.php?t=50836

Could these two issues be related?

14 Nov 2006, 3:20 AM
#6
ben avatar

ben

New Zenner

Join Date:
Aug 2006
Location:
Melbourne, Australia
Posts:
30
Plugin Contributions:
0

Re: Products shipping price & weight increased by 30.97%

Here's another piece to the puzzle...

I have deleted my previous installations of Zen Cart and installed yet another fresh install of v1.3.6.

The following table shows the results I get in the shipping estimator when I add 1, 2, 3... 7 printers to my cart.

qty  |  Checkout Weight  |  Shipping Estimator Weight
-----------------------------------------------------------------------
1    |        45         |  26.25
2    |        90         |  34
3    |       135         |  37.875
4    |       180         |  40.2
5    |       225         |  41.75
6    |       270         |  50
7    |       315         |  49.9285714286

These figures are based on the following settings in "Shipping/Packaging":

Enter the Maximum Package Weight you will ship = 50
Package Tare Small to Medium - added percentage:weight = 10:3
Larger packages - added packaging percentage:weight = 10:3

These results are repeatable i.e. I get the same weight in the shipping estimator for the corresponding qty whenever I check it.

14 Nov 2006, 4:36 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Products shipping price & weight increased by 30.97%

You are saying add a Tare of 10% + 3lbs ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Nov 2006, 6:26 AM
#8
ben avatar

ben

New Zenner

Join Date:
Aug 2006
Location:
Melbourne, Australia
Posts:
30
Plugin Contributions:
0

Re: Products shipping price & weight increased by 30.97%

Yes, but my point still stands. The calculations are incorrect.

e.g. 1 printer in cart

45 lb * 1.1 + 3 lb = 52.5 lb NOT 26.25 lb

e.g. 2 printers in cart

2 * 45 lb * 1.1 + 3 lb = 102 lb NOT 34 lb

etc

14 Nov 2006, 12:36 PM
#9
ben avatar

ben

New Zenner

Join Date:
Aug 2006
Location:
Melbourne, Australia
Posts:
30
Plugin Contributions:
0

Re: Products shipping price & weight increased by 30.97%

I just tested the shipping estimator on the ZC demo site at www.opensourcecms.com and got the same result. Could this be a bug?

A 100 lb item shows as 36.666666666667 lb in the shipping estimator.

I think the problem only occurs when shipping weight exceeds the "maximum package weight you will ship"

14 Nov 2006, 12:45 PM
#10
ben avatar

ben

New Zenner

Join Date:
Aug 2006
Location:
Melbourne, Australia
Posts:
30
Plugin Contributions:
0

Re: Products shipping price & weight increased by 30.97%

So having got my head around the shipping estimator problem, I'm still stuck with 30.97% being added to my shipping costs. It seems these two problems are not related. I can't reproduce this problem on the ZC demo site at www.opensourcecms.com

14 Nov 2006, 2:05 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Products shipping price & weight increased by 30.97%

If your biggest box is 50 ... I do believe your weight is being divided between 2 boxes ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Nov 2006, 9:19 AM
#12
ben avatar

ben

New Zenner

Join Date:
Aug 2006
Location:
Melbourne, Australia
Posts:
30
Plugin Contributions:
0

Re: Products shipping price & weight increased by 30.97%

I have finally found the source of my frustration. Currency conversion was adding 30.97% to my shipping cost.

During the installation process I selected "Australian dollars" as the default currency. But its value is NOT set to one during the install.

Under - Admin > Localization > Currency - "Australian dollar" is marked as being the default, however it has a value of 1.30970001 and "US dollar" has a value of 1.00000000.

I think the default currency should be given a value of 1 during the installation to save confusion.

21 Nov 2006, 4:08 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Products shipping price & weight increased by 30.97%

Thanks for the update that you had a configuration setting of on the Currency ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!