• Resolved mohejazi

    (@mohejazi)


    Hi Everyone,

    I want to make the invoice Number like the following Format= YYMMDD-HHMM-SS

    what is the best way to do that?

    thank you all 🙂

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

    (@pomegranate)

    Do you mean you want the entire invoice number to be without any ‘sequential’ / generated part and just be the date in that format? Or do you want to use this as prefix/suffix?

    Thread Starter mohejazi

    (@mohejazi)

    I want to use this as prefix/suffix, I did it with the normal way and it’s work on the PDF directly with only PHP but on woocommerce Products table or inside the Product page I’m was not able to show the number in Format= YYMMDD-HHMM-SS that I used but I still see the Default Number Format

    Plugin Contributor Ewout

    (@pomegranate)

    You can add this in the prefix:
    [invoice_date="ymd-Hi-s"]

    You can see the date/time codes you can use on this page: https://www.php.net/manual/en/function.date.php

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Create Custom Invoice Number’ is closed to new replies.