diff --git a/ordernumber_helper_woocommerce.php b/ordernumber_helper_woocommerce.php index 479ab4f3540d2787e56113aca74143a406d7de37..d0385f5cf5d6c762112ef1041f229defa261e610 100644 --- a/ordernumber_helper_woocommerce.php +++ b/ordernumber_helper_woocommerce.php @@ -81,6 +81,8 @@ class OrdernumberHelperWooCommerce extends OrdernumberHelper { function getAllCounters($type) { $counters = array(); $pfxlen = strlen(self::$ordernumber_counter_prefix ); + // TODO: BUG: wp_load_alloptions does NOT load non-autoload options. + // However, we switched all counters to non-autoload, so they will not appear any more! foreach (wp_load_alloptions() as $name => $value) { if (substr($name, 0, $pfxlen) == self::$ordernumber_counter_prefix) { $parts = explode('-', substr($name, $pfxlen), 2); diff --git a/readme.txt b/readme.txt index dc67a3a5477e2fc31e8ff7f4eb4a1a4880fdac6b..d703825bfac51cc05037f23b3e709a2da8a7afa0 100644 --- a/readme.txt +++ b/readme.txt @@ -69,6 +69,11 @@ The Advanced Ordernumbers for WooCommerce plugin supports some invoicing plugins == Screenshots == +1. Different order and invoice numbers are possible. In the free (basic) version, only the "#" format with one running counter is possible. Custom variables like [year] etc. are only supported in the Advanced (paid) version. +2. The configuration screen of the plugin (with annotations/instructions). +3. The advanced version also allows multiple concurrent counters, like counters per customer country. +4. The configuation screen of the advanced (paid) plugin. +5. Custom variable definitions in the advanced (paid) plugin. == Changelog ==