| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
On Processed send an XML transaction. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I want to a the ability to send an XML file to a provider once an order reaches the processed state (i.e., an XML file of their order details).
I'm having a little difficulty finding the section in the PHP to add this hook. Can anyone lend me a hint? ![]()
__________________
Mike | X-Cart 4.2.1 | Ubuntu 64 Server MurraySoft :: The Application Store╝ for DotNetNuke, SharePoint, Web Design Templates, X-Cart and more! http://www.MurraySoft.com/ |
|||||||
#2
|
|||||||||
|
|||||||||
![]() The email's (admin and provider) are sent in include/func/func.order.php (starting around line 869 in my version)
Looks like the same email template is used for both admin and provider emails. What you want to do is create a new template for the provider that builds the appropriate XML from the order info. Then change the provider "send" so that it uses that email template for their email. email templates are in skin1/mail.
__________________
Richard Williams Rogue Wave Limited Initial Inventory Imports Daily Inventory Updates Daily Inventory Reports Drop Ship Support Order Export to Shipper/Supplier Shopping Feeds That Work Programming for X-Cart richard@roguewavelimited.com http://www.roguewavelimited.com |
|||||||||
#3
|
|||||||
|
|||||||
![]() Right! Let me look at that. That sounds like a great place to hook in.
What I am going to do is POST an XML file to their server, not send an email, but the hook should work fine from that section of code.
__________________
Mike | X-Cart 4.2.1 | Ubuntu 64 Server MurraySoft :: The Application Store╝ for DotNetNuke, SharePoint, Web Design Templates, X-Cart and more! http://www.MurraySoft.com/ |
|||||||
|
|||
X-Cart forums © 2001-2020
|