ubuntuchosen Developer From Czech Republic Member since Dec 2018 ubuntuchosen Jun 2 2020 08:50 AM Sure :) I tried testing it on 2.2.1 in case we wanted to upgrade in the future, but unfortunately it doesn't work there, shows the following error: Notice: Undefined variable: total in ~/admin/reports.app/country_sales.inc.php (Line 115) Any chance this will be updated, or included in the future versions by default? It's very useful and necesarry if the store ships to other countries than just their own. Thanks a lot for your time! :)
tim Founder From Sweden Member since May 2013 tim Jun 2 2020 03:05 PM I uploaded a newer version I had collecting dust. See if that one works better?
ubuntuchosen Developer From Czech Republic Member since Dec 2018 ubuntuchosen Oct 8 2020 12:26 AM Hey Tim, sorry for the late reply. Tested it and works fine in 2.2.1! Thanks a lot!
ubuntuchosen Developer From Czech Republic Member since Dec 2018 ubuntuchosen Nov 14 2020 10:04 PM Hey! Really sorry to bother again, but I tried it again on the same 2.2.1 installation after some time, while I didn't do any changes to the addon, it's now showing this type of error in every column: Notice: Undefined index: total_subtotal in ~/admin/reports.app/country_sales.inc.php (Line 128) Notice: Undefined index: total_shipping_fees in ~/admin/reports.app/country_sales.inc.php (Line 129) Notice: Undefined index: total_payment_fees in ~/admin/reports.app/country_sales.inc.php (Line 130) etc etc.. Would you know a way to fix this? Both the country_sales.inc.php and vqmod is installed properly.
ubuntuchosen Developer From Czech Republic Member since Dec 2018 ubuntuchosen Nov 15 2020 07:58 PM Okay, so after some time I tried making an order first, and after that the country sales work without any problems again (before there were no orders placed). So it seems it just shows these errors instead of showing something like "There are no sales yet". Anyway, problem solved!!
tim Founder From Sweden Member since May 2013 tim Nov 16 2020 02:42 AM I refreshed the download so that it should not produce a Notice if there are no sales.
ubuntuchosen Developer From Czech Republic Member since Dec 2018 ubuntuchosen Nov 16 2020 04:33 PM Awesome! Works like a charm. Thanks a lot.