Post by gsc1ugs » Mon Oct 02, 2023 8:37 pm

I'm currently on version 2.0.2.0, i have many modifications i personally made to suit my site, is it possible to merge and upgrade to version 3 or above if so what steps do i take?

Thank you

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by by mona » Mon Oct 02, 2023 9:04 pm

You can search google for "Opencart upgrade from OC2 to OC3" and you will get numerous answers, like this one
viewtopic.php?f=181&t=226916

OC2 template files are written in php
OC3 template files are written in twig

Again you can search google for what that means in short is two different computer languages.
The filing system is also slightly different.

What the above means is in short that your modifications for OC2 may not work in OC3 - Some will, some wont, some will partly work, most css chmages will work, but not all and again it will depend on what modifications.

More importantly will be which OC3 version, most of us would recommend OC3.0.x.x (which is basically OC3.0.3.8 with php8 capabilities). https://github.com/opencart/opencart/tr ... aintenance. Again google search for more details and numerous posts on the forum.

To go back to your questions.
1. Back up your site files and database
2. Depending on your host and deal. Set up a development site either live or local.
3. Build OC3.0.x.x from scratch or hire a developer to assist.
4. Search marketplace for import export by JNeuhoff and import from your live site to your development site. https://www.opencart.com/index.php?rout ... sion_id=17
5. Install all the modification and use the error log to fix the errors.

There are also twig converters online for free and twig converters in the marketplace.

Alternatively get a professional.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by paulfeakins » Tue Oct 03, 2023 6:47 pm

gsc1ugs wrote:
Mon Oct 02, 2023 8:37 pm
I'm currently on version 2.0.2.0, i have many modifications i personally made to suit my site, is it possible to merge and upgrade to version 3 or above if so what steps do i take?
Did you make them as vQmods or OCMODs?

Either way, we consider an upgrade from 2 to 3 as a rebuild.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by gsc1ugs » Tue Oct 03, 2023 8:31 pm

I’m thinking of a new build is that better

Is my backup database still valid for 3.0.3.8?

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by gsc1ugs » Tue Oct 03, 2023 8:45 pm

I want to backup the old version, ive dont the DB which folders to i backup apart from
catalog
system
image - or will image stay on?

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by JNeuhoff » Tue Oct 03, 2023 9:43 pm

by mona wrote:
Mon Oct 02, 2023 9:04 pm
4. Search marketplace for import export by JNeuhoff and import from your live site to your development site. https://www.opencart.com/index.php?rout ... sion_id=17
See also our FAQ on this.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by gsc1ugs » Tue Oct 03, 2023 10:55 pm

I just want drag the folders to my hard drive using filezilla then delete everything and install fresh

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by Cue4cheap » Tue Oct 03, 2023 11:32 pm

gsc1ugs wrote:
Tue Oct 03, 2023 10:55 pm
I just want drag the folders to my hard drive using filezilla then delete everything and install fresh
I don't know if what you are thinking is going to work especially since I am not understanding what your plan actually is.
OC2.x to OC3.x has too many changes to try and do any sort of 'overlay' of files.

What I would suggest is keep your current site online. Make a complete copy of everything just in case. That is the complete file directories and database.

Make a fresh install of OC 3.0.x.x. maintenance branch following Mona's post.
Then make all of your modification using the fresh install until you have the same functionality you did on your 2.0.2.0.

I have tried many different ways to upgrade a 2.3.0.2 version to 3.0.x.x versions and Paul is pretty much right on track... OC 2.x to OC 3.x has so many changes that there isn't an easy conversion. Even if you did an upgrade (not recommended by lots of people) you still need to install a lot of stuff, or at least activate and then fill in the details just for the standard functionally. Then to incorporate your modification and any other OCMod/VQmods it is a lot of meticulous work. As an example... my inventory sync extension took me 2 days to convert and I still have an issue with getting it to kick off properly with using Cron. I say this mostly to say you will run into snags to it is best to build your new site offline.

Mike

cue4cheap not cheap quality


Active Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by gsc1ugs » Wed Oct 04, 2023 2:36 am

I need a fresh install because i am well behind, waiting for new e-commerce to integrate due to 2.0.2.0 im well behind and OFFLINE so i dont mind a fresh install. Just want copy all that i have personally changed for the site just little things for public , only small changes, once updated i would like to implement the minor changes into 3.0.3.8

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by gsc1ugs » Wed Oct 04, 2023 5:51 pm

Where do i find this? ive installed it but cant find it under system

That's it! You should now see the Export/Import tool under the menu System > Maintenance > Export / Import (for OC 3.x or later) or under the menu System > Tools > Export / Import (for OC 2.x or earlier).

by mona wrote:
Mon Oct 02, 2023 9:04 pm
You can search google for "Opencart upgrade from OC2 to OC3" and you will get numerous answers, like this one
viewtopic.php?f=181&t=226916

OC2 template files are written in php
OC3 template files are written in twig

Again you can search google for what that means in short is two different computer languages.
The filing system is also slightly different.

What the above means is in short that your modifications for OC2 may not work in OC3 - Some will, some wont, some will partly work, most css chmages will work, but not all and again it will depend on what modifications.

More importantly will be which OC3 version, most of us would recommend OC3.0.x.x (which is basically OC3.0.3.8 with php8 capabilities). https://github.com/opencart/opencart/tr ... aintenance. Again google search for more details and numerous posts on the forum.

To go back to your questions.
1. Back up your site files and database
2. Depending on your host and deal. Set up a development site either live or local.
3. Build OC3.0.x.x from scratch or hire a developer to assist.
4. Search marketplace for import export by JNeuhoff and import from your live site to your development site. https://www.opencart.com/index.php?rout ... sion_id=17
5. Install all the modification and use the error log to fix the errors.

There are also twig converters online for free and twig converters in the marketplace.

Alternatively get a professional.

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by paulfeakins » Wed Oct 04, 2023 6:04 pm

gsc1ugs wrote:
Wed Oct 04, 2023 2:36 am
I need a fresh install because i am well behind, waiting for new e-commerce to integrate due to 2.0.2.0 im well behind and OFFLINE so i dont mind a fresh install. Just want copy all that i have personally changed for the site just little things for public , only small changes, once updated i would like to implement the minor changes into 3.0.3.8
You should be able to download a full backup from your host as described here: https://www.antropy.co.uk/blog/opencart-backup-restore/

You won't be able to use your 2 database in 3, you'll need to get the data transferred across - the extension mentioned above may help: https://www.opencart.com/index.php?rout ... sion_id=17

But you might be better off paying a professional to rebuild the site from Commercial Support Forum.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by gsc1ugs » Wed Oct 04, 2023 9:01 pm

Is this ok to do that? Ive installed it but cant find it to run!

4. Search marketplace for import export by JNeuhoff and import from your live site to your development site. https://www.opencart.com/index.php?rout ... sion_id=17

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by gsc1ugs » Wed Oct 04, 2023 9:02 pm

It says its here but i cant see it

System > Tools > Export / Import (for OC 2.x or earlier).

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by gsc1ugs » Wed Oct 04, 2023 9:11 pm

Ok, im getting somewhere, installed wrong version, i now have it and modified admininstrator group which i am but get this error trying to run up

export / import

You do not have permission to access this page, please refer to your system administrator.

Below does not show up in the permissions list

Go to System > Users > User Group > Edit Administrator

'extension/export_import' is not in the list

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by clivem » Sat Nov 18, 2023 4:53 am

I am about to upgrade from 2.3.0.2 to 3.0.x.x - the general consensus here is to start from scratch - i guess thats what i need to do. My question then is why does this page indicate what seems a fairly easy way to upgrade from 2 to 3 ?
https://docs.opencart.com/en-gb/upgradi ... P%20client.

paulfeakins wrote:
Wed Oct 04, 2023 6:04 pm
gsc1ugs wrote:
Wed Oct 04, 2023 2:36 am
I need a fresh install because i am well behind, waiting for new e-commerce to integrate due to 2.0.2.0 im well behind and OFFLINE so i dont mind a fresh install. Just want copy all that i have personally changed for the site just little things for public , only small changes, once updated i would like to implement the minor changes into 3.0.3.8
You should be able to download a full backup from your host as described here: https://www.antropy.co.uk/blog/opencart-backup-restore/

You won't be able to use your 2 database in 3, you'll need to get the data transferred across - the extension mentioned above may help: https://www.opencart.com/index.php?rout ... sion_id=17

But you might be better off paying a professional to rebuild the site from Commercial Support Forum.

New member

Posts

Joined
Mon Jun 12, 2017 8:18 pm

Post by IP_CAM » Sat Nov 18, 2023 5:16 am

I am about to upgrade from 2.3.0.2 to 3.0.x.x ...

It might be easier for you to stay with OC v.2.x and only upgrade to a maintained and customized Version of Opencart v.2.3.0.2, created by famous Coder condor2. This way, you still have regular xx.tpl coded Theme Files, and you are able to use PHP 7.4, 8.0, 8.1, 8.2 as well. Just an Idea... ;)
https://github.com/condor2/Opencart_23xx

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by gsc1ugs » Sat Nov 18, 2023 6:16 pm

I managed it, its a lot of database tables adding, removing etc, think i sent a link someone on my username posts

Active Member

Posts

Joined
Mon Sep 09, 2013 3:32 pm

Post by johnp » Sat Nov 18, 2023 9:10 pm

IP_CAM wrote:
Sat Nov 18, 2023 5:16 am
I am about to upgrade from 2.3.0.2 to 3.0.x.x ...

It might be easier for you to stay with OC v.2.x and only upgrade to a maintained and customized Version of Opencart v.2.3.0.2, created by famous Coder condor2. This way, you still have regular xx.tpl coded Theme Files, and you are able to use PHP 7.4, 8.0, 8.1, 8.2 as well. Just an Idea... ;)
https://github.com/condor2/Opencart_23xx
++1 for Condor's version. :)

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by clivem » Mon Nov 20, 2023 4:14 am

;D

LOL, just when i thought i had a way forward im back to 2.3.0.2 but a 'Condor' version maybe - thanks guys really appreciate the info and i will look into this. I've happily done my own opencart sites for many years now...... but these versions, php, tpl, twig and other protocols get me really confused.... sometimes so hard to know which is the right direction to be heading in. My main dilemma is keeping the site current with other protocols / servers so that i dont have security issues. I've had great success with 2.3.0.2 for many years so would love to stay on it - but at what point do i say its time to move forward?

New member

Posts

Joined
Mon Jun 12, 2017 8:18 pm

Post by straightlight » Mon Nov 20, 2023 4:18 am

clivem wrote:
Mon Nov 20, 2023 4:14 am
;D

LOL, just when i thought i had a way forward im back to 2.3.0.2 but a 'Condor' version maybe - thanks guys really appreciate the info and i will look into this. I've happily done my own opencart sites for many years now...... but these versions, php, tpl, twig and other protocols get me really confused.... sometimes so hard to know which is the right direction to be heading in. My main dilemma is keeping the site current with other protocols / servers so that i dont have security issues. I've had great success with 2.3.0.2 for many years so would love to stay on it - but at what point do i say its time to move forward?
By simply moving forward to the most recent releases.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: pprmkr and 23 guests