Community Forums

Afterbuy interface

Discuss integration with other scripts such as WordPress, Joomla, PHPBB, etc..

Afterbuy interface

Postby anton » Mon Jun 04, 2012 11:16 am

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
anton
 
Posts: 9
Joined: Mon May 28, 2012 1:40 pm

Re: Afterbuy interface

Postby Qphoria » Mon Jun 04, 2012 2:07 pm

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:
viewtopic.php?f=22&t=6696#p31852
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18212
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria


Return to Integration

Who is online

Users browsing this forum: No registered users and 7 guests

Hosted by Arvixe Web Hosting