Upgrade 3.9 -> 4.0

1 2 >
Posted: March 09, 2018 at 7:25 PM Quote #201737
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?
This post/answer is useful
-1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 09, 2018 at 9:45 PM Quote #201739
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
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Please up-vote the answer, if it helpful to you! :)

Cheers,
sk5202
Posted: March 09, 2018 at 10:53 PM Quote #201740
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.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 13, 2018 at 5:10 PM Quote #201895
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 ...
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Best regards
Johannes Natter
Posted: March 13, 2018 at 5:18 PM Quote #201896
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.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 13, 2018 at 6:20 PM Quote #201897
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.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Best regards
Johannes Natter
Posted: March 13, 2018 at 7:15 PM Quote #201898
Yeah. Already finished ...
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Best regards
Johannes Natter
Posted: March 14, 2018 at 12:39 AM Quote #201907
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
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: April 20, 2018 at 3:04 AM Quote #203401
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
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: April 20, 2018 at 4:12 AM Quote #203404
Ops, I answered myself!
Resolved!
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
1 2 >
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.