{"id":194510,"date":"2024-09-19T09:29:32","date_gmt":"2024-09-19T09:29:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/shipment-tracking-ddt-for-woocommerce\/"},"modified":"2026-03-06T00:49:47","modified_gmt":"2026-03-06T00:49:47","slug":"shipment-tracking-ddt-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/en-au.wordpress.org\/plugins\/shipment-tracking-ddt-for-woocommerce\/","author":6017941,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.5.4","stable_tag":"1.5.4","tested":"6.7.5","requires":"6.0.1","requires_php":"8.0","requires_plugins":null,"header_name":"Shipment Tracking DDT for WooCommerce","header_author":"Hardweb.it","header_description":"Aggiungi il codice di tracciamento e allega i DDT ai tuoi ordini WooCommerce!","assets_banners_color":"42455d","last_updated":"2026-03-06 00:49:47","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate?hosted_button_id=DEFQGNU2RNQ4Y","header_plugin_uri":"","header_author_uri":"https:\/\/hardweb.it\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1137,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.5.1":{"tag":"1.5.1","author":"giangel84","date":"2024-09-19 11:24:17"},"1.5.2":{"tag":"1.5.2","author":"giangel84","date":"2024-10-23 09:05:52"},"1.5.3":{"tag":"1.5.3","author":"giangel84","date":"2026-03-05 23:35:17"},"1.5.4":{"tag":"1.5.4","author":"giangel84","date":"2026-03-06 00:49:47"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3157071,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3157071,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3157071,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3157071,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.5.1","1.5.2","1.5.3","1.5.4"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3154410,"resolution":"1","location":"assets","locale":"","width":1733,"height":674},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3154410,"resolution":"2","location":"assets","locale":"","width":284,"height":568},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3154410,"resolution":"3","location":"assets","locale":"","width":1701,"height":786}},"screenshots":[]},"plugin_section":[],"plugin_tags":[187155,5560,550,286],"plugin_category":[45],"plugin_contributors":[128517],"plugin_business_model":[],"class_list":["post-194510","plugin","type-plugin","status-publish","hentry","plugin_tags-ddt","plugin_tags-shipment","plugin_tags-tracking","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-giangel84","plugin_committers-giangel84"],"banners":{"banner":"https:\/\/ps.w.org\/shipment-tracking-ddt-for-woocommerce\/assets\/banner-772x250.png?rev=3157071","banner_2x":"https:\/\/ps.w.org\/shipment-tracking-ddt-for-woocommerce\/assets\/banner-1544x500.png?rev=3157071","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/shipment-tracking-ddt-for-woocommerce\/assets\/icon-128x128.jpg?rev=3157071","icon_2x":"https:\/\/ps.w.org\/shipment-tracking-ddt-for-woocommerce\/assets\/icon-256x256.jpg?rev=3157071","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/shipment-tracking-ddt-for-woocommerce\/assets\/screenshot-1.jpg?rev=3154410","caption":""},{"src":"https:\/\/ps.w.org\/shipment-tracking-ddt-for-woocommerce\/assets\/screenshot-2.jpg?rev=3154410","caption":""},{"src":"https:\/\/ps.w.org\/shipment-tracking-ddt-for-woocommerce\/assets\/screenshot-3.jpg?rev=3154410","caption":""}],"raw_content":"<!--section=description-->\n<p>Add your Tracking code to WooCommerce orders and attach the DDT\/Packing slip!\n* Fully compatible with WC HPOS, Legacy and product object caching\n* English and Italian languages\n* Send manual or automatically emails to your customers with tracking Data<\/p>\n\n<h3>Donate<\/h3>\n\n<p>If you like this plugin and want to support my work, you can also make a donation at this address: https:\/\/www.paypal.com\/donate?hosted_button_id=DEFQGNU2RNQ4Y - Thank you very much!<\/p>\n\n<!--section=installation-->\n<ul>\n<li>Install the Plugin and Activate it.<\/li>\n<li>Go to WooCommerce Email settings and adjust subject as you need.<\/li>\n<li>Go to WooCommerce-&gt;Settings-&gt;Tracking and set your desidered options.<\/li>\n<li>Open an order and add the tracking informations (Code and\/or Tracking link) and upload your DDT (only PDF accepted, max 5MB file size), then set order as shipped, or send email with manual actions.<\/li>\n<li>That's all! Enjoy.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<p>2026-03-06 - version 1.5.4\n* Plugin now fully talk in english\n* Add italian translation\n* Declared compatibility with WC product_instance_caching<\/p>\n\n<p>2026-03-04 - version 1.5.3<\/p>\n\n<ul>\n<li>Added full support for WooCommerce Legacy (non-HPOS) mode: metabox, save handlers and admin columns now work in both HPOS and Legacy mode.<\/li>\n<li>Fixed remaining $_SESSION usage in DDT email class (replaced with transients).<\/li>\n<li>Fixed order status comparison bug: get_status() returns 'shipped' not 'wc-shipped'.<\/li>\n<li>Fixed wrong option name in DDT email template (hw_stddt_ -&gt; hwit_stddt_), which prevented the \"include tracking info with DDT\" setting from working.<\/li>\n<li>Fixed plain text email templates using get_post_meta() instead of $order-&gt;get_meta() (HPOS incompatible).<\/li>\n<li>Fixed $tracking_info undefined variable in frontend order details page.<\/li>\n<li>Fixed missing array key checks for $ddt_pdf_data in frontend functions (PHP warnings on empty DDT).<\/li>\n<li>Fixed JavaScript output using improper shortcode pattern, replaced with proper admin_footer hook with screen check.<\/li>\n<li>Fixed multiple unnecessary $order-&gt;save() calls when saving tracking meta (now saves once).<\/li>\n<li>Fixed upload_dir filter not being removed after DDT upload.<\/li>\n<li>Fixed esc_attr used instead of esc_html_e for \"Elimina file\" button text.<\/li>\n<li>Fixed text domain inconsistencies in email templates and shipped status registration.<\/li>\n<li>Fixed unescaped user data output in admin columns and frontend functions.<\/li>\n<li>Removed HPOS-only requirement notice (plugin now works in both modes).<\/li>\n<li>Fixed critical: get_option() without default value caused emails to never send if settings page wasn't saved.<\/li>\n<li>Fixed critical: trigger_only_shipping_mail() required both courier AND code, now accepts code OR link.<\/li>\n<li>Fixed: email type 2 (separate) now correctly triggers DDT email automatically on status change.<\/li>\n<li>Fixed: email type 1 repeat mode no longer sends DDT attachment twice.<\/li>\n<li>Fixed: attachments accumulation and invalid values in wp_mail().<\/li>\n<li>Added setup_locale\/restore_locale for proper email localization.<\/li>\n<li>Tested with WooCommerce 10.5.3 and WordPress 6.7.2.<\/li>\n<\/ul>","raw_excerpt":"Add your Tracking code to WooCommerce orders and attach the DDT\/Packing slip!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/194510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=194510"}],"author":[{"embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/giangel84"}],"wp:attachment":[{"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=194510"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=194510"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=194510"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=194510"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=194510"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-au.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=194510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}