Quote Originally Posted by coryinit View Post
5. If you want to add the total shipping weight (without the tare corrections, i.e. small to medium package 10:1) to the import you will need to run this command from either the mysql command line or the sql patches:

**** NOTE ****
BE SURE TO CHANGE "prefix" IN THE FOLLOWING COMMAND TO WHATEVER YOUR TABLE PREFIX IS
*************

Code:
alter table prefix_orders add shipping_weight_total decimal(14,5);
Then edit your /includes/classes/order.php on line 613 where it reads:

Code:
'ip_address' => $_SESSION['customers_ip_address'] . ' - ' . $_SERVER['REMOTE_ADDR']
);
change it to this:

Code:
'ip_address' => $_SESSION['customers_ip_address'] . ' - ' . $_SERVER['REMOTE_ADDR'],
'shipping_weight_total' => $_SESSION['cart']->weight
);
Once this is done you will need to edit the map in world ship by clicking on Import/Export Data -> Create / Edit Map... and selecting the map you made above. Just connect the shipping_weight_total to the appropriate WorldShip weight field.
-Cory
Is this still the best method to add total shipping weight to zen_orders? I have v1.3.9e