XML order to be picked up by ftp polling job

WPPizza – A Restaurant Plugin for WordPress Support Feature Requests XML order to be picked up by ftp polling job

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20072
    Richard van Dok
    Participant

      Hi Olly,

      This week I spoke with a cash register supplier. He suggested that the web shop of my customer should be able to place orders somewhere in XML format. The cash register will then be able to pick them up and process them in the same way ‘thuisbezorgd.nl’ (large dutch dinner ordering site) would.
      The print to google plugin seems to come closest to this, but it uses PDF. So, is it possible to have this plugin extended with the XML format? I would then be able to solve the rest.

      Thank you, kind regards,
      Richard.

      #20073
      Olly
      Admin & Mod

        orders and customer data are stored as serialized arrays in order_ini and customer_ini respectively

        so you could use the “wppizza_on_order_executed” hook, pull out those 2 fields based on the order id passed on to that hook, convert them to xml and store them somewhere

        there is a ton more stored in those arrays than you will probably ever need, but you could just skip the keys you do not need for your xml

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The topic ‘XML order to be picked up by ftp polling job’ is closed to new replies.