Show where order was sent depending on specific characters of the order number
I want users to see where their order came from depending on an order number that my company provides.
If one of my users inputs his order number “pCA0993″…depending on the second and third character, show the location that his order was sent from “California”. Or “pAZ9304” that his order was sent from Arizona.
Is there a way to accomplish this? Or is there a special plugin that can achieve this function?