• Resolved zjstudio

    (@zjstudio)


    I do have the code
    {{PAGE_NUM}}/{{PAGE_COUNT}}
    It does count the page numbers correct per order.
    But when I do export multiple orders for packing slip, it does count all the pages.
    I.E.: I have 5 orders. I export them all as pdf packing slip, the first order gets 1/5 page count, second 2/5 etc.

    How can I achieve that the page counter works per order, so it will be like:
    first order: 1/1, second order 1/1 etc.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! Indeed, because the bulk export in the free plugin prints the packing slips as one big document/file, the page count is also for that single document. The PDF library we use (dompfd) does not have the ability to define ‘sections’ for page numbers, so we can only have one counter.

    We do offer two possible alternative solution for this with our Professional extension:

    • With this extension you get an alternative ‘bulk export’ page where you select a date range (+order status) for orders to export, this then creates all the individual PDF files for each document and downloads it as a zip file. Because these are separate files you don’t have the above issue
    • You also get a feature to “Keep PDF files on the server”. This changes the PDF creation process slightly, because it creates single PDF files for each document and stores them on the server, and instead of creating a single PDF file at once in the bulk export (the one from the dropdown that you use in the free version), it merges all these single PDF files into one

    I’m sorry I don’t have a solution for the free version, but perhaps you find the Professional extension useful for more than just the above and get this as a bonus 🙂

Viewing 1 replies (of 1 total)

The topic ‘Page count incorrect’ is closed to new replies.