Shin Ho
Forum Replies Created
-
Hi @patjekadetje ,
The DHL for WooCommerce plugin has been updated to 2.8.1 with a new available action hook.
After updating the plugin, you can use this example snippet to create order notes now.
// The following example code can be added to the child theme's functions.php file add_action('dhlpwc_create_label', 'dhlpwc_add_order_note_on_create_label', 10, 2); function dhlpwc_add_order_note_on_create_label($order_id, $label_data) { // Create an order note with create label data $order = new WC_Order($order_id); if ($label_data['is_return'] !== true) { $note = __('Creating label with tracking code: ' . $label_data['tracker_code']); } else { $note = __('Creating a return label with tracking code: ' . $label_data['tracker_code']); } $order->add_order_note($note); }
Thank you for your patience!
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsForum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Fatal error with PHP 8Hi @dutchdeveloper,
Sorry for the late reply. We have fixed the autoloader issue in version 2.5.11 and be compatible with PHP8.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsHello egmdev,
Thanks for using the DHL for WooCommerce plugin. Currently the plugin doesn’t support shipping classes in that way, correct.
We have a filter you could use to force a ‘free’ flag:
$free_or_discounted = apply_filters('dhlpwc_use_discount_price', $free_or_discounted, $option, $package);
Probably works best if you apply DHL’s condition rules before discount is applied.
Otherwise, you could also use the filter to change the finalized price:
apply_filters('dhlpwc_calculate_price', $price, $free_or_discounted, $option, $package);
For a more permanent feature upgrade, or in case custom code is not familiar, you could always contact [email protected] to see if this is a feature request we could add. We have an excellent support team to help you out.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsHello Basmols,
Thank you for using the DHL for WooCommerce plugin. It’s unfortunate to hear that an issue has occurred. For Dutch support, could you perhaps contact [email protected] and describe the issue there? We have an excellent support team who can take a look together with you and see if we can get it to work.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsHello kramurz,
Thank you for using the DHL for WooCommerce plugin. On initial testings we have problems trying to replicate this issue. Could you perhaps mail your use-case to [email protected] so we could help you further with your issue?
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsForum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Fatal error when activating dhl pluginHello diesiraexv,
Thank you for using the DHL for WooCommerce plugin. On initial testings we have problems trying to replicate this issue. Could you perhaps mail your use-case to [email protected] so we could help you further with your issue?
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsForum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Fatal error with PHP 8Hi dutchdeveloper,
Thanks for using the DHL for WooCommerce plugin. Currently the plugin has not been optimized yet for PHP 8, but it’s in our immediate radar and tasked in our backlog. For now, PHP 7.4 or lower is recommended.
I’ve added a note to update this ticket to notify you when changes are live.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsHi mijnmarketing,
Thanks for using the DHL for WooCommerce plugin.
The $allowed_options is based on the capabilities linked to the account, perhaps certain DHL products aren’t activated for the DHL account used.
If you mail your use-case to [email protected], our excellent support team will troubleshoot with you and see what’s causing the issue.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsHi vememe,
Thanks for using the DHL for WooCommerce plugin.
Can you perhaps mail your issue to [email protected]? They can help you directly with your case if you link them to this ticket.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsForum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Checkout errorsHello roobycompany,
Thanks for using the DHL for WooCommerce plugin.
Could you please contact [email protected] and provide (a link to) the same information you typed here? We have an excellent team to help you with your installation.I’ve also forwarded this internally but I think it’s probably faster with a mail directly from you.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsForum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Show Parcelshop on Completed OrderHello thetankgirl,
Thanks for using the DHL for WooCommerce plugin.
The issue you’ve described has been forwarded internally. I assume it should not be a problem to add to the next update, so you can safely update it on your side before we have it updated in the plugin (since updates to overwrite any changes to make in the current code). I will update this ticket when it’s officially live as well.
Greetings,
Shin
Plugin Development Team
DHL Parcel NetherlandsForum: Plugins
In reply to: [DHL Shipping Germany for WooCommerce] Shortcode is not workingHi pippijn,
Thanks for using the DHL for WooCommerce plugin. Unfortunately shortcodes are not supported with DHL Parcel. For direct contact, you can e-mail [email protected]
If you’re familiar with coding, the function you’re looking for is in:
includes\controller\class-dhlpwc-controller-mail.php
DHLPWC_Controller_Mail::add_track_trace_to_completed_order_mail()It’s currently not tailored to be used outside of the WooCommerce hook, but can be copied and tuned into a custom snippet.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsHi multisafepayplugin,
We’ve researched the issue and couldn’t replicate the problem. If you’re still experiencing the issue, please contact us at: [email protected]
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsHi multisafepayplugin,
Thanks for notifying us about this issue.
We’ll add the reported issue to the backlog and and keep you up-to-date.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel NetherlandsHi Bart,
Thanks for your confirmation.
@shadim Could you take a look at this? I misidentified this initially as a Benelux issue. Apologies for the confusion.
Greetings,
Shin Ho
Plugin Development Team
DHL Parcel Netherlands