Im trying to add custom prefix to woocommerce order number that can be changed.
for example 23-19980
23 = year
-1 = batch number
9980 = order number
I did manage to find a code snippet that can make me change the prefix, but when i need to change the year next year, or change the batch number, it will change the prefix for all existing orders. Is it possible to only change the prefix for new orders?