Hi ,
Super plugin, very easy and simple !
But i’ve a bug when i want to add a second provider, the modification is not saved ??
Is there a future Update ? Than(ks
]]>Hi,
With the new woocommerce, the script generate lot of error.
Order properties should not be accessed directly.
Will you update the script ?
Thanks
]]>With the first provider on the list all is OK – displayins, info client on the
With the first provider everything runs correctly – the display, the email to the customer with the invoice, the link to the tracking on the provider’s website.
But when I add a second provider, it’s a mess – provider’s name does’t appear on the email sent to the customer and the link to the providers website does not work (a code page is shown). Is it a solution for that? Otherwise – it is a very good and very useful plugin and it would have a big success if it were corrected and maintained.
My configuration:
WordPress 4.5
PHP 7.2.14
WooCommerce 4.0.1
Found and fixed several bugs in the current version, mainly related to the serialization of the provider_list when adding/updating/ordering providers.
I have a working version here if anyone would like to try it.
Regards, Rich
]]>Hey!
I’ve noticed that the functionality breaks as soon as I add a 4th shipping partner/carrier. I am stuck with using just 3.
Is there any way around that ?
I do see an array which lists the carriers in the main php file for the plugin, but I wasn’t sure if that’s the correct way to hardcode it since it would be wiped off when I update.
Thanks
]]>Is there a way to change the date format as it appears to be American and we need it to be UK
]]>Hi,
I want to show the DHL tracking status on the main order page write to the invoice number, how it would be possible.
]]>Hi there,
I’m happy that the developer released a new version. Sadly he just fixed these 2 errors:
Line 268 from
$order = wp_kses( $_POST["list_item"] );
to
$order = wp_kses( $_POST["list_item"], array() );
and
Line 324 from
$order = wp_kses( $_POST["list_item"] );
to
$order = wp_kses( $_POST["list_item"], array() );
As there is at least one more real error:
Line 369
if ( isset( $_POST[ 'mimo_shipment_tracking_nonce' ] ) && wp_verify_nonce( $_POST[ 'mimo_shipment_tracking_nonce' ], 'mimo_shipment_tracking_data' ) ) return;
This code is inside the save_meta_boxes function and its purpose is to save the tracking data when one hits update (and not save & send) on the WC-admin-order-detail page. It does not make any sense to return (and not save the data) if the nonce is valid. That should be the opposite.
There are other weaknesses in the code (like using general add_meta_boxes and not the specific add_meta_boxes_shop_order action, which is a waste of resources or the use of deprecated functions.
For these reasons I advise everybody to use the fixed version from here until the developer has updated the official plugin.
Best, Rado
]]>Hi, have you noticed this error?
On adding a provider
[03-Mar-2019 23:23:48 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp_kses(), 1 passed in wp-content/plugins/mimo-woocommerce-order-tracking/mimo-woocommerce-order-tracking.php on line 268 and at least 2 expected in wp-includes/kses.php:731
Stack trace:
#0 wp-content/plugins/mimo-woocommerce-order-tracking/mimo-woocommerce-order-tracking.php(268): wp_kses(Array)
#1 wp-includes/class-wp-hook.php(286): MIMO_Woocommerce_Order_Tracking->add_provider(”)
#2 wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#3 wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#4 wp-admin/admin-ajax.php(167): do_action(‘wp_ajax_mimo_ad…’)
#5 {main}
thrown in wp-includes/kses.php on line 731
Hi there,
I’m using wot for a few days now. I’ve encountered an error (saving the meta box data using page update, not save & send does not work) and flaws (like deprecated functions or improper use of a hook).
As I’ve changed a few lines in the plugin main file and I have no idea when and if the developer will integrate the changes, I just wanted to offer my changes to you, if you ran into similar troubles.
You can find an outline of the changes here and the modified php file here.
Regards, Rado
]]>Hi there,
my log is full of notices that wot uses deprecated functions for $order->id and $order->status. These functions (as of WC 3.0) should be replaced by $order->get_id() and $order->get_status().
Please update.
Thank you.
Regards, Rado
]]>Hi there,
eversince I’ve installed MIMO WOT I’m getting warnings in my error log like this one:
Notice: map_meta_cap wurde <strong>fehlerhaft aufgerufen</strong>. Der Inhaltstyp jp_sitemap_master wurde nicht registriert. Es k?nnte deshalb unzuverl?ssig sein, die F?higkeit "edit_post" mit einem Inhalt dieses Typs abzugleichen. Weitere Informationen: <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress (engl.)</a> (Diese Meldung wurde in Version 4.4.0 hinzugefügt.) in /wp-includes/functions.php on line 4231
Stack Trace
1.
call_user_func(Array(2), 1024, 'map_meta_cap wurde <st...', '/home/www/gutding/wp-i...', 4231, Array(3))
/wp-content/plugins/flexible-shipping/vendor/monolog/monolog/src/Monolog/ErrorHandler.php:173
2.
Monolog\ErrorHandler->handleError(1024, 'map_meta_cap wurde <st...', '/home/www/gutding/wp-i...', 4231, Array(3))
3.
trigger_error('map_meta_cap wurde <st...')
/wp-includes/functions.php:4231
4.
_doing_it_wrong('map_meta_cap', 'Der Inhaltstyp jp_site...', '(Diese Meldung wurde i...')
/wp-includes/capabilities.php:153
5.
map_meta_cap('edit_post', 0, 5461)
/wp-includes/class-wp-user.php:722
6.
WP_User->has_cap('edit_post', 5461)
/wp-includes/capabilities.php:623
7.
current_user_can('edit_post', 5461)
/wp-content/plugins/mimo-woocommerce-order-tracking/mimo-woocommerce-order-tracking.php:371
8.
MIMO_Woocommerce_Order_Tracking->save_meta_boxes(5461)
/wp-includes/class-wp-hook.php:288
9.
WP_Hook->apply_filters(null, Array(3))
/wp-includes/class-wp-hook.php:310
10.
WP_Hook->do_action(Array(3))
/wp-includes/plugin.php:453
11.
do_action('save_post', 5461, WP_Post, true)
/wp-includes/post.php:3747
12.
wp_insert_post(Array(20))
/wp-content/plugins/jetpack/modules/sitemaps/sitemap-librarian.php:105
13.
Jetpack_Sitemap_Librarian->store_sitemap_data(0, 'jp_sitemap_master', '<?xml version="1.0" en...', '')
/wp-content/plugins/jetpack/modules/sitemaps/sitemap-builder.php:551
14.
Jetpack_Sitemap_Builder->build_master_sitemap(Array(7))
/wp-content/plugins/jetpack/modules/sitemaps/sitemap-builder.php:246
15.
Jetpack_Sitemap_Builder->build_next_sitemap_file()
/wp-content/plugins/jetpack/modules/sitemaps/sitemap-builder.php:163
16.
Jetpack_Sitemap_Builder->update_sitemap()
/wp-content/plugins/jetpack/modules/sitemaps/sitemaps.php:387
17.
Jetpack_Sitemap_Manager->callback_sitemap_cron_hook()
/wp-includes/class-wp-hook.php:286
18.
WP_Hook->apply_filters(null, Array(0))
/wp-includes/class-wp-hook.php:310
19.
WP_Hook->do_action(Array(0))
/wp-includes/plugin.php:515
20.
do_action_ref_array('jp_sitemap_cron_hook', Array(0))
/wp-cron.php:126
Context
URL /wp-cron.php
HTTP Method GET
HTTP Host gutding.org
HTTP Status 200
isSSL Yes
Current Filter jp_sitemap_cron_hook, save_post
Execution Time 3.199 s
Memory Usage 148.56 MiB
PHP SAPI apache2handler
I’ve looked into this and found out, that the plugin uses the add_meta_boxes hook in a not so optimal way.
In mimo-woocommerce-order-tracking.php (line 388) you refer to the WP Codex for adding a meta box to the shop order page. The Codex page says:
You can also use add_meta_boxes_{post_type} for best practice, so your hook will only run when editing a specific post type. This will only receive 1 parameter – $post
As you did not follow this best practice rule, I’ll get a notice whenever some jetpack cron routines are running. Because they also use this hook for some reason.
So please change line 138
add_action( 'add_meta_boxes', array( $this, 'adding_meta_boxes' ), 10, 2 );
to
add_action( 'add_meta_boxes_shop_order', array( $this, 'adding_meta_boxes' ), 10, 2 );
and line 391 from
public function adding_meta_boxes( $post_type, $post ) {
to
public function adding_meta_boxes( $post ) {
This way the function will only get called when WP displays the order page.
Best regards, Rado
]]>Hi there,
great plugin. Just what I was looking for. I’d also like to contribute translation files (german .po/.mo). Please advise.
Thank you!
Regards, Rado
]]>Is there any facility to update the tracking number in bulk in woocommerce using this plugin.
]]>Hello,
Thank you so much for this simple, yet very effective plugin! I really like it.
Is there a way to disable the feature that the order status will be set to “completed” when I have entered the tracking information? I only want to save the tracking information and send later when I manually set the order to “completed”
Best,
Andy
Hi,
great plugin, but in a new site that I’m creating, when I try to insert a tracking code on a new order, appear always the message “Please select a provider” when I click Save and Send button.
I sed 2 provider, but it doesn’t works. Someone could help me?
Thank you.
I’m using latest version of plugin and Woocommerce 3.4.7
I’ve added a Romanian translation of the plugin. I also took the liberty to add a .pot file that should make translations to additional languages easier.
What’s the best way to contribute these to your plugin? Is there a GitHub repo I could open a Pull Request against?
All the best and thank you for the great plugin
]]>Hi,
Is it possible to have a shortcode to insert the shipping information in a custom mail ?
Thank you for your help
]]>I would like to add an Hebrew translation to your plugin
]]>It would be great if you could add a Shipped Status, because product is not yet delivered to show the completed status.
]]>Hello is there any way to edit the email that you send to customers in order to change “Provider”, “Tracking Number” “Date shipped” to “Proveedor”, “Numero de guía”, “Fecha de Envío”
Thanks you
]]>Love the plugin. I have created three providers, USPS, FedEx and UPS. I have the names correct. When I enter the tracking information, the three providers does show up properly. BUT, on the email sent to the customer, the provider always shows USPS (the first provider) and NOT the correct one.
]]>I added 2 providers on WooCommerce > Setting > Tracking Order
1st:
Provider: SingPost
2nd:
Provider: DHL
3rd:
Provider: Qoo10
I add Provider DHL and tracking number for my order: #196.
On the shipping details of Order #196, it shows like this:
provider: SingPost
Tracking link to the Qoo10 tracking page
Please help! Thanks
Hi,
First of all many thanks for your awesome plugin. Works like a charm!
I wonder if there is a way to implement an api call towards your plugin?
I basically need just 1 call in order to update the order with track and trace link where after the plugin will finalize the order?
I really hope you can help
thanks
]]>How to translate your plugin ?
I like to translate to french please.
Best regards
Arnaud
Is it possible to include this information to custom email with shortcode?
]]>I’ve successfully added one Provider. When I add the second, the circle spins but never ends and no error is given. If (after 10 minutes) I refresh the page, the provider is there.
But when I try and use the provider in an Order, I select the provider and enter the tracking detail and click Save, I receive a message “Please select a Provider”.
I have tried deleting and re-adding providers, but always the same result.
Happy to do any troubleshooting on this.
]]>Hey.
How can I change the Email sender order status? For example, instead of customer-completed-order, send customer-note.
Thank you in advance.
]]>This looks exactly like what I am looking for.
But what are the correct Tracking URL settings for the following providers…
UPS
FEDEX
USPS
DHL
CANADA POST
===================
Thanks in advance.
Look forward to your advice.
]]>