Payment type in report section

WPPizza – A Restaurant Plugin for WordPress Support General Support Payment type in report section

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54241
    Cihan Aydin
    Participant

      Hello Olly,
      is there a way in the “reports section” to also break down the orders by payment method to COD/Paypal etc. without exporting the report? Similar to the display in the dashboard widget.
      Best regards,
      Cihan

      #54289
      Olly
      Admin & Mod

        there are two filters you could use (first one for the boxes on the left hand side, the other for the ones on the right

        
        /**allow order change - or indeed additional boxes - by filter**/
        $box=apply_filters('wppizza_filter_reports_boxes_left',$box, $datasets, $range_restricted);
        $boxrt=apply_filters('wppizza_filter_reports_boxes_right',$boxrt, $datasets, $range_restricted);
        

        it should be relatively straight forward to add to the $box or $boxrt array depending on the dataset results i would think – just have a look as to what it’s there to start off with as a guide to what the array should look like
        (i assume you know how wordpress filters work )

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The topic ‘Payment type in report section’ is closed to new replies.