Order ID vs Order Number
-
This plugin is not compatible with plugins that modify the order number.
WooCommerce by default uses non-sequential order IDs based on the default wordpress database sequence, however, many users (myself included) prefer some form of sequential order numbers, such as provided by Sequential Order Numbers Pro.You should really be calling
$order->get_order_number()
instead of `$order->get_id().Even better, to preserve backwards compatibility, you should add another shortcode/placeholder for {ORDER_NUMBER}. Very easy one liner in
woocommerce_sendinblue.php
around line 768:
'{ORDER_NUMBER}' => $order->get_order_number(),
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Order ID vs Order Number’ is closed to new replies.