Hello to all,
I'm just working in opencart, because I would like to move my onlineshops (at the moment they are xt:c modified).
What was missing until now is the interface for Afterbuy. I programmed this by myself and I'm nearly finished.
As soon as it is done, I will post it as download.
At the moment the login data is hardcoded in the interface data. I start the file manually with the orderID in the URL so that the order will be transferred to afterbuy.
Now I want to transfer the AB-ID to the shop and get a confirmation for this. Additionally a cronjob shall run every minute to transfer still open orders.
My questions are:
-Where shall I add the transmission to afterbuy (system should still be able for updates)?. It has to be somewhere in the order process because I have to transfer the afterbuy ID later to a bunch of affiliate networks.
-Is it possible to transfer the afterbuy ID into an existing database field?
-I would like to create this as a module (e.g. login data in backend, view of afterbuy ID's, transmission errors, etc.) but I never created one for opencart. How much effort will there be needed?
Greets
1. Don't really know what "AfterBuy" is so hard to say.. I guess it is something that triggers after something is bought? So put it in the success controller page perhaps?
2. You could probably use a lesser used field and repurpose the code to look at it differently.. but really best to use your own field and just store it in the setting table as that is key/value based and infinitely expandable.
3. It's not really hard.. once you have the shell layout. Follow this guide to get the basics:
http://forum.opencart.com/viewtopic.php ... 696#p31852
2. You could probably use a lesser used field and repurpose the code to look at it differently.. but really best to use your own field and just store it in the setting table as that is key/value based and infinitely expandable.
3. It's not really hard.. once you have the shell layout. Follow this guide to get the basics:
http://forum.opencart.com/viewtopic.php ... 696#p31852
Who is online
Users browsing this forum: No registered users and 5 guests