Quote Originally Posted by SteveKim View Post
a method of saving $weight in shopping_cart class to some other (global?) varible that does not get reset and passed onto my observer. Or should resetting of $weight commented out from shopping_cart class and be reset at the end of my observer?
Options:
a. extend the order database table to also store the total weight as calculated by shopping cart, and then write code to ensure that info gets stored appropriately
b. add a $_SESSION['shipping_weight'] variable before the shopping cart is reset, and then refer to that during your observer activities
c. alter the order-total class to store the weight in the shipping method details, and then extract that information during your export
d. recalculate the entire weight from scratch, rewriting much of the shopping-cart class