That would be done in the 2 ShoppingCart.GetRTShippingRates methods.
For example, in the method with 3 overrides, look for this line:
Code:
RTShipping.ShippingMethods s_methods = GetRates(AppLogic.AppConfigUSDecimal("ShippingHandlingExtraFee"));
...and change it to
Code:
RTShipping.ShippingMethods s_methods = new RTShipping.ShippingMethods();
Then after the big 'if (AppLogic.AppConfigBool("RTShipping.AllowLocalPick up"))' section, add:
Code:
RTShipping.ShippingMethods s_methods2 = GetRates(AppLogic.AppConfigUSDecimal("ShippingHandlingExtraFee"));
foreach (RTShipping.ShippingMethod tempMethod in s_methods2)
{
s_methods.AddMethod(tempMethod);
}
That will add the in store pickup method to the s_methods collection first, then go back and add the other RTShipping rates (instead of the other way around). You'll have to do something similar in the other GetRTShippingRates overload.