I would like to change the status of every new WooCommerce order depending on a custom field (shopart) with PHP. I already tried to write a function in the functions.php file but I failed. Answer
Tag: status
Auto change order status from hold-on to processing in Woocommerce
I would like to change every order from woocommerce with the status ‘HOLD-ON’ to ‘PROCESSING’ with php. I already tried to write a function in the functions.php file but I failed. How can I auto …
Laravel – Where to store statuses (flags)? Model, Class or config folder?
I need to extensively use statuses in mt project. I need them for my users (active, suspended, etc), an entity (active, pending_activation, inactive) and for my subscriptions(active, on_grace_period, not_subscribed, never_subscribed). So far I thought that the best way is to store them in the DB but i have a feeling it’s much easier to have them in the other 3