Page 1 of 1

xml to json conversion of install file to show extension link in left menu of opencart admin dashboard

Posted: Fri Sep 23, 2022 10:26 pm
by sony22
Hi,

We have one razorpay payment extension which is compatible upto opencart 3.
Now we have to make it compatible with the opencart 4 version but we are facing some issues as the installation file is changed in the opencart 4 version.
Extension is not working while converting install.xml to install.json
Need xml to json conversion of installation file to show extension link menu in opencart admin dashboard.
So can you please help me with this.

Thank You

Re: xml to json conversion of install file to show extension link in left menu of opencart admin dashboard

Posted: Mon Sep 26, 2022 1:17 am
by straightlight
Full OC version. Contact the extension developer to resolve this issue.

Re: xml to json conversion of install file to show extension link in left menu of opencart admin dashboard

Posted: Thu Nov 17, 2022 10:11 pm
by devmiqbal
I am facing same issue can you please update your findings here as well so I can update my module for V4.
Thank you in advance.

Re: xml to json conversion of install file to show extension link in left menu of opencart admin dashboard

Posted: Fri Nov 18, 2022 1:53 am
by straightlight
devmiqbal wrote:
Thu Nov 17, 2022 10:11 pm
I am facing same issue can you please update your findings here as well so I can update my module for V4.
Thank you in advance.
Same thing as above.

Re: xml to json conversion of install file to show extension link in left menu of opencart admin dashboard

Posted: Fri Nov 18, 2022 6:29 pm
by JNeuhoff
You can't just convert an OpenCart 3.0.x.x install.xml from an OpenCart 3 extension to an install.json. The OpenCart 4 framework is quite different from OpenCart 3, you'd have to completely rewrite your OC 3 extensions for usage on OC 4.

Unlike the old install.xml which would often contain instructions for core file modifications (OCmod), the new install.json only has a few identifying descriptions for the extension, but no modifications instructions, the latter are to be implemented as event handlers.