- Dpd Woocommerce Login
- Woocommerce Dpd Versandetikett Plugin
- Dpd Woocommerce Free
- Dpd Woocommerce Integration
<?php |
//You need this plugin: https://www.webdados.pt/wordpress/plugins/dpd-portugal-para-woocommerce-wordpress/ |
//Monitor the 'issue label' result (success) and do whatver you want with it - Needs to be set before running 'woo_dpd_portugal_issue_label' |
add_action( 'woo_dpd_portugal_label_issued', function( $order_id ) { |
$order = wc_get_order( $order_id ); |
echo'Label issued for order '.$order_id.' on '.$order->get_meta( '_woo_dpd_portugal_label_issued' ).'<br/>'; |
echo'Tracking number(s): '.implode( ' / ', $order->get_meta( '_woo_dpd_portugal_tracking_number' ) ).'<br/>'; |
echo'Label PDF URL: '.$order->get_meta( '_woo_dpd_portugal_pdf_url' ).'<br/>'; |
}, 10, 1 ); |
//Monitor the 'issue label' result (error) and do whatver you want with it - Needs to be set before running 'woo_dpd_portugal_issue_label' |
add_action( 'woo_dpd_portugal_label_issued_error', function( $order_id, $error_message ) { |
echo'Label NOT issued for order '.$order_id.' - Error: '.$error_message; |
//wp_mail( 'email@domain', 'Label NOT issued for order '.$order_id, 'Error: '.$error_message ); |
}, 10, 2 ); |
//Set the shipping account |
add_filter( 'woo_dpd_portugal_shipment_data', function( $shipment_data, $order_id ) { |
$shipment_data['service'] = 'dpd18'; |
return$shipment_data; |
}, 10, 2 ); |
//Monitor the 'issue return' result (success) and do whatver you want with it - Needs to be set before running 'woo_dpd_portugal_issue_return' |
add_action( 'woo_dpd_portugal_return_issued', function( $order_id ) { |
$order = wc_get_order( $order_id ); |
echo'Return issued for order '.$order_id.' on '.$order->get_meta( '_woo_dpd_portugal_return_issued' ).'<br/>'; |
echo'Tracking number(s): '.implode( ' / ', $order->get_meta( '_woo_dpd_portugal_return_tracking_number' ) ).'<br/>'; |
echo'Label PDF URL: '.$order->get_meta( '_woo_dpd_portugal_return_pdf_url' ).'<br/>'; |
}, 10, 1 ); |
//Monitor the 'issue return' result (error) and do whatver you want with it - Needs to be set before running 'woo_dpd_portugal_issue_return' |
add_action( 'woo_dpd_portugal_return_issued_error', function( $order_id, $error_message ) { |
echo'Return NOT issued for order '.$order_id.' - Error: '.$error_message; |
//wp_mail( 'email@domain', 'Return NOT issued for order '.$order_id, 'Error: '.$error_message ); |
}, 10, 2 ); |
//Set the return account |
add_filter( 'woo_dpd_portugal_return_data', function( $return_data, $order_id ) { |
$return_data['service'] = 'dpd18'; |
//Maybe you should also postpone the return date 2 or 3 days because the customer can't possibly return the same day it's shipped |
$date = newDateTime( $return_data['date'] ); |
$date->add( newDateInterval( 'P3D' ) ); |
$return_data['date'] = $date->format('Y-m-d'); |
return$return_data; |
}, 10, 2 ); |
//DO IT - Issue return after issuing label - Needs to be set before running 'woo_dpd_portugal_issue_label' |
add_action( 'woo_dpd_portugal_label_issued', function( $order_id ) { |
do_action( 'woo_dpd_portugal_issue_return', $order_id ); |
}, 11, 1); |
//DO IT - Issue label - Replace 16276 with your order id |
do_action( 'woo_dpd_portugal_issue_label', 16496 ); |
//More information: https://www.webdados.pt/wordpress/plugins/dpd-portugal-para-woocommerce-wordpress/ |
Automatic shipment tracking for store managers and customers is a crucial feature of every e-commerce store. That's why we made sure to make it as easy as possible for both parties. In this tutorial we will explain everything about DPD parcel tracking for our WooCommerce DPD UK plugin.
Dpd Woocommerce Login
DPD UK WooCommerce is powered by the best of class table rate shipping plugin for WooCommerce and makes shipping a breeze. Shipping extension for WooCommerce on WordPress of DPD Baltics. Manage your national and international shipments DPD 1,000+ active installations Tested with 5.6.3 Updated 4 months ago. DPD shipping management made easy. Take complete control of your DPD shipping - manage every customer order from any sales channel, with a range of shipping options all in a single place. Just some of the sales channels Veeqo supports are: Magento DPD Integration; Shopify DPD Integration; Shopify Plus DPD Integration; WooCommerce DPD Integration.
Woocommerce Dpd Versandetikett Plugin
DPD UK & DPD Local WooCommerce €79
Ship your DPD orders faster. Collect shipping details, download printable shipping labels, track parcels - everything is automated.
orView DetailsWP DeskDPD Parcel Tracking for store managers
If you are a store manager you can track your DPD shipments from 2 places.
WooCommerce Orders List
WooCommerce DPD plugin is integrated with Flexible Shipping and it takes all the benefits of the automatic shipping management.
When you create DPD shipment and visit WooCommerce orders page you will see a globe icon in the shipping column. Click it and you will be instantly redirected to DPD website with all information about this parcel.
WooCommerce Order Edit Screen
After creating shipment directly in the order edit screen you will see a parcel reference number. Clicking it will take you directly to DPD tracking page for this parcel.
Dpd Woocommerce Free
DPD Parcel Tracking for customers
First activate tracking numbers in customer emails in the WooCommerce DPD settings.
When you create a shipment and change the order status, WooCommerce will send an email notification to the customer and he will see his tracking number below the order details table.
Manual DPD Parcel Tracking
If for any reason you want to track your parcel manually you need just one thing, your parcel reference number. If you are a store owner you will get it after creating shipment. And if you are a customer you will get it in an email from the store or directly from the store's support staff.
Dpd Woocommerce Integration
When you have your reference number just visit dpd.co.uk and paste it in red tracking box as presented below.