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
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
See also our FAQ on this.by mona wrote: ↑Mon Oct 02, 2023 9:04 pm4. 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
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
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
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 pmYou 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.
You should be able to download a full backup from your host as described here: https://www.antropy.co.uk/blog/opencart-backup-restore/gsc1ugs wrote: ↑Wed Oct 04, 2023 2:36 amI 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 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
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
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
https://docs.opencart.com/en-gb/upgradi ... P%20client.
paulfeakins wrote: ↑Wed Oct 04, 2023 6:04 pmYou should be able to download a full backup from your host as described here: https://www.antropy.co.uk/blog/opencart-backup-restore/gsc1ugs wrote: ↑Wed Oct 04, 2023 2:36 amI 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 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.
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'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
++1 for Condor's version.IP_CAM wrote: ↑Sat Nov 18, 2023 5:16 amI 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

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

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.clivem wrote: ↑Mon Nov 20, 2023 4:14 am![]()
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?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: katkov777 and 109 guests