• Resolved m633living

    (@m633living)


    Hi

    There only 7 items of products in my order. But your system break it into 2 pages of invoice, please advise how to fix it?

Viewing 1 replies (of 1 total)
  • Hi m633living,
    By default product per page is 6. You can increase it by the filter. Here is the process to do that.

    1) Install Code Snippets plugin
    2) Add a new snippet
    3) Add this code to the snippet

    add_filter( 'wpifw_invoice_product_per_page', 'wpifw_invoice_product_per_page_callback', 10 );
    function wpifw_invoice_product_per_page_callback($product_per_page) {
      		$product_per_page = 8; // change the number as you prefer.
    		 return $product_per_page;
       
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Invoice’ is closed to new replies.