Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Use $order->get_order_number(); instead of $order->id;

$
0
0

Replies: 0

This plugin grabs the post ID $order->id for the “order number” – however a lot of woocommerce setups use $order->get_order_number().

Could you use $order->get_order_number() instead as this will work on all setups. As it currently stands we cannot use MailChimps new order notifications feature as the order numbers are wrong.

The problem is that (for sanity) a lot of woocommerce setups use sequential order numbering, instead of the post ID.

If you cannot make this change would you be able to provide me with the filter I can hook into to make the change myself in an update proof way?

Cheers


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>