To change the WooCommerce order number to include a prefix and suffix, add the following code to the functions.php
file in the theme directory that you use on your installation. To change the prefix or suffix, modify the variables $prefix
and $suffix
respectively.
If you do not use the child theme, remember that changes made to the functions.php
file will be overwritten when the theme is updated.
While copying code to functions.php
file it is not nessesary to copy <?php
opening tag.