I have cloned storepickup shipping modules to accommodate multiple possible pickup locations for a business that only sends orders to specific locations for COD pickup. The newly cloned storepickups show up ok at checkout but their values do not get put into the database once the order is completed.
The only values that get inserted into the DB are the values of the original storepickup (shipping_method and shipping_module_code). Without the orginal storepickup as an option, the checkout stalls at step1. Even with the original storepickup present as an option, when another location is selected the same original values always get inserted. Thus there is no way for the business to determine which of several delivery locations is the one where the order should be sent.
I have been through the order.php file and the cloned versions of storepickup.php but cannot find where to make changes to fix this problem. Any help in resolving this would be greatly appreciated.



