I have a custom variable in the includes\modules\shipping\ups.php module called $shipping_methods_types that contains the available UPS methods (not the chosen method - the available methods). For example, it'll contain: 1DA,2DA,GND.
I want to store that value in a field I've created called shipping_allowed in the orders table.
It looks like the place to insert it is in includes\classes\order.php in the create function through $sql_data_array. I've been able to put in a dummy value in the field by adding this code: $sql_data_array[shipping_allowed] = 1;
My problem is that I don't know how to pass the real value of $shipping_methods_types from the UPS module to the create function.
Anyone have an idea of how I can do that? Thanks for any clues you may be able to pass onto me.



