Forums
Home / Plugin: Sequential Order Numbers for WooCommerce / Can I get Custom Order ID while order is creating.
(@manicozyvision)
4 years, 1 month ago
Hi,
Can your Pro Version provide Custom Order id when order is creating. Can I retrieve Custom Order Id on below hook.
add_action( ‘woocommerce_new_order’, ‘get_custom_order_id_on_new_order’ );
(@skyvergesteve)
Hey @manicozyvision ,
Thanks for contacting us about Sequential Order Numbers! I am happy to help out 🙂
We do have a code snippet for Sequential Order Numbers Pro that sounds like it would achieve what you are looking to do.
However, please be aware that customizations are not covered under our support policy, so implementing this directly or modifying it further isn’t something we can assist with.
You can view the snippet here:
https://github.com/skyverge/wc-plugins-snippets/blob/master/woocommerce-sequential-order-numbers-pro/reformat-order-numbers.php
Can you please let me know if this snippet helps to achieve what you are looking to do here?
Cheers,
Steve SkyVerge
4 years ago
It has been a long time since we heard from you, so I’m going to mark this topic as resolved.
If you’re still experiencing issues please take a look at our FAQs for more information and create a new thread if you have further questions.