AbanteCart Development > Customization help
How to create a menu link for XML feed
maxter:
--- Quote from: sunnykasera3107 on January 14, 2019, 01:30:08 AM ---I am new to Abantecart. And I am trying to create a menu link for XML feed of orders for some of my other system link ship station, QuickBooks etc.
Could anyone tell me how to create a page for that? Or Is there any documentation available for that?
--- End quote ---
Orders export to XML is not available yet. This feature needs to be developed.
Unfortunately, there is no documentation how to program the page. Are you able to develop with PHP? If yes, I can provide some tips.
sunnykasera3107:
--- Quote from: maxter on January 15, 2019, 07:02:23 AM ---
--- Quote from: sunnykasera3107 on January 14, 2019, 01:30:08 AM ---I am new to Abantecart. And I am trying to create a menu link for XML feed of orders for some of my other system link ship station, QuickBooks etc.
Could anyone tell me how to create a page for that? Or Is there any documentation available for that?
--- End quote ---
Orders export to XML is not available yet. This feature needs to be developed.
Unfortunately, there is no documentation how to program the page. Are you able to develop with PHP? If yes, I can provide some tips.
--- End quote ---
I am able to develop PHP. I also developed the controller there.
But I do not know how to call that controller or how to call a member function of that controller using a specific URL.
I do not want to set that URL in any menu item or in any menu link. But I just want to create a URL which I can put in the browser and I can get my desired output.
So let's say I have the controller and member function there called "getMyXML()" then How can I call it using URL?
Should I do some route settings or something?
Also, I have used dev tool to generate extension. It generated one. I have enabled it and added a controller with method.
But when I call it so it always says 404.
sunnykasera3107:
Guys, Everything working for me now. I did everything there and also enabled the extension. But there is one option of On/Off I have not ticked that. I do not know why that option there. Usually, in other systems, we have two processes to have a working extension. First, we install it (Mean put our code in extension dir). Second, we enable it. But Abantecart has third step of status On/Off. Little confusing but at last all set there.
Abantecart has very good features. Just documentation for development needs to be updated. And all set there.
Thank you for helping with this. :)
abantecart:
--- Quote from: sunnykasera3107 on January 16, 2019, 07:13:00 AM ---Guys, Everything working for me now. I did everything there and also enabled the extension. But there is one option of On/Off I have not ticked that. I do not know why that option there. Usually, in other systems, we have two processes to have a working extension. First, we install it (Mean put our code in extension dir). Second, we enable it. But Abantecart has third step of status On/Off. Little confusing but at last all set there.
Abantecart has very good features. Just documentation for development needs to be updated. And all set there.
--- End quote ---
On/Off is in fact enabling and disabling extension.
In AbanteCart extension can be in following states:
1. loaded into extension folder (not in fact installed)
2. Installed (SQL migration loaded )
3. On/Off (Enabled/Disabled)
Hope this clarifies any confusion.
Regarding technical documentation, we are working toward improving this in near future. Help is greatly appreciated.
Navigation
[0] Message Index
[*] Previous page
Go to full version