Advanced Order Numbers for WooCommerce issueshttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues2019-01-09T17:50:18Zhttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/6Add a function/filter to retrieve the order ID for a given order number2019-01-09T17:50:18ZReinhold KainhoferAdd a function/filter to retrieve the order ID for a given order number| | |
| --- | --- |
| Created on | 31.01.2016 23:38 |
| Resolution | FIXED |
| Resolved on | 31.07.2016 19:49 |
| Version | unspecified |
| OS | All |
| Architecture | All |
| Reporter | office |
## Extended Description
Request von J...| | |
| --- | --- |
| Created on | 31.01.2016 23:38 |
| Resolution | FIXED |
| Resolved on | 31.07.2016 19:49 |
| Version | unspecified |
| OS | All |
| Architecture | All |
| Reporter | office |
## Extended Description
Request von Jan 15, 2016 from Niklas Högefjord (niklas@krokedil.se):
Hi, We have a customer using your extension Advanced Order Numbers for WooCommerce. They are also using our extension that communicates with a payment gateway for credit card payments. Do you offer a helper function in your plugin that helps us retrieve the WooCommerce order ID from an order based on the ordernumber created by your plugin? We send the ordernumber to the payment processor and would like to transform that to the order id to be able to update order status when the payment processor pings the stor after a purchase. Kind regards /Niklas Högefjord Krokedil
Our Response:
Dear Niklas,
Thank you for the request for a helper function to retrieve the order ID from a given order number. This is indeed a feature that is not yet available.
The order number is stored as a post meta called "_oton_number_".$type, where $type is either "ordernumber" or "invoice". So, the problem basically boils down to finding the post which has the post meta "_oton_number_ordernumber" set to a given value.
As I said, there is currently no such function implemented, but it is certainly a useful and desired feature. I have put it on our list of feature for future implementation, but I cannot give any time frame for its implementation. When we implement it, it will probably be a filter that gets passed the nrtype and the number itself.
For now, I suppose you might simply implement it using either get_posts / WP_Query to load the corresponding order and read out the id, or you can alternatively use an SQL statement to read the order ID directly from the database.
Best regards,
ReinholdReinhold KainhoferReinhold Kainhoferhttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/7Make the ordernumber plugin work with WC Vendors2019-01-09T17:50:18ZReinhold KainhoferMake the ordernumber plugin work with WC Vendors| | |
| --- | --- |
| Created on | 30.01.2016 22:32 |
| Resolution | FIXED |
| Resolved on | 22.02.2016 23:30 |
| Version | unspecified |
| OS | All |
| Architecture | All |
| Reporter | office |
## Extended Description
Make the vend...| | |
| --- | --- |
| Created on | 30.01.2016 22:32 |
| Resolution | FIXED |
| Resolved on | 22.02.2016 23:30 |
| Version | unspecified |
| OS | All |
| Architecture | All |
| Reporter | office |
## Extended Description
Make the vendor list available for the custom variable definitions:
https://wordpress.org/plugins/wc-vendors/Reinhold KainhoferReinhold Kainhoferhttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/8Disabling option autoloading for the counters broke loading all counter (wp_l...2019-01-09T17:50:18ZReinhold KainhoferDisabling option autoloading for the counters broke loading all counter (wp_load_alloptions only returns autoloaded options)| | |
| --- | --- |
| Created on | 11.01.2016 18:08 |
| Resolution | FIXED |
| Resolved on | 22.02.2016 10:50 |
| Version | unspecified |
| OS | All |
| Architecture | All |
| | |
| --- | --- |
| Created on | 11.01.2016 18:08 |
| Resolution | FIXED |
| Resolved on | 22.02.2016 10:50 |
| Version | unspecified |
| OS | All |
| Architecture | All |
Reinhold KainhoferReinhold Kainhoferhttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/9Format "[year][###:1]" does not correctly extract the counter padding => 2016...2019-01-09T17:50:18ZReinhold KainhoferFormat "[year][###:1]" does not correctly extract the counter padding => 2016111, 2016222, etc.| | |
| --- | --- |
| Created on | 11.01.2016 17:39 |
| Resolution | INVALID |
| Resolved on | 30.01.2016 23:15 |
| Version | unspecified |
| OS | All |
| Architecture | All |
| | |
| --- | --- |
| Created on | 11.01.2016 17:39 |
| Resolution | INVALID |
| Resolved on | 30.01.2016 23:15 |
| Version | unspecified |
| OS | All |
| Architecture | All |
Reinhold KainhoferReinhold Kainhoferhttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/10Two orders placed at approximately the same time will get the same order numbers2019-01-09T17:50:18ZReinhold KainhoferTwo orders placed at approximately the same time will get the same order numbers| | |
| --- | --- |
| Created on | 03.12.2015 15:27 |
| Resolution | FIXED |
| Resolved on | 30.12.2015 16:11 |
| Version | unspecified |
| OS | All |
| Architecture | All |
| | |
| --- | --- |
| Created on | 03.12.2015 15:27 |
| Resolution | FIXED |
| Resolved on | 30.12.2015 16:11 |
| Version | unspecified |
| OS | All |
| Architecture | All |
Reinhold KainhoferReinhold Kainhoferhttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/13Make shipping method available as a variable2019-01-09T17:50:18ZReinhold KainhoferMake shipping method available as a variableMail from Bas Zonneveld on November 14, 2016, 11:13:
```
Dear REinhold
Thanks for your quick respons.
At this moment is the order id F-[prefix]-2016-[dag]16 (for all orders)
What i whan:
For the costumer i have 5 different pic...Mail from Bas Zonneveld on November 14, 2016, 11:13:
```
Dear REinhold
Thanks for your quick respons.
At this moment is the order id F-[prefix]-2016-[dag]16 (for all orders)
What i whan:
For the costumer i have 5 different pick up time zone. (see screenshot “check out”)
For each pick up time i want a order id.
For exemple…
· Pick up 1 Afhalen op 29 December | 07:00 - 13:00 ( order id DAG1D1NR001 -> DAG1D1NR002 -> DAG1D1NR003 -> D1D1NR004, etc)
· Pick up 2 Afhalen op 29 December | 17:00 - 21:00 ( order id “ DAG1D2NR001 -> DAG1D2NR002 -> DAG1D2NR003 -> D1D1NR004, etc)
· Pick up 3 Afhalen op 30 December | 07:00 - 13:00 ( order id “ DAG2D1NR001 -> DAG1D1NR002 -> DAG1D1NR003 -> D1D1NR004, etc)
· Pick up 4 Afhalen op 30 December | 17:00 - 21:00 ( order id “ DAG2D2NR001 -> DAG1D2NR002 -> DAG1D2NR003 -> D1D1NR004, etc)
· Pick up 5 Afhalen op 31 December | 07:00 - 13:00 ( order id “ DAG3D1NR001 -> DAG1D1NR002 -> DAG1D1NR003 -> D1D1NR004, etc)
PICK UP 1 gets DAG1D1 “COUNTER”
PICK UP 2 gets DAG1D2 “COUNTER”
PICK UP 3 gets DAG2D1 “COUNTER”
PICK UP 4 gets DAG2D2 “COUNTER”
PICK UP 5 gets DAG3D1 “COUNTER”
Counter = 001, 002, 003 etc
```
Reinhold KainhoferReinhold Kainhoferhttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/14Passing invoice number to PayPal2019-01-09T17:50:18ZReinhold KainhoferPassing invoice number to PayPalhttp://open-tools.net/forum/advanced-ordernumbers-for-woocommerce/5292-passing-correct-order-number-to-paypal.html
Need to set up the filter function for the paypal plugin. The array of values sent to PP (including the 'invoice' key wit...http://open-tools.net/forum/advanced-ordernumbers-for-woocommerce/5292-passing-correct-order-number-to-paypal.html
Need to set up the filter function for the paypal plugin. The array of values sent to PP (including the 'invoice' key with the invoice number) is filtered through this function, so the ordernumber plugin can insert the correct invoice number.
Q: Is the order number also passed anywhere?Reinhold KainhoferReinhold Kainhoferhttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/15Update to WC 32019-01-09T17:50:18ZReinhold KainhoferUpdate to WC 3http://open-tools.net/forum/shipping-by-rules-for-woocommerce/5363-what-about-compatibility-with-woocommerce-3-0.html#7909http://open-tools.net/forum/shipping-by-rules-for-woocommerce/5363-what-about-compatibility-with-woocommerce-3-0.html#7909https://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/16Sequential Orders excluding multivendor suborders2019-01-09T17:50:17ZReinhold KainhoferSequential Orders excluding multivendor subordershttp://open-tools.net/forum/advanced-ordernumbers-for-woocommerce/5348-sequential-orders-excluding-multivendor-suborders.htmlhttp://open-tools.net/forum/advanced-ordernumbers-for-woocommerce/5348-sequential-orders-excluding-multivendor-suborders.htmlhttps://gitlab.open-tools.net/woocommerce/wc-ordernumbers/-/issues/18Include ordernumbers in order search functionality (only order ID is used)2017-05-26T00:31:29ZReinhold KainhoferInclude ordernumbers in order search functionality (only order ID is used)http://open-tools.net/forum/ordernumber-plugin/5392-woocommerce-search-function-not-working.html
Searching for the order ID yields the desired order in the Backend order list view, but the order number does not seem to be searched at al...http://open-tools.net/forum/ordernumber-plugin/5392-woocommerce-search-function-not-working.html
Searching for the order ID yields the desired order in the Backend order list view, but the order number does not seem to be searched at all!
=> Do we need to implement a special hook to include the order number in the search?