Site Code Migration Guidelines
This topic contains a list of guidelines to use when you migrate site code to Commerce Server 2007. Additional modifications may vary based on the specific implementation of your site:
In the Web.config file, replace "Version=4.5.2002.0" with "Version=6.0.1.0" for Commerce assemblies.
All primary interop assemblies from Commerce Server 2002 have been combined into a single assembly (CommerceServer.Interop) in Commerce Server 2009.
OrderAddress.ID has been replaced with OrderAddress.OrderAddressId.
OrderGroupSearch and OrderGroupSearchOptions functionality has been replaced. For more information, see Orders Data Management Object Model.
All strongly typed properties that have names that contain "ID" (all caps) have been changed to use "Id". This was done for consistency with the .NET Framework guidelines.
PurchaseOrderID has been changed to OrderGroupId.
CommerceServerInfo.InstalledProductCulture has been replaced with Thread.CurrentThread.CurrentUICulture.Name.
Add a Types section to the Orders section of the Web.config file for each site that you are migrating. This section can be copied directly from the Web.config file in the CSharpSite that is included with Commerce Server 2007.
The default value of the userIdProperty in the Profiles section of Web.config has changed from GeneralInfo.user_id to GeneralInfo.emailAddress.
The SampleRegionalTax component is no longer present in Commerce Server 2007. Edit the total.pcf file to remove the SampleRegionalTaxComponent entry, and add the default tax component in its place. Alternatively, you could add a different custom tax component such as those offered by select Transactional Services partners. For more information, see https://go.microsoft.com/fwlink/?LinkID=6678.