nopCommerce Upgrade from 3.9 to 4.5

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
Hi Team,
We are working on the nopCommerce upgrade from version 3.9 to 4.50.3. We identified many schema changes and virtual collection property references are not available in new version. Also we have identified the lazy loading is not available. We have already created many plugins, Scheduled Task etc. Now we have many code changes as the part of upgrade due to the above changes. Do we have any mechanism to upgrade the custom code?
Appreciate your help.

Thanks,
Shinto Thomas
1 year ago
Hello Shinto,

The only mechanism to upgrade your custom code from 3.90 to 4.50.3 is to identify and redo those changes manually from 3.90 to 4.50.3 source code.
If you have a team of developers, you can ask them to compare both source codes and identify the changes and list them.
Then you need to decide what features / changes you want in new version and create a plan for upgrade.
We follow the same for our customer projects where we work on upgrades and that's the most efficient way I can suggest.

Best regards,
Atul Rungta
1 year ago
It's best to find core plugins that are similar to your (e.g. shipping, payment, etc.), and then use a diff program (like KDiff) to compare the core versions of the plugins against each other (3.90 vs 4.50) to see how the team did the 'upgrade'.
1 year ago
Hello All,
Thank you for all replies, I have a confusion, for Order table OrderItem table reference were present in nopCommerce 3.9. But the same is not available in nopCommerce 4.5. We have many customizations and if we are using GetOrder we will get the Orders and OrderItems from nopCommerce similarly SaveOrder. But new nopCommerce these are not available, do we need to rewrite?

Thanks,
Shinto Thomas
1 year ago
Hello Shino,

Yes. You need to rewrite several logic (not just this) from your existing source code to the new nopCommerce source code.
The main reason for rewrites is not just database schema but there are major changes from 3.90 to 4.50.3 which you can find here.

Hope it helps!

Best regards,
Atul Rungta
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.