Upgrade 3.9 -> 4.0

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
I downloaded and installed 3.9 about 6 months ago. During that time I have customized the checkout process to add insurance options for USPS, send the insurance as a separate item line item to paypal, send paypal item ids, and a few more items.

Today, I attempted to upgrade. After a number of hours I decided that the upgrade path was to much work.

I first tried merging in 4.0 over 3.9. There are too many changes, Files deleted, etc that this really took the brunt of my time. My plan was to overlay my previous changes on top of this. After a number of hours I realized this was the wrong path.

What I would really like to do is link if to your code base and get the major changes and be able to merge them into mine so that I can stay current. Is there any path for that?
6 years ago
Hello,

Following step you might be follow.

First you have to execute Db upgrade nopCommerce 4.0 script and if you are using third party plugin than you have to execute that script also.

For an ex sevenspike plugins.

After download 4.0 source code and extract it once run these code so, datasetting.json and installed plugin.json file automatically created.

After, your customized code will put one by one from 3.90 to 4.0.

If you have third party plugin and theme than you have to put 4.0 as well.

Connect original db.

Check your all functionality and test.

Don't forget to backup your 3.90 db.

You can get latest code and script from here
6 years ago
I understand how it works. The idea is simple.

The codebase changed quite a bit. Many files were removed. Plugins that I modified such as paypal, USPS, and google shopping were moved to the server instead of local. So, that source code is no longer in the project. Maybe it is somewhere else easily gotten though and this is not the main point.

I really didn't expect so much to change. The folks at Nopcommerce put a lot of work into it.


I suppose I am a minority in regards to this. Maybe not everyone makes such heavy modification. It would be nice if there was an easy way to migrate from version A to version B.

If anyone has an easy path for this I'd love to hear suggestions.
6 years ago
No. You are not alone ..

I'am also upgrading at the moment.
My patches doesn't apply either.

I can't even copy the images into the correct directory ...
6 years ago
3.9 is stable. I very very rarely have problems with it. It's very good.

I would like to upgrade but the path to do so is not as easy. I think it's a matter of who is the target audience of nopCommerce.

nopCommerce is a good base but it has some issues not everyone wants to buy an addin for.

Let's take for example shipping. I needed to add insurance to my shipping quotes. I like to let my customers pick this. So, I also had to add it to the user interface. It's quite a bit of code going across multiple areas. It's not so easy to add that back in going from 3.9 to 4.0 with all the files moved.

Maybe it's ok. Instead of upgrading once every so many months maybe I will now consider once every so many years.

Please understand I appreciate all that everyone has put into the code base and the developers associated with nopcommerce.
6 years ago
I also appreciate the work of course!
In my case the porting isn't that difficult after all ..
But it's true. You have to stay close to mainline.
6 years ago
Yeah. Already finished ...
6 years ago
Hi,

I will have to do the same in a couple of weeks on a project customized by someone else.


Could you please share your experience, give some common step, some advices on how to avoid traps?

Any feedback will be strongly appreciated!

Thanks
6 years ago
JohannesNatter wrote:
No. You are not alone ..

I'am also upgrading at the moment.
My patches doesn't apply either.

I can't even copy the images into the correct directory ...


Hi guys!

Please can anyone help about pictures? I copy folder to 4.0 but it not work. I can't see photo of products.

I try to upload new one image, and I see only this one. The directory is "/wwwroot/images" (not what you read in the readme.txt "\Content\Images\") I transfer all pictures at the same folder, but they are yet invisible.
What is wrong? 1000 thanks
6 years ago
Ops, I answered myself!
Resolved!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.