Hi!

I'm trying to generate a file with shipping & order detail using the notifiers (NOTIFY_CHECKOUT_PROCESS_AFTER_SEND_ORDER_EMAIL).

The problem is that I need certain values be also included in the output file such as order id, product details and shipping weight.

I think when the trigger calls for my notifier, it is attached to order.php class only and $order->variables works just fine (except $order->order_id).

But I'd definitely like $shipping_weight (all cart weight + tare or large_tare) and $order_id be included.

How do I pass variables from shipping.php class?
And why wouldn't $order->order_id not working whereas $order->total_weight does?