I’m glad to hear that it worked!
Another question, I have tried adding the year to the numbering format, so that it remains, for example, 5/22 or 5/2022 but it does not apply, only 5 continues to appear, without the year. It may be that it is applied for future invoices and not for those that are already created?
That’s right. When you update your number format, it will be applied to new orders, not existing ones. If you want to update the number format in your existing invoices, you can do it from the order editing screen, within the PDF document data panel, clicking on the editing/pencil icon, and then Save changes (without editing anything): your format invoice will be updated, leaving untouched the unformatted number.
By the way, instead of using the year directly as suffix, use the [invoice_year]
placeholder instead. For instance, if you /[invoice_year]
in the suffix field (under WooCommerce > PDF Invoices > Documents > Invoice > Number format), your final invoices will be formatted as 1/2012
, 2/2012
, 3/2012
, etc.