WooCommerce Print Invoice & Delivery Note - Version 4.5.3

Version Description

(26.09.2019) =

  • The plugin now allows 3rd party code to add order item data on the print-content.php template. Props to @doozy for the PR.
Download this release

Release Info

Developer tychesoftwares
Plugin Icon 128x128 WooCommerce Print Invoice & Delivery Note
Version 4.5.3
Comparing to
See all releases

Code changes from version 4.5.2 to 4.5.3

readme.txt CHANGED
@@ -2,9 +2,9 @@
2
 
3
  Contributors: ashokrane, tychesoftwares, rashmim
4
  Donate link: https://www.paypal.me/TycheSoftwares
5
- Tags: delivery note, packing slip, pdf invoice, delivery, shipping, print order, woocommerce, woothemes, shop
6
  Requires at least: 4.0
7
- Tested up to: 5.2
8
  Author URI: https://www.tychesoftwares.com/
9
  Stable tag: trunk
10
  License: GPLv3 or later
@@ -57,31 +57,41 @@ When your language is missing you can contribute a translation to the [GitHub re
57
 
58
  5. **[Deposits For WooCommerce](https://www.tychesoftwares.com/store/premium-plugins/deposits-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=WCDeliveryNotes "Deposits For WooCommerce")**
59
 
60
- **Some of our other free plugins:**
 
 
 
 
61
 
62
- 1. **[Order Delivery Date for WooCommerce - Lite](https://wordpress.org/plugins/order-delivery-date-for-woocommerce/ "Order Delivery Date for WooCommerce - Lite")**
63
 
64
- 2. **[Abandoned Cart for WooCommerce](https://wordpress.org/plugins/woocommerce-abandoned-cart/ "Abandoned Cart for WooCommerce")**
65
 
66
- 3. **[Product Delivery Date for WooCommerce Lite](https://wordpress.org/plugins/product-delivery-date-for-woocommerce-lite/ "Product Delivery Date for WooCommerce Lite")**
67
 
68
- 4. **[Order Delivery Date for WP e-Commerce](https://wordpress.org/plugins/order-delivery-date/ "Order Delivery Date for WP e-Commerce")**
 
 
69
 
70
- 5. **[Prevent Customers To Cancel WooCommerce Orders](https://wordpress.org/plugins/woo-prevent-cancel-order/ "Prevent Customers To Cancel WooCommerce Orders")**
71
 
72
- 6. **[WooCommerce Coupons by Categories and Tags](https://wordpress.org/plugins/woo-coupons-by-categories-and-tags/ "WooCommerce Coupons by Categories and Tags")**
73
 
74
- 7. **[Arconix FAQ](https://wordpress.org/plugins/arconix-faq/ "Arconix FAQ")**
75
 
76
- 8. **[Arconix Shortcodes](https://wordpress.org/plugins/arconix-shortcodes/ "Arconix Shortcodes")**
77
 
78
- 9. **[Arconix Flexslider](https://wordpress.org/plugins/arconix-flexslider/ "Arconix Flexslider")**
79
 
80
- 10. **[Arconix Portfolio](https://wordpress.org/plugins/arconix-portfolio/ "Arconix Portfolio")**
81
 
82
- 11. **[Arconix Testimonials](https://wordpress.org/plugins/arconix-testimonials/ "Arconix Testimonials")**
83
 
84
- 12. **[Export WordPress Menus](https://wordpress.org/plugins/wp-export-menus/ "Export WordPress Menus")**
 
 
 
 
85
 
86
  **[Developer Documentation](https://www.tychesoftwares.com/docs/print-invoice-apidocs/index.html "Developer Documentation")**
87
 
@@ -330,9 +340,13 @@ Please [contribute your translation](https://github.com/TycheSoftwares/woocommer
330
 
331
  = Minimum Requirements: WooCommerce 3.0 =
332
 
 
 
 
 
333
  = 4.5.2 (23.08.2019) =
334
 
335
- * Fixed the issue of Print buttons not working on PHP versions below 7.0.
336
 
337
  = 4.5.1 (21.08.2019) =
338
 
2
 
3
  Contributors: ashokrane, tychesoftwares, rashmim
4
  Donate link: https://www.paypal.me/TycheSoftwares
5
+ Tags: packing slips, invoices, pdf, print, woocommerce
6
  Requires at least: 4.0
7
+ Tested up to: 5.3
8
  Author URI: https://www.tychesoftwares.com/
9
  Stable tag: trunk
10
  License: GPLv3 or later
57
 
58
  5. **[Deposits For WooCommerce](https://www.tychesoftwares.com/store/premium-plugins/deposits-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=WCDeliveryNotes "Deposits For WooCommerce")**
59
 
60
+ 6. **[Payment Gateway Based Fees and Discounts for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/payment-gateway-based-fees-and-discounts-for-woocommerce-plugin/?utm_source=wprepo&utm_medium=link&utm_campaign=WCDeliveryNotes "Payment Gateway Based Fees and Discounts for WooCommerce - Pro")**
61
+
62
+ 7. **[Custom Order Status for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/custom-order-status-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=WCDeliveryNotes "Custom Order Status for WooCommerce - Pro")**
63
+
64
+ 8. **[Custom Order Numbers for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/custom-order-numbers-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=WCDeliveryNotes "Custom Order Numbers for WooCommerce - Pro")**
65
 
66
+ 9. **[Product Input Fields for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/product-input-fields-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=WCDeliveryNotes "Product Input Fields for WooCommerce - Pro")**
67
 
68
+ 10. **[Call for Price for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/woocommerce-call-for-price-plugin/?utm_source=wprepo&utm_medium=link&utm_campaign=WCDeliveryNotes "Call for Price for WooCommerce - Pro")**
69
 
70
+ 11. **[Price based on User Role for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/price-user-role-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=WCDeliveryNotes "Price based on User Role for WooCommerce - Pro")**
71
 
72
+ 12. **[Currency per Product for WooCommerce - Pro](https://www.tychesoftwares.com/store/premium-plugins/currency-per-product-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=WCDeliveryNotes "Currency per Product for WooCommerce - Pro")**
73
+
74
+ **Some of our other free plugins:**
75
 
76
+ 1. **[Abandoned Cart for WooCommerce](https://wordpress.org/plugins/woocommerce-abandoned-cart/ "Abandoned Cart for WooCommerce")**
77
 
78
+ 2. **[Order Delivery Date for WooCommerce - Lite](https://wordpress.org/plugins/order-delivery-date-for-woocommerce/ "Order Delivery Date for WooCommerce - Lite")**
79
 
80
+ 3. **[Product Delivery Date for WooCommerce - Lite](https://wordpress.org/plugins/product-delivery-date-for-woocommerce-lite/ "Product Delivery Date for WooCommerce")**
81
 
82
+ 4. **[Payment Gateway Based Fees and Discounts for WooCommerce](https://wordpress.org/plugins/checkout-fees-for-woocommerce/ "Payment Gateway Based Fees and Discounts for WooCommerce")**
83
 
84
+ 5. **[Custom Order Status for WooCommerce](https://wordpress.org/plugins/custom-order-statuses-woocommerce/ "Custom Order Status for WooCommerce")**
85
 
86
+ 6. **[Custom Order Numbers for WooCommerce](https://wordpress.org/plugins/custom-order-numbers-for-woocommerce/ "Custom Order Numbers for WooCommerce")**
87
 
88
+ 7. **[Product Input Fields for WooCommerce](https://wordpress.org/plugins/product-input-fields-for-woocommerce/ "Product Input Fields for WooCommerce")**
89
 
90
+ 8. **[Call for Price for WooCommerce](https://wordpress.org/plugins/woocommerce-call-for-price/ "Call for Price for WooCommerce")**
91
+
92
+ 9. **[Price based on User Role for WooCommerce](https://wordpress.org/plugins/price-by-user-role-for-woocommerce/ "Price based on User Role for WooCommerce")**
93
+
94
+ 10. **[Currency per Product for WooCommerce](https://wordpress.org/plugins/currency-per-product-for-woocommerce/ "Currency per Product for WooCommerce")**
95
 
96
  **[Developer Documentation](https://www.tychesoftwares.com/docs/print-invoice-apidocs/index.html "Developer Documentation")**
97
 
340
 
341
  = Minimum Requirements: WooCommerce 3.0 =
342
 
343
+ = 4.5.3 (26.09.2019) =
344
+
345
+ * The plugin now allows 3rd party code to add order item data on the print-content.php template. Props to @doozy for the PR.
346
+
347
  = 4.5.2 (23.08.2019) =
348
 
349
+ * Fixed the issue of Print buttons not working on sites with PHP versions below 7.0.
350
 
351
  = 4.5.1 (21.08.2019) =
352
 
templates/print-order/print-content.php CHANGED
@@ -117,7 +117,7 @@ if ( ! defined( 'ABSPATH' ) ) {
117
  ?>
118
  <tr>
119
  <td class="product-name">
120
- <?php do_action( 'wcdn_order_item_before', $product, $order ); ?>
121
  <span class="name">
122
  <?php
123
 
@@ -190,7 +190,7 @@ if ( ! defined( 'ABSPATH' ) ) {
190
 
191
  <?php
192
 
193
- $fields = apply_filters( 'wcdn_order_item_fields', array(), $product, $order );
194
 
195
  foreach ( $fields as $field ) :
196
  ?>
@@ -201,6 +201,7 @@ if ( ! defined( 'ABSPATH' ) ) {
201
  <?php endforeach; ?>
202
  </dl>
203
  <?php } ?>
 
204
  </td>
205
  <td class="product-item-price">
206
  <span><?php echo wp_kses_post( wcdn_get_formatted_item_price( $order, $item ) ); ?></span>
117
  ?>
118
  <tr>
119
  <td class="product-name">
120
+ <?php do_action( 'wcdn_order_item_before', $product, $order, $item ); ?>
121
  <span class="name">
122
  <?php
123
 
190
 
191
  <?php
192
 
193
+ $fields = apply_filters( 'wcdn_order_item_fields', array(), $product, $order, $item );
194
 
195
  foreach ( $fields as $field ) :
196
  ?>
201
  <?php endforeach; ?>
202
  </dl>
203
  <?php } ?>
204
+ <?php do_action( 'wcdn_order_item_after', $product, $order, $item ); ?>
205
  </td>
206
  <td class="product-item-price">
207
  <span><?php echo wp_kses_post( wcdn_get_formatted_item_price( $order, $item ) ); ?></span>
woocommerce-delivery-notes.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin Name: WooCommerce Print Invoice & Delivery Note
6
  * Plugin URI: https://www.tychesoftwares.com/
7
  * Description: Print Invoices & Delivery Notes for WooCommerce Orders.
8
- * Version: 4.5.2
9
  * Author: Tyche Softwares
10
  * Author URI: https://www.tychesoftwares.com/
11
  * License: GPLv3 or later
5
  * Plugin Name: WooCommerce Print Invoice & Delivery Note
6
  * Plugin URI: https://www.tychesoftwares.com/
7
  * Description: Print Invoices & Delivery Notes for WooCommerce Orders.
8
+ * Version: 4.5.3
9
  * Author: Tyche Softwares
10
  * Author URI: https://www.tychesoftwares.com/
11
  * License: GPLv3 or later