Jump to content

add PHP code to write to XML upon checkout


ivan

Recommended Posts

I am wanting to write some PHP code to be able to write to an XML file when the user clicks on checkout and orders.

 

I need to take a name field and have it added into my XML file.

 

Where should I put this code? which template file? anyone know? or is there a way to add a redirect page after the checkout so that the customer gets redirected there and then my script activates without the customer knowing?

 

Any help would be greatly appreciated.

 

Ivan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated