• Resolved spinsupport

    (@spinsupport)


    Good Day!

    Is it possible to split into two sections the invoice and packing slips pdf so that backorders are separated from the orders that needs to be ship to the customer?

    If yes, how can I achieve it?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Technically, this may be possible, but it depends on the details and it is likely to involve a fair bit of custom code.
    Do you want to separate the products on backorder in an invoice from products that aren’t, or do you want to separate entire orders with products on backorder from ones without?

    Thread Starter spinsupport

    (@spinsupport)

    Hi Ewout,

    Thank you so much for replying.
    In the generated PDF invoice and packing slips I just want to have two sections where is separates the order that needs to be ship and backorders. E.g on the first section it will display the orders that will be ship and the second will be the list of the backorders.

    Thank you!

    Regards,

    Plugin Contributor Ewout

    (@pomegranate)

    I’m sorry, I think the emphasis in my question wasn’t clear ??

    I’ll try again:

    1) Do you want to separate the products on backorder on a single invoice from products that can be delivered already

    2) Do you want to separate entire orders with products on backorder (even if they contain products that are not on backorder?) from ones without any products on backorder, in the bulk print?

    In the first case you could either utilize the wpo_wcpdf_order_items_data filter (here) to create a new array of products to be printed (possibly inserting an extra row indicating the products below that row are on backorder), or create a custom template to print two separate tables.

    In the second case you would need to filter the order IDs using wpo_wcpdf_process_order_ids (here) to reorder them.

    As mentioned before, both options are quite advanced though.

    Thread Starter spinsupport

    (@spinsupport)

    Hi Ewout,

    I think no.1 is what I wanted. Are you doing a custom jobs?
    If yes, how much will be the price for this one?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Split Backorder on the Invoice and Packing Slips’ is closed to new replies.