Multiple Printers

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27543
    basalamah
    Participant

      How can I add multiple printers such that I can choose which printer the order goes to?

      #27547
      Olly
      Admin & Mod

        please read the notes next to the “Printer ID” settings in WPPizza -> Cloudprint

        #27593
        basalamah
        Participant

          Sorry I think I wasn’t clear enough.
          Let me give you some background.
          I have two branches, each printer is at a branch. Depending on where the order is coming from, I want to select which printer should print.
          Printer ID is to select a printer from a list of cloud printers. But by choosing a printer, I cannot control where the order goes to. It immediately goes to the set printer.

          #27619
          Olly
          Admin & Mod

            there is a filter in the plugin you could use:

            
            $printers = apply_filters('wppizza_gcp_filter_printers', $printers, $orderId, $order);
            

            just return the appropriate $printers array/parameters based on parameters available in $order
            (depends on your exact requirements how to use it)

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘Multiple Printers’ is closed to new replies.