WooCommerce how to perform conditional checks for custom categories
I have a Woocommerce store and I'm trying to add prefixes to the order number based on if the order contains a product within one of two different categories. The two categories are Customs and Refurbished. This code works perfectly…