A simple, powerful and independent e-commerce platform.
Sell anything with ease.

Extend Classic Commerce order number

Classic Commerce shared the order numbering with all other posts, so it is non-sequential and somewhat inflexible. There are ways to change this with plugins, but this code will allow you to simply add a prefix or a suffix to the number as it appear on the site and in emails. Note that the number is not changed in the database.