Post by naz_eg » Sat Oct 11, 2014 4:14 pm

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.

New member

Posts

Joined
Sat May 29, 2010 6:25 pm

Post by Xyph3r » Sun Oct 12, 2014 7:16 am

If everything was this simple...

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

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by ukracer » Mon Oct 20, 2014 3:26 am

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??

Active Member

Posts

Joined
Wed Oct 03, 2012 6:36 am

Post by naz_eg » Mon Oct 20, 2014 3:37 am

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.

New member

Posts

Joined
Sat May 29, 2010 6:25 pm

Post by ukracer » Mon Oct 20, 2014 4:20 am

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. :(

Active Member

Posts

Joined
Wed Oct 03, 2012 6:36 am

Post by rph » Mon Oct 20, 2014 8:34 am

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.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by ukracer » Mon Oct 20, 2014 9:04 am

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

Active Member

Posts

Joined
Wed Oct 03, 2012 6:36 am

Post by OpenCart Addons » Mon Oct 20, 2014 9:56 pm

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.

Canada's Leading Expert In OpenCart Development & Certified OpenCart Development Partner Image


User avatar
Active Member

Posts

Joined
Thu Nov 24, 2011 10:51 am
Location - Canada

Post by ukracer » Tue Oct 21, 2014 2:42 am

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

Active Member

Posts

Joined
Wed Oct 03, 2012 6:36 am

Post by rph » Tue Oct 21, 2014 3:44 am

It's because 2.0 is a major update that breaks backward compatibility. Lots and lots of stuff changed internally.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska
Who is online

Users browsing this forum: No registered users and 6 guests