Page 1 of 1

Updating modules from 1.5.x to 2.0

Posted: Sat Oct 11, 2014 4:14 pm
by naz_eg
Hello,

Is there any way, guide to upgrade our 1.5.x modules to 2.0 by ourself? I use many modules and don't want wait all developers to update them?

Thank you in advance.

Re: Updating modules from 1.5.x to 2.0

Posted: Sun Oct 12, 2014 7:16 am
by Xyph3r
If everything was this simple...

No..there is no guide and it will never be. Every module is different.

Re: Updating modules from 1.5.x to 2.0

Posted: Mon Oct 20, 2014 3:26 am
by ukracer
Xyph3r wrote:If everything was this simple...

No..there is no guide and it will never be. Every module is different.
But surely the changes on Opencart are known so its logical to assume the mods all need the same hack??

Re: Updating modules from 1.5.x to 2.0

Posted: Mon Oct 20, 2014 3:37 am
by naz_eg
Xyph3r wrote: No..there is no guide and it will never be.
http://forum.opencart.com/viewtopic.php?f=22&t=12474

http://forum.opencart.com/viewtopic.php?f=22&t=15875

As you can see there were some guides on previous versions so why new guides never will be?

It passed 2 weeks but none of my paid modules upgraded by the developers. I have some problems with my current site and want to setup a clear site but want to to this with new version, not 1.5.6. So i don't want to wait. I just need some tricks about this, that's all.

Re: Updating modules from 1.5.x to 2.0

Posted: Mon Oct 20, 2014 4:20 am
by ukracer
naz_eg wrote:
Xyph3r wrote: No..there is no guide and it will never be.
http://forum.opencart.com/viewtopic.php?f=22&t=12474

http://forum.opencart.com/viewtopic.php?f=22&t=15875

As you can see there were some guides on previous versions so why new guides never will be?

It passed 2 weeks but none of my paid modules upgraded by the developers. I have some problems with my current site and want to setup a clear site but want to to this with new version, not 1.5.6. So i don't want to wait. I just need some tricks about this, that's all.

Exactly. I set up a new site as I dont want to do it twice when the new Opentshirts HTML 5 module comes out but it looks like I am going to have to do so. :(

Re: Updating modules from 1.5.x to 2.0

Posted: Mon Oct 20, 2014 8:34 am
by rph
Don't use OpenCart 2.0 unless you have strong troubleshooting skills. The upgrade script is problematic. There are many known bugs. The OCMod system is broken and being actively rewritten.

Some developers are sticking with vQmod. Others are waiting for a stable OpenCart release. If you want to try converting mods yourself you need to decide whether you're going to stick with vQmod or convert over to OCMod. If you decide on the later there's an vQmod to OCMod conversion thread. Note that a large amount of the information will likely be invalidated in the next OpenCart release.

To convert the mods internally to handle the OpenCart 2.0 changes you should:
  • Convert the base controller data property into a local variable array.
  • Convert base controller methods to loader methods. Inject the data where necessary.
  • Convert HTML templating to bootstrap.
I'm sure there are more but that will get you started.

Re: Updating modules from 1.5.x to 2.0

Posted: Mon Oct 20, 2014 9:04 am
by ukracer
rph wrote:Don't use OpenCart 2.0 unless you have strong troubleshooting skills. The upgrade script is problematic. There are many known bugs. The OCMod system is broken and being actively rewritten.

Some developers are sticking with vQmod. Others are waiting for a stable OpenCart release. If you want to try converting mods yourself you need to decide whether you're going to stick with vQmod or convert over to OCMod. If you decide on the later there's an vQmod to OCMod conversion thread. Note that a large amount of the information will likely be invalidated in the next OpenCart release.

To convert the mods internally to handle the OpenCart 2.0 changes you should:
  • Convert the base controller data property into a local variable array.
  • Convert base controller methods to loader methods. Inject the data where necessary.
  • Convert HTML templating to bootstrap.
I'm sure there are more but that will get you started.
Why the hell was it released then?? It should not be out of alpha development if its that bad.!

Regards Andy T

Re: Updating modules from 1.5.x to 2.0

Posted: Mon Oct 20, 2014 9:56 pm
by OpenCart Addons
ukracer wrote:
rph wrote:Don't use OpenCart 2.0 unless you have strong troubleshooting skills. The upgrade script is problematic. There are many known bugs. The OCMod system is broken and being actively rewritten.

Some developers are sticking with vQmod. Others are waiting for a stable OpenCart release. If you want to try converting mods yourself you need to decide whether you're going to stick with vQmod or convert over to OCMod. If you decide on the later there's an vQmod to OCMod conversion thread. Note that a large amount of the information will likely be invalidated in the next OpenCart release.

To convert the mods internally to handle the OpenCart 2.0 changes you should:
  • Convert the base controller data property into a local variable array.
  • Convert base controller methods to loader methods. Inject the data where necessary.
  • Convert HTML templating to bootstrap.
I'm sure there are more but that will get you started.
Why the hell was it released then?? It should not be out of alpha development if its that bad.!

Regards Andy T
We're all asking the same question. v2.0 is receiving daily bug reports on Github, and has gone through numerous pull requests for fixes. I believe the release was rushed to coincide with the eCommerce Expo that OpenCart attended earlier this month.

For now it is highly recommended to stick with v1.5.6.4 as it's the most stable release.


Cheers,
Joel.

Re: Updating modules from 1.5.x to 2.0

Posted: Tue Oct 21, 2014 2:42 am
by ukracer
OpenCart Addons wrote:
ukracer wrote:
rph wrote:Don't use OpenCart 2.0 unless you have strong troubleshooting skills. The upgrade script is problematic. There are many known bugs. The OCMod system is broken and being actively rewritten.

Some developers are sticking with vQmod. Others are waiting for a stable OpenCart release. If you want to try converting mods yourself you need to decide whether you're going to stick with vQmod or convert over to OCMod. If you decide on the later there's an vQmod to OCMod conversion thread. Note that a large amount of the information will likely be invalidated in the next OpenCart release.

To convert the mods internally to handle the OpenCart 2.0 changes you should:
  • Convert the base controller data property into a local variable array.
  • Convert base controller methods to loader methods. Inject the data where necessary.
  • Convert HTML templating to bootstrap.
I'm sure there are more but that will get you started.
Why the hell was it released then?? It should not be out of alpha development if its that bad.!

Regards Andy T
We're all asking the same question. v2.0 is receiving daily bug reports on Github, and has gone through numerous pull requests for fixes. I believe the release was rushed to coincide with the eCommerce Expo that OpenCart attended earlier this month.

For now it is highly recommended to stick with v1.5.6.4 as it's the most stable release.


Cheers,
Joel.
Its not just bugs though IMHO its basic non functioning things...I just cant see how in one foul swoop every script I have is no longer compatible.

Oh well.

regards Andy T

Re: Updating modules from 1.5.x to 2.0

Posted: Tue Oct 21, 2014 3:44 am
by rph
It's because 2.0 is a major update that breaks backward compatibility. Lots and lots of stuff changed internally.