WooCommerce Print Invoice & Delivery Note - Version 4.6.2

Version Description

(12.12.2020) =

Enhancement :- Added an option to insert the print link in the admin emails. Fix :- Strings of Bulk Printing options were not getting translated. This is fixed now. Props to @pomegranate Fix :- Finnish language locale name was incorrect. This is fixed now. Fix :- Custom fields on WooCommerce product page from Product Input Fields for WooCommerce plugin were not coming in the invoice. This is fixed now. Fix :- The BULK printing options of WooCommerce DYMO Print (PRO version) stopped working after installing our Print invoices plugin. This has been fixed. Props to @pepbc Tweak :- In FAQ page changed the code snippet to add the products image in the invoice.

Download this release

Release Info

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

Code changes from version 4.6.1 to 4.6.2

includes/class-wcdn-settings.php CHANGED
@@ -227,7 +227,16 @@ if ( ! class_exists( 'WCDN_Settings' ) ) {
227
  'id' => 'wcdn_email_print_link',
228
  'default' => 'no',
229
  'type' => 'checkbox',
230
- 'desc_tip' => __( 'This includes the emails for a new, processing and completed order. On top of that the customer invoice email also includes the link.', 'woocommerce-delivery-notes' ),
 
 
 
 
 
 
 
 
 
231
  ),
232
 
233
  array(
227
  'id' => 'wcdn_email_print_link',
228
  'default' => 'no',
229
  'type' => 'checkbox',
230
+ 'checkboxgroup' => 'start',
231
+ ),
232
+
233
+ array(
234
+ 'desc' => __( 'Show print link in Admin emails', 'woocommerce-delivery-notes' ),
235
+ 'id' => 'wcdn_admin_email_print_link',
236
+ 'default' => 'no',
237
+ 'type' => 'checkbox',
238
+ 'desc_tip' => __( 'This includes the emails for a new, processing and completed order. On top of that the customer and admin invoice emails will also include the link.', 'woocommerce-delivery-notes' ),
239
+ 'checkboxgroup' => 'end',
240
  ),
241
 
242
  array(
includes/class-wcdn-theme.php CHANGED
@@ -116,27 +116,45 @@ if ( ! class_exists( 'WCDN_Theme' ) ) {
116
  * @param boolean $plain_text Whether only to send plain text email or not.
117
  */
118
  public function add_email_print_url( $order, $sent_to_admin = true, $plain_text = false ) {
119
- if ( 'yes' === get_option( 'wcdn_email_print_link' ) ) {
120
  $wdn_order_billing_id = ( version_compare( get_option( 'woocommerce_version' ), '3.0.0', '>=' ) ) ? $order->get_billing_email() : $order->billing_email;
121
- if ( $wdn_order_billing_id && ! $sent_to_admin ) {
122
- $wdn_order_id = ( version_compare( get_option( 'woocommerce_version' ), '3.0.0', '>=' ) ) ? $order->get_id() : $order->id;
123
 
124
- $url = wcdn_get_print_link( $wdn_order_id, $this->get_template_type( $order ), $wdn_order_billing_id, true );
125
 
126
- if ( $plain_text ) :
127
- echo esc_html_e( 'Print your order', 'woocommerce-delivery-notes' ) . "\n\n";
128
 
129
- echo esc_url( $url ) . "\n";
130
-
131
- echo "\n****************************************************\n\n";
132
- else :
133
- ?>
134
- <p><strong><?php esc_attr_e( 'Print:', 'woocommerce-delivery-notes' ); ?></strong> <a href="<?php echo esc_url_raw( $url ); ?>"><?php esc_attr_e( 'Open print view in browser', 'woocommerce-delivery-notes' ); ?></a></p>
135
- <?php endif;
 
 
136
  }
137
  }
138
  }
139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  /**
141
  * Get the print button template type depnding on order status
142
  *
116
  * @param boolean $plain_text Whether only to send plain text email or not.
117
  */
118
  public function add_email_print_url( $order, $sent_to_admin = true, $plain_text = false ) {
119
+ if ( 'yes' === get_option( 'wcdn_email_print_link' ) || 'yes' === get_option( 'wcdn_admin_email_print_link' ) ) {
120
  $wdn_order_billing_id = ( version_compare( get_option( 'woocommerce_version' ), '3.0.0', '>=' ) ) ? $order->get_billing_email() : $order->billing_email;
 
 
121
 
122
+ $wdn_order_id = ( version_compare( get_option( 'woocommerce_version' ), '3.0.0', '>=' ) ) ? $order->get_id() : $order->id;
123
 
124
+ $url = wcdn_get_print_link( $wdn_order_id, $this->get_template_type( $order ), $wdn_order_billing_id, true );
 
125
 
126
+ if ( 'yes' === get_option( 'wcdn_email_print_link' ) ) {
127
+ if ( ( $wdn_order_billing_id && ! $sent_to_admin ) ) {
128
+ $this->print_link_in_email( $plain_text, $url );
129
+ }
130
+ }
131
+ if ( 'yes' === get_option( 'wcdn_admin_email_print_link' ) ) {
132
+ if ( $sent_to_admin ) {
133
+ $this->print_link_in_email( $plain_text, $url );
134
+ }
135
  }
136
  }
137
  }
138
 
139
+ /**
140
+ * Html for Print Link in the emails.
141
+ *
142
+ * @param boolean $plain_text Whether only to send plain text email or not.
143
+ * @param string $url Print Url in the email.
144
+ */
145
+ public function print_link_in_email( $plain_text, $url ) {
146
+ if ( $plain_text ) :
147
+ echo esc_html_e( 'Print your order', 'woocommerce-delivery-notes' ) . "\n\n";
148
+
149
+ echo esc_url( $url ) . "\n";
150
+
151
+ echo "\n****************************************************\n\n";
152
+ else :
153
+ ?>
154
+ <p><strong><?php esc_attr_e( 'Print:', 'woocommerce-delivery-notes' ); ?></strong> <a href="<?php echo esc_url_raw( $url ); ?>"><?php esc_attr_e( 'Open print view in browser', 'woocommerce-delivery-notes' ); ?></a></p>
155
+ <?php endif;
156
+ }
157
+
158
  /**
159
  * Get the print button template type depnding on order status
160
  *
includes/class-wcdn-writepanel.php CHANGED
@@ -118,12 +118,9 @@ if ( ! class_exists( 'WCDN_Writepanel' ) ) {
118
  * @param array $bulk_actions Array of the list in dropdown.
119
  */
120
  public function register_my_bulk_actions( $bulk_actions ) {
121
- $print_invoice_label = apply_filters( 'wcdn_change_text_of_print_invoice_in_bulk_option', 'Print Invoice' );
122
- $print_delivery_note_label = apply_filters( 'wcdn_change_text_of_print_delivery_note_in_bulk_option', 'Print Delivery Note' );
123
- $print_receipt_label = apply_filters( 'wcdn_change_text_of_print_receipt_in_bulk_option', 'Print Receipt' );
124
- $bulk_actions['wcdn_print_invoice'] = wp_kses_post( $print_invoice_label, 'woocommerce-delivery-notes' );
125
- $bulk_actions['wcdn_print_delivery-note'] = wp_kses_post( $print_delivery_note_label, 'woocommerce-delivery-notes' );
126
- $bulk_actions['wcdn_print_receipt'] = wp_kses_post( $print_receipt_label, 'woocommerce-delivery-notes' );
127
  return $bulk_actions;
128
  }
129
 
@@ -139,7 +136,10 @@ if ( ! class_exists( 'WCDN_Writepanel' ) ) {
139
  if ( ! isset( $_REQUEST['post'] ) ) {
140
  return;
141
  }
142
-
 
 
 
143
  // only for specified actions.
144
  foreach ( WCDN_Print::$template_registrations as $template_registration ) {
145
  if ( 'wcdn_print_' . $template_registration['type'] === $doaction ) {
118
  * @param array $bulk_actions Array of the list in dropdown.
119
  */
120
  public function register_my_bulk_actions( $bulk_actions ) {
121
+ $bulk_actions['wcdn_print_invoice'] = apply_filters( 'wcdn_change_text_of_print_invoice_in_bulk_option', __( 'Print Invoice', 'woocommerce-delivery-notes' ) );
122
+ $bulk_actions['wcdn_print_delivery-note'] = apply_filters( 'wcdn_change_text_of_print_delivery_note_in_bulk_option', __( 'Print Delivery Note', 'woocommerce-delivery-notes' ) );
123
+ $bulk_actions['wcdn_print_receipt'] = apply_filters( 'wcdn_change_text_of_print_receipt_in_bulk_option', __( 'Print Receipt', 'woocommerce-delivery-notes' ) );
 
 
 
124
  return $bulk_actions;
125
  }
126
 
136
  if ( ! isset( $_REQUEST['post'] ) ) {
137
  return;
138
  }
139
+ // stop if the action is not of bulk printing.
140
+ if( ! in_array( $_REQUEST['action'], array( 'wcdn_print_invoice', 'wcdn_print_delivery-note', 'wcdn_print_receipt' ) ) ) {
141
+ return;
142
+ }
143
  // only for specified actions.
144
  foreach ( WCDN_Print::$template_registrations as $template_registration ) {
145
  if ( 'wcdn_print_' . $template_registration['type'] === $doaction ) {
includes/class-woocommerce-delivery-notes.php CHANGED
@@ -36,7 +36,7 @@ if ( ! class_exists( 'WooCommerce_Delivery_Notes' ) ) {
36
  *
37
  * @var string $plugin_version Current plugin version number
38
  */
39
- public static $plugin_version = '4.5.2';
40
 
41
  /**
42
  * Plugin URL on current installation
36
  *
37
  * @var string $plugin_version Current plugin version number
38
  */
39
+ public static $plugin_version = '4.6.2';
40
 
41
  /**
42
  * Plugin URL on current installation
includes/wcdn-all-component.php CHANGED
@@ -243,7 +243,11 @@ add_filter( \'wcdn_order_info_fields\', \'example_custom_order_fields\', 10, 2 )
243
  <pre>
244
  function example_product_image( $product ) {
245
  if( isset( $product->id ) && has_post_thumbnail( $product->id ) ) {
246
- echo get_the_post_thumbnail( $product->id, array( 40, 40 ) );
 
 
 
 
247
  }
248
  }
249
  add_action( \'wcdn_order_item_before\', \'example_product_image\' );</pre>'
243
  <pre>
244
  function example_product_image( $product ) {
245
  if( isset( $product->id ) && has_post_thumbnail( $product->id ) ) {
246
+ echo get_the_post_thumbnail(
247
+ $product->id,
248
+ array( 40, 40 ),
249
+ array( \'loading\' => false )
250
+ );
251
  }
252
  }
253
  add_action( \'wcdn_order_item_before\', \'example_product_image\' );</pre>'
includes/wcdn-template-functions.php CHANGED
@@ -609,5 +609,41 @@ function wcdn_imprint() {
609
  echo wp_kses_post( wcdn_get_imprint() );
610
  }
611
 
 
 
 
 
 
 
 
 
 
 
 
 
612
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
613
  ?>
609
  echo wp_kses_post( wcdn_get_imprint() );
610
  }
611
 
612
+ /**
613
+ * Show PIF Fileds in the invoice
614
+ */
615
+ function wcdn_print_extra_fields( $item ) {
616
+ // Check if Product Input Field Pro is active.
617
+ $product_input_field_pro = 'product-input-fields-for-woocommerce-pro/product-input-fields-for-woocommerce-pro.php';
618
+ // Check if Product Input Field Lite is active.
619
+ $product_input_field = 'product-input-fields-for-woocommerce/product-input-fields-for-woocommerce.php';
620
+
621
+ if ( ( in_array( $product_input_field_pro, apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) ) ) || ( is_multisite() && array_key_exists( $product_input_field_pro, get_site_option( 'active_sitewide_plugins', array() ) ) )
622
+ ) || ( in_array( $product_input_field, apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) ) ) || ( is_multisite() && array_key_exists( $product_input_field, get_site_option( 'active_sitewide_plugins', array() ) ) )
623
+ ) ) {
624
 
625
+ $pif_global_fields = $item->get_meta( '_alg_wc_pif_global', true );
626
+ $pif_local_fields = $item->get_meta( '_alg_wc_pif_local', true );
627
+
628
+ if( $pif_global_fields ) {
629
+ foreach( $pif_global_fields as $pif_global_field ) {
630
+ $key = $pif_global_field['title'];
631
+ $value = $pif_global_field['_value'];
632
+ ?>
633
+ <dt><?php echo wp_kses_post( $key . ' : ' . $value ); ?> </dt>
634
+ <?php
635
+ }
636
+ }
637
+ if( $pif_local_fields ) {
638
+ foreach( $pif_local_fields as $pif_local_field ) {
639
+ $key = $pif_local_field['title'];
640
+ $value = $pif_local_field['_value'];
641
+ ?>
642
+ <dt><?php echo wp_kses_post( $key . ' : ' . $value ); ?> </dt>
643
+ <?php
644
+ }
645
+ }
646
+ }
647
+
648
+ }
649
  ?>
languages/{woocommerce-delivery-notes-fi_FI.mo → woocommerce-delivery-notes-fi.mo} RENAMED
File without changes
languages/{woocommerce-delivery-notes-fi_FI.po → woocommerce-delivery-notes-fi.po} RENAMED
File without changes
languages/woocommerce-delivery-notes.pot CHANGED
@@ -1,702 +1,441 @@
1
- # Copyright (C) 2018
2
- # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: \n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/woocommerce-"
7
- "delivery-notes\n"
8
- "POT-Creation-Date: 2018-10-19 12:56:49+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
13
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
-
16
- #: includes/class-wcdn-print.php:39 includes/class-wcdn-settings.php:237
17
- msgid "Invoice"
18
- msgstr ""
19
-
20
- #: includes/class-wcdn-print.php:40
21
- msgid "Invoices"
22
- msgstr ""
23
 
24
- #: includes/class-wcdn-print.php:41
25
- msgid "Print Invoice"
26
  msgstr ""
27
 
28
- #: includes/class-wcdn-print.php:42
29
- msgid "Print Invoices"
 
30
  msgstr ""
31
 
32
- #: includes/class-wcdn-print.php:43
33
- msgid "Invoice created."
34
  msgstr ""
35
 
36
- #: includes/class-wcdn-print.php:44
37
- msgid "Invoices created."
38
- msgstr ""
39
-
40
- #: includes/class-wcdn-print.php:45
41
- msgid "Show \"Print Invoice\" button"
42
- msgstr ""
43
-
44
- #: includes/class-wcdn-print.php:51
45
- msgid "Delivery Note"
46
- msgstr ""
47
-
48
- #: includes/class-wcdn-print.php:52
49
- msgid "Delivery Notes"
50
- msgstr ""
51
-
52
- #: includes/class-wcdn-print.php:53
53
- msgid "Print Delivery Note"
54
- msgstr ""
55
-
56
- #: includes/class-wcdn-print.php:54
57
- msgid "Print Delivery Notes"
58
- msgstr ""
59
-
60
- #: includes/class-wcdn-print.php:55
61
- msgid "Delivery Note created."
62
- msgstr ""
63
-
64
- #: includes/class-wcdn-print.php:56
65
- msgid "Delivery Notes created."
66
  msgstr ""
67
 
68
- #: includes/class-wcdn-print.php:57
69
- msgid "Show \"Print Delivery Note\" button"
70
- msgstr ""
71
-
72
- #: includes/class-wcdn-print.php:63
73
- msgid "Receipt"
74
- msgstr ""
75
-
76
- #: includes/class-wcdn-print.php:64
77
- msgid "Receipts"
78
- msgstr ""
79
-
80
- #: includes/class-wcdn-print.php:65
81
- msgid "Print Receipt"
82
- msgstr ""
83
-
84
- #: includes/class-wcdn-print.php:66
85
- msgid "Print Receipts"
86
- msgstr ""
87
-
88
- #: includes/class-wcdn-print.php:67
89
- msgid "Receipt created."
90
- msgstr ""
91
-
92
- #: includes/class-wcdn-print.php:68
93
- msgid "Receipts created."
94
- msgstr ""
95
-
96
- #: includes/class-wcdn-print.php:69
97
- msgid "Show \"Print Receipt\" button"
98
- msgstr ""
99
-
100
- #: includes/class-wcdn-print.php:78
101
- msgid "Order"
102
- msgstr ""
103
-
104
- #: includes/class-wcdn-print.php:79
105
- msgid "Orders"
106
- msgstr ""
107
-
108
- #: includes/class-wcdn-print.php:80
109
- msgid "Print Order"
110
- msgstr ""
111
-
112
- #: includes/class-wcdn-print.php:81
113
- msgid "Print Orders"
114
- msgstr ""
115
-
116
- #: includes/class-wcdn-print.php:93
117
- msgid "Default"
118
  msgstr ""
119
 
120
- #: includes/class-wcdn-settings.php:67
121
- msgid ""
122
- "Do you really want to reset the counter to zero? This process can't be "
123
- "undone."
124
  msgstr ""
125
 
126
- #: includes/class-wcdn-settings.php:75 includes/class-wcdn-theme.php:57
127
- #: includes/class-wcdn-theme.php:94 includes/wcdn-template-functions.php:130
128
- msgid "Print"
129
  msgstr ""
130
 
131
- #: includes/class-wcdn-settings.php:106
132
- msgid "Template"
133
  msgstr ""
134
 
135
- #: includes/class-wcdn-settings.php:113
136
- msgid "Style"
137
  msgstr ""
138
 
139
- #: includes/class-wcdn-settings.php:114
140
- msgid ""
141
- "The default print style. Read the <a href=\"%1$s\">FAQ</a> to learn how to "
142
- "customize it."
143
  msgstr ""
144
 
145
- #: includes/class-wcdn-settings.php:124
146
- msgid "Shop Logo"
147
  msgstr ""
148
 
149
- #: includes/class-wcdn-settings.php:130
150
- msgid ""
151
- "A shop logo representing your business. When the image is printed, its pixel "
152
- "density will automatically be eight times higher than the original. This "
153
- "means, 1 printed inch will correspond to about 288 pixels on the screen."
154
  msgstr ""
155
 
156
- #: includes/class-wcdn-settings.php:134
157
- msgid "Shop Name"
 
158
  msgstr ""
159
 
160
- #: includes/class-wcdn-settings.php:140
161
- msgid ""
162
- "The shop name. Leave blank to use the default Website or Blog title defined "
163
- "in WordPress settings. The name will be ignored when a Logo is set."
164
  msgstr ""
165
 
166
- #: includes/class-wcdn-settings.php:144
167
- msgid "Shop Address"
 
168
  msgstr ""
169
 
170
- #: includes/class-wcdn-settings.php:145
171
- msgid "The postal address of the shop or even e-mail or telephone."
172
  msgstr ""
173
 
174
- #: includes/class-wcdn-settings.php:154
175
- msgid "Complimentary Close"
176
  msgstr ""
177
 
178
- #: includes/class-wcdn-settings.php:155
179
- msgid "Add a personal close, notes or season greetings."
180
  msgstr ""
181
 
182
- #: includes/class-wcdn-settings.php:164
183
- msgid "Policies"
184
  msgstr ""
185
 
186
- #: includes/class-wcdn-settings.php:165
187
- msgid "Add the shop policies, conditions, etc."
188
  msgstr ""
189
 
190
- #: includes/class-wcdn-settings.php:174
191
- msgid "Footer"
192
  msgstr ""
193
 
194
- #: includes/class-wcdn-settings.php:175
195
- msgid ""
196
- "Add a footer imprint, instructions, copyright notes, e-mail, telephone, etc."
197
  msgstr ""
198
 
199
- #: includes/class-wcdn-settings.php:189
200
- msgid "Pages & Buttons"
201
  msgstr ""
202
 
203
- #: includes/class-wcdn-settings.php:196
204
- msgid "Print Page Endpoint"
 
205
  msgstr ""
206
 
207
- #: includes/class-wcdn-settings.php:202
208
- msgid ""
209
- "The endpoint is appended to the accounts page URL to print the order. It "
210
- "should be unique."
211
  msgstr ""
212
 
213
- #: includes/class-wcdn-settings.php:206
214
- #: includes/wcdn-template-functions.php:275
215
- msgid "Email"
216
  msgstr ""
217
 
218
- #: includes/class-wcdn-settings.php:207
219
- msgid "Show print link in customer emails"
220
  msgstr ""
221
 
222
- #: includes/class-wcdn-settings.php:211
223
- msgid ""
224
- "This includes the emails for a new, processing and completed order. On top "
225
- "of that the customer invoice email also includes the link."
226
  msgstr ""
227
 
228
- #: includes/class-wcdn-settings.php:215
229
- msgid "My Account"
230
  msgstr ""
231
 
232
- #: includes/class-wcdn-settings.php:216
233
- msgid "Show print button on the \"View Order\" page"
234
  msgstr ""
235
 
236
- #: includes/class-wcdn-settings.php:224
237
- msgid "Show print buttons on the \"My Account\" page"
 
238
  msgstr ""
239
 
240
- #: includes/class-wcdn-settings.php:244
241
- msgid "Numbering"
242
  msgstr ""
243
 
244
- #: includes/class-wcdn-settings.php:245
245
- msgid "Create invoice numbers"
246
  msgstr ""
247
 
248
- #: includes/class-wcdn-settings.php:253
249
- msgid "Next Number"
250
  msgstr ""
251
 
252
- #: includes/class-wcdn-settings.php:260
253
- msgid "The next invoice number."
254
  msgstr ""
255
 
256
- #: includes/class-wcdn-settings.php:264
257
- msgid "Number Prefix"
258
  msgstr ""
259
 
260
- #: includes/class-wcdn-settings.php:271
261
- msgid "This text will be prepended to the invoice number."
262
  msgstr ""
263
 
264
- #: includes/class-wcdn-settings.php:275
265
- msgid "Number Suffix"
 
266
  msgstr ""
267
 
268
- #: includes/class-wcdn-settings.php:282
269
- msgid "This text will be appended to the invoice number."
270
  msgstr ""
271
 
272
- #: includes/class-wcdn-settings.php:327
273
- msgid "Admin"
274
  msgstr ""
275
 
276
- #: includes/class-wcdn-settings.php:330
277
- msgid ""
278
- "The print buttons are available on the order listing and on the order detail "
279
- "screen."
280
  msgstr ""
281
 
282
- #: includes/class-wcdn-settings.php:372
283
- msgid ""
284
- "This section lets you customise the content. You can preview the <a href="
285
- "\"%1$s\" target=\"%4$s\" class=\"%5$s\">invoice</a>, <a href=\"%2$s\" target="
286
- "\"%4$s\" class=\"%5$s\">delivery note</a> or <a href=\"%3$s\" target=\"%4$s"
287
- "\" class=\"%5$s\">receipt</a> template."
288
  msgstr ""
289
 
290
- #: includes/class-wcdn-settings.php:435
291
- msgid "Select"
292
  msgstr ""
293
 
294
- #: includes/class-wcdn-settings.php:439
295
- msgid "Remove"
296
  msgstr ""
297
 
298
- #: includes/class-wcdn-theme.php:112
299
- msgid "Print your order"
300
  msgstr ""
301
 
302
- #: includes/class-wcdn-theme.php:119
303
- msgid "Print:"
304
  msgstr ""
305
 
306
- #: includes/class-wcdn-theme.php:119
307
- msgid "Open print view in browser"
308
  msgstr ""
309
 
310
- #: includes/class-wcdn-writepanel.php:218
311
  msgid "Print now"
312
  msgstr ""
313
 
314
- #: includes/class-wcdn-writepanel.php:232
315
  msgid "Order Printing"
316
  msgstr ""
317
 
318
- #: includes/class-wcdn-writepanel.php:259
319
  msgid "Invoice number: "
320
  msgstr ""
321
 
322
- #: includes/class-wcdn-writepanel.php:260
323
  msgid "Invoice date: "
324
  msgstr ""
325
 
326
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:75
327
- msgid "If you have a moment, please let us know why you are deactivating"
328
- msgstr ""
329
-
330
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:76
331
- msgid "Submit & Deactivate"
332
  msgstr ""
333
 
334
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:77
335
- msgid "Deactivate"
336
- msgstr ""
337
-
338
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:78
339
- msgid "Cancel"
340
- msgstr ""
341
-
342
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:79
343
- msgid "Yes - Deactivate"
344
- msgstr ""
345
-
346
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:83
347
- msgid "I found a better plugin"
348
  msgstr ""
349
 
350
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:84
351
- msgid "What's the plugin's name?"
352
  msgstr ""
353
 
354
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:85
355
- msgid "I only needed the plugin for a short period"
356
  msgstr ""
357
 
358
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:86
359
- msgid "The plugin is not working"
 
360
  msgstr ""
361
 
362
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:87
363
- msgid "Kindly share what didn't work so we can fix it for future users..."
364
  msgstr ""
365
 
366
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:88
367
- msgid "The plugin is great, but I need specific feature that you don't support"
368
  msgstr ""
369
 
370
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:89
371
- msgid "What feature?"
372
  msgstr ""
373
 
374
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:90
375
- msgid "I don't like to share my information with you"
376
  msgstr ""
377
 
378
- #: includes/component/deactivate-survey-popup/class-ts-deactivation.php:91
379
- msgctxt ""
380
- "the text of the 'other' reason for deactivating the plugin that is shown in "
381
- "the modal box."
382
- msgid "Other"
383
  msgstr ""
384
 
385
- #: includes/component/faq-support/ts-faq-support.php:127
386
- msgid "Frequently Asked Questions for %s"
387
  msgstr ""
388
 
389
- #: includes/component/faq-support/ts-faq-support.php:176
390
- msgid "FAQ & Support"
391
  msgstr ""
392
 
393
- #: includes/component/tracking-data/ts-tracking.php:120
394
- #: includes/component/tracking-data/ts-tracking.php:180
395
- msgid "Reset usage tracking"
396
  msgstr ""
397
 
398
- #: includes/component/tracking-data/ts-tracking.php:122
399
- msgid ""
400
- "This will reset your usage tracking settings, causing it to show the opt-in "
401
- "banner again and not sending any data"
402
  msgstr ""
403
 
404
- #: includes/component/tracking-data/ts-tracking.php:225
405
- msgid "Once in a Week"
406
  msgstr ""
407
 
408
- #: includes/component/tracking-data/ts-tracking.php:311
409
- msgid "Allow"
410
  msgstr ""
411
 
412
- #: includes/component/tracking-data/ts-tracking.php:312
413
- msgid "No thanks"
414
  msgstr ""
415
 
416
- #: includes/component/welcome-page/templates/social-media-elements.php:10
417
- #: includes/wcdn-welcome.php:231
418
- msgid "Follow %s"
419
  msgstr ""
420
 
421
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:19
422
- #: includes/wcdn-welcome.php:99
423
- msgid ""
424
- "Thank you for activating or updating to the latest version of WooCommerce "
425
- "Print Invoice & Delivery Note! If you're a first time user, welcome! You're "
426
- "well on your way to explore the print functionality for your WooCommerce "
427
- "orders."
428
  msgstr ""
429
 
430
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:29
431
- #: includes/wcdn-welcome.php:109
432
- msgid "Get Started with WooCommerce Print Invoice & Delivery Note"
433
  msgstr ""
434
 
435
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:33
436
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:62
437
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:68
438
- #: includes/wcdn-welcome.php:113 includes/wcdn-welcome.php:142
439
- #: includes/wcdn-welcome.php:148
440
- msgid "WooCommerce Print Invoice & Delivery Note"
441
  msgstr ""
442
 
443
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:37
444
- #: includes/wcdn-welcome.php:117
445
- msgid "Add settings"
446
  msgstr ""
447
 
448
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:39
449
- #: includes/wcdn-welcome.php:119
450
- msgid ""
451
- "To enable the print functionality for your invoices, delivery notes & "
452
- "receipts, you just need to set it up under WooCommerce -> Settings -> Print "
453
- "page. Here you can also setup the Company Logo that will appear on the "
454
- "printed items, Company Address & other information."
455
  msgstr ""
456
 
457
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:41
458
- #: includes/wcdn-welcome.php:121
459
- msgid "Click Here to go to Print page"
460
  msgstr ""
461
 
462
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:52
463
- #: includes/wcdn-welcome.php:132
464
- msgid "Enable Print button for Customers."
465
  msgstr ""
466
 
467
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:54
468
- #: includes/wcdn-welcome.php:134
469
- msgid ""
470
- "Allow customers to print the WooCommerce order invoice from the customer "
471
- "notification email, from the My Account page or from the View Order page "
472
- "under My Account."
473
  msgstr ""
474
 
475
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:56
476
- #: includes/wcdn-welcome.php:136
477
- msgid "Click Here to Enable Print button for Customers"
478
  msgstr ""
479
 
480
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:72
481
- #: includes/wcdn-welcome.php:152
482
- msgid "Enable Invoice Numbering"
483
  msgstr ""
484
 
485
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:74
486
- msgid ""
487
- "If you want to change the default invoice numbers & set some numbering "
488
- "scheme of your own, then you can set it here with a starting invoice number, "
489
- "a prefix & suffix. For example, you could set it as: TS/001/17-18."
490
  msgstr ""
491
 
492
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:76
493
- #: includes/wcdn-welcome.php:156
494
- msgid "Click Here to Enable Invoice Numbering"
495
  msgstr ""
496
 
497
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:87
498
- #: includes/wcdn-welcome.php:167
499
- msgid "Getting to Know Tyche Softwares"
500
  msgstr ""
501
 
502
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:90
503
- #: includes/wcdn-welcome.php:170
504
- msgid "Visit the Tyche Softwares Website"
505
  msgstr ""
506
 
507
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:91
508
- #: includes/wcdn-welcome.php:171
509
- msgid "View all Premium Plugins"
510
  msgstr ""
511
 
512
- #: includes/component/welcome-page/templates/welcome/welcome-page.php:100
513
- #: includes/wcdn-welcome.php:180
514
- msgid "Meet the team"
515
  msgstr ""
516
 
517
- #: includes/component/welcome-page/ts-welcome.php:167
518
- msgid "Welcome to %s %s"
519
  msgstr ""
520
 
521
- #: includes/wcdn-all-component.php:118
522
- msgid ""
523
- "Thank you for using WooCommerce Print Invoice & Delivery Note plugin! Now "
524
- "make your deliveries more accurate by allowing customers to select their "
525
- "preferred delivery date & time from Product Delivery Date Pro for "
526
- "WooCommerce. <strong><a target=\"_blank\" href= \"https://www.tychesoftwares."
527
- "com/store/premium-plugins/product-delivery-date-pro-for-woocommerce/?"
528
- "utm_source=wpnotice&utm_medium=first&utm_campaign=PrintInvoicePlugin\">Get "
529
- "it now!</a></strong>"
530
  msgstr ""
531
 
532
- #: includes/wcdn-all-component.php:120
533
- msgid ""
534
- "Never login to your admin to check your deliveries by syncing the delivery "
535
- "dates to the Google Calendar from Product Delivery Date Pro for WooCommerce. "
536
- "<strong><a target=\"_blank\" href= \"https://www.tychesoftwares.com/store/"
537
- "premium-plugins/product-delivery-date-pro-for-woocommerce/checkout?"
538
- "edd_action=add_to_cart&download_id=16&utm_source=wpnotice&utm_medium=first&utm_campaign=PrintInvoicePlugin"
539
- "\">Get it now!</a></strong>"
540
  msgstr ""
541
 
542
- #: includes/wcdn-all-component.php:122
543
- msgid ""
544
- "You can now view all your deliveries in list view or in calendar view from "
545
- "Product Delivery Date Pro for WooCommerce. <strong><a target=\"_blank\" "
546
- "href= \"https://www.tychesoftwares.com/store/premium-plugins/product-"
547
- "delivery-date-pro-for-woocommerce/checkout?"
548
- "edd_action=add_to_cart&download_id=16&utm_source=wpnotice&utm_medium=first&utm_campaign=PrintInvoicePlugin"
549
- "\">Get it now!</a></strong>."
550
  msgstr ""
551
 
552
- #: includes/wcdn-all-component.php:124
553
- msgid ""
554
- "Allow your customers to pay extra for delivery for certain Weekdays/Dates "
555
- "from Product Delivery Date Pro for WooCommerce. <strong><a target=\"_blank\" "
556
- "href= \"https://www.tychesoftwares.com/store/premium-plugins/product-"
557
- "delivery-date-pro-for-woocommerce/checkout?"
558
- "edd_action=add_to_cart&download_id=16&utm_source=wpnotice&utm_medium=first&utm_campaign=PrintInvoicePlugin"
559
- "\">Have it now!</a></strong>."
560
  msgstr ""
561
 
562
- #: includes/wcdn-all-component.php:126
563
- msgid ""
564
- "Customers can now edit the Delivery date & time on cart and checkout page or "
565
- "they can reschedule the deliveries for the already placed orders from "
566
- "Product Delivery Date Pro for WooCommerce. <strong><a target=\"_blank\" "
567
- "href= \"https://www.tychesoftwares.com/store/premium-plugins/product-"
568
- "delivery-date-pro-for-woocommerce/checkout?"
569
- "edd_action=add_to_cart&download_id=16&utm_source=wpnotice&utm_medium=first&utm_campaign=PrintInvoicePlugin"
570
- "\">Have it now!</a></strong>."
571
  msgstr ""
572
 
573
- #: includes/wcdn-template-functions.php:246
574
  msgid "Invoice Number"
575
  msgstr ""
576
 
577
- #: includes/wcdn-template-functions.php:253
578
  msgid "Invoice Date"
579
  msgstr ""
580
 
581
- #: includes/wcdn-template-functions.php:259
582
  msgid "Order Number"
583
  msgstr ""
584
 
585
- #: includes/wcdn-template-functions.php:264
586
  msgid "Order Date"
587
  msgstr ""
588
 
589
- #: includes/wcdn-template-functions.php:269
590
  msgid "Payment Method"
591
  msgstr ""
592
 
593
- #: includes/wcdn-template-functions.php:282
594
  msgid "Telephone"
595
  msgstr ""
596
 
597
- #: includes/wcdn-template-functions.php:315
598
  msgid "SKU:"
599
  msgstr ""
600
 
601
- #: includes/wcdn-template-functions.php:409
602
- #: includes/wcdn-template-functions.php:413
603
- msgid "(Includes %s)"
604
- msgstr ""
605
-
606
- #: includes/wcdn-template-functions.php:429
607
  msgid "Refund"
608
  msgstr ""
609
 
610
- #: includes/wcdn-template-functions.php:441
611
  msgid "Order Subtotal"
612
  msgstr ""
613
 
614
- #: includes/wcdn-welcome.php:54
615
- msgid "Welcome to WooCommerce Print Invoice & Delivery Note %s"
616
- msgstr ""
617
-
618
- #: includes/wcdn-welcome.php:55
619
- msgid "Welcome to WooCommerce Print Invoice & Delivery Note"
620
- msgstr ""
621
-
622
- #: includes/wcdn-welcome.php:154
623
- msgid ""
624
- "f you want to change the default invoice numbers & set some numbering scheme "
625
- "of your own, then you can set it here with a starting invoice number, a "
626
- "prefix & suffix. For example, you could set it as: TS/001/17-18."
627
- msgstr ""
628
-
629
- #: includes/wcdn-welcome.php:186
630
- msgid "Current Offers"
631
- msgstr ""
632
-
633
- #: templates/print-order/print-content.php:28
634
- msgid "Billing Address"
635
- msgstr ""
636
-
637
- #: templates/print-order/print-content.php:31
638
- #: templates/print-order/print-content.php:40
639
- msgid "N/A"
640
- msgstr ""
641
-
642
- #: templates/print-order/print-content.php:37
643
- msgid "Shipping Address"
644
- msgstr ""
645
-
646
- #: templates/print-order/print-content.php:71
647
- msgid "Product"
648
- msgstr ""
649
-
650
- #: templates/print-order/print-content.php:72
651
- msgid "Price"
652
- msgstr ""
653
-
654
- #: templates/print-order/print-content.php:73
655
- msgid "Quantity"
656
- msgstr ""
657
-
658
- #: templates/print-order/print-content.php:74
659
- msgid "Total"
660
- msgstr ""
661
-
662
- #: templates/print-order/print-content.php:147
663
- msgid "Download:"
664
- msgstr ""
665
-
666
- #: templates/print-order/print-content.php:148
667
- msgid "%s Files"
668
- msgstr ""
669
-
670
- #: templates/print-order/print-content.php:202
671
- msgid "Customer Note"
672
- msgstr ""
673
-
674
- #: woocommerce-delivery-notes.php:96 woocommerce-delivery-notes.php:103
675
- msgid "Cheatin&#8217; huh?"
676
- msgstr ""
677
-
678
- #: woocommerce-delivery-notes.php:275
679
- msgid ""
680
- "I can't differentiate between Invoice, Delivery Notes & Receipt. The "
681
- "templates are the same. "
682
- msgstr ""
683
-
684
- #: woocommerce-delivery-notes.php:281
685
- msgid "The invoice sent through mail can't be downloaded as PDF directly."
686
- msgstr ""
687
-
688
- #: woocommerce-delivery-notes.php:287
689
- msgid "The plugin is not compatible with another plugin."
690
- msgstr ""
691
-
692
- #: woocommerce-delivery-notes.php:293
693
- msgid "This plugin is not useful to me."
694
  msgstr ""
695
 
696
- #: woocommerce-delivery-notes.php:351
697
- msgid "Go to the settings page"
698
  msgstr ""
699
 
700
- #: woocommerce-delivery-notes.php:351
701
- msgid "Settings"
702
  msgstr ""
1
+ # Copyright (C) 2020 Tyche Softwares
2
+ # This file is distributed under the GPLv3 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Print Invoice & Delivery Notes for WooCommerce 4.6.1\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-delivery-notes\n"
7
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
+ "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2020-12-10T05:44:27+01:00\n"
13
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "X-Generator: WP-CLI 2.2.0\n"
15
+ "X-Domain: woocommerce-delivery-notes\n"
 
 
 
 
 
 
 
16
 
17
+ #. Plugin Name of the plugin
18
+ msgid "Print Invoice & Delivery Notes for WooCommerce"
19
  msgstr ""
20
 
21
+ #. Plugin URI of the plugin
22
+ #. Author URI of the plugin
23
+ msgid "https://www.tychesoftwares.com/"
24
  msgstr ""
25
 
26
+ #. Description of the plugin
27
+ msgid "Print Invoices & Delivery Notes for WooCommerce Orders."
28
  msgstr ""
29
 
30
+ #. Author of the plugin
31
+ msgid "Tyche Softwares"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  msgstr ""
33
 
34
+ #: templates/print-order/print-content.php:39
35
+ msgid "Billing Address"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  msgstr ""
37
 
38
+ #: templates/print-order/print-content.php:44
39
+ #: templates/print-order/print-content.php:59
40
+ msgid "N/A"
 
41
  msgstr ""
42
 
43
+ #: templates/print-order/print-content.php:54
44
+ msgid "Shipping Address"
 
45
  msgstr ""
46
 
47
+ #: templates/print-order/print-content.php:95
48
+ msgid "Product"
49
  msgstr ""
50
 
51
+ #: templates/print-order/print-content.php:96
52
+ msgid "Price"
53
  msgstr ""
54
 
55
+ #: templates/print-order/print-content.php:97
56
+ msgid "Quantity"
 
 
57
  msgstr ""
58
 
59
+ #: templates/print-order/print-content.php:98
60
+ msgid "Total"
61
  msgstr ""
62
 
63
+ #: templates/print-order/print-content.php:184
64
+ msgid "Download:"
 
 
 
65
  msgstr ""
66
 
67
+ #. translators: files count.
68
+ #: templates/print-order/print-content.php:188
69
+ msgid "%s Files"
70
  msgstr ""
71
 
72
+ #: templates/print-order/print-content.php:250
73
+ msgid "Customer Note"
 
 
74
  msgstr ""
75
 
76
+ #: includes/class-woocommerce-delivery-notes.php:118
77
+ #: includes/class-woocommerce-delivery-notes.php:125
78
+ msgid "Cheatin&#8217; huh?"
79
  msgstr ""
80
 
81
+ #: includes/class-woocommerce-delivery-notes.php:302
82
+ msgid "I can't differentiate between Invoice, Delivery Notes & Receipt. The templates are the same. "
83
  msgstr ""
84
 
85
+ #: includes/class-woocommerce-delivery-notes.php:308
86
+ msgid "The invoice sent through mail can't be downloaded as PDF directly."
87
  msgstr ""
88
 
89
+ #: includes/class-woocommerce-delivery-notes.php:314
90
+ msgid "The plugin is not compatible with another plugin."
91
  msgstr ""
92
 
93
+ #: includes/class-woocommerce-delivery-notes.php:320
94
+ msgid "This plugin is not useful to me."
95
  msgstr ""
96
 
97
+ #: includes/class-woocommerce-delivery-notes.php:390
98
+ msgid "Go to the settings page"
99
  msgstr ""
100
 
101
+ #: includes/class-woocommerce-delivery-notes.php:390
102
+ msgid "Settings"
103
  msgstr ""
104
 
105
+ #: includes/class-wcdn-print.php:101
106
+ #: includes/class-wcdn-settings.php:265
107
+ msgid "Invoice"
108
  msgstr ""
109
 
110
+ #: includes/class-wcdn-print.php:102
111
+ msgid "Invoices"
112
  msgstr ""
113
 
114
+ #: includes/class-wcdn-print.php:103
115
+ #: includes/class-wcdn-writepanel.php:121
116
+ msgid "Print Invoice"
117
  msgstr ""
118
 
119
+ #: includes/class-wcdn-print.php:104
120
+ msgid "Print Invoices"
 
 
121
  msgstr ""
122
 
123
+ #: includes/class-wcdn-print.php:105
124
+ msgid "Invoice created."
 
125
  msgstr ""
126
 
127
+ #: includes/class-wcdn-print.php:106
128
+ msgid "Invoices created."
129
  msgstr ""
130
 
131
+ #: includes/class-wcdn-print.php:107
132
+ msgid "Show \"Print Invoice\" button"
 
 
133
  msgstr ""
134
 
135
+ #: includes/class-wcdn-print.php:116
136
+ msgid "Delivery Note"
137
  msgstr ""
138
 
139
+ #: includes/class-wcdn-print.php:117
140
+ msgid "Delivery Notes"
141
  msgstr ""
142
 
143
+ #: includes/class-wcdn-print.php:118
144
+ #: includes/class-wcdn-writepanel.php:122
145
+ msgid "Print Delivery Note"
146
  msgstr ""
147
 
148
+ #: includes/class-wcdn-print.php:119
149
+ msgid "Print Delivery Notes"
150
  msgstr ""
151
 
152
+ #: includes/class-wcdn-print.php:120
153
+ msgid "Delivery Note created."
154
  msgstr ""
155
 
156
+ #: includes/class-wcdn-print.php:121
157
+ msgid "Delivery Notes created."
158
  msgstr ""
159
 
160
+ #: includes/class-wcdn-print.php:122
161
+ msgid "Show \"Print Delivery Note\" button"
162
  msgstr ""
163
 
164
+ #: includes/class-wcdn-print.php:131
165
+ msgid "Receipt"
166
  msgstr ""
167
 
168
+ #: includes/class-wcdn-print.php:132
169
+ msgid "Receipts"
170
  msgstr ""
171
 
172
+ #: includes/class-wcdn-print.php:133
173
+ #: includes/class-wcdn-writepanel.php:123
174
+ msgid "Print Receipt"
175
  msgstr ""
176
 
177
+ #: includes/class-wcdn-print.php:134
178
+ msgid "Print Receipts"
179
  msgstr ""
180
 
181
+ #: includes/class-wcdn-print.php:135
182
+ msgid "Receipt created."
183
  msgstr ""
184
 
185
+ #: includes/class-wcdn-print.php:136
186
+ msgid "Receipts created."
 
 
187
  msgstr ""
188
 
189
+ #: includes/class-wcdn-print.php:137
190
+ msgid "Show \"Print Receipt\" button"
 
 
 
 
191
  msgstr ""
192
 
193
+ #: includes/class-wcdn-print.php:150
194
+ msgid "Order"
195
  msgstr ""
196
 
197
+ #: includes/class-wcdn-print.php:151
198
+ msgid "Orders"
199
  msgstr ""
200
 
201
+ #: includes/class-wcdn-print.php:152
202
+ msgid "Print Order"
203
  msgstr ""
204
 
205
+ #: includes/class-wcdn-print.php:153
206
+ msgid "Print Orders"
207
  msgstr ""
208
 
209
+ #: includes/class-wcdn-print.php:168
210
+ msgid "Default"
211
  msgstr ""
212
 
213
+ #: includes/class-wcdn-writepanel.php:222
214
  msgid "Print now"
215
  msgstr ""
216
 
217
+ #: includes/class-wcdn-writepanel.php:236
218
  msgid "Order Printing"
219
  msgstr ""
220
 
221
+ #: includes/class-wcdn-writepanel.php:264
222
  msgid "Invoice number: "
223
  msgstr ""
224
 
225
+ #: includes/class-wcdn-writepanel.php:265
226
  msgid "Invoice date: "
227
  msgstr ""
228
 
229
+ #: includes/class-wcdn-settings.php:80
230
+ msgid "Do you really want to reset the counter to zero? This process can't be undone."
 
 
 
 
231
  msgstr ""
232
 
233
+ #: includes/class-wcdn-settings.php:90
234
+ #: includes/wcdn-template-functions.php:143
235
+ #: includes/class-wcdn-theme.php:68
236
+ #: includes/class-wcdn-theme.php:105
237
+ msgid "Print"
 
 
 
 
 
 
 
 
 
238
  msgstr ""
239
 
240
+ #: includes/class-wcdn-settings.php:124
241
+ msgid "Template"
242
  msgstr ""
243
 
244
+ #: includes/class-wcdn-settings.php:131
245
+ msgid "Style"
246
  msgstr ""
247
 
248
+ #. translators: %s: link to faq
249
+ #: includes/class-wcdn-settings.php:133
250
+ msgid "The default print style. Read the <a href=\"%1$s\">FAQ</a> to learn how to customize it."
251
  msgstr ""
252
 
253
+ #: includes/class-wcdn-settings.php:143
254
+ msgid "Shop Logo"
255
  msgstr ""
256
 
257
+ #: includes/class-wcdn-settings.php:149
258
+ msgid "A shop logo representing your business. When the image is printed, its pixel density will automatically be eight times higher than the original. This means, 1 printed inch will correspond to about 288 pixels on the screen."
259
  msgstr ""
260
 
261
+ #: includes/class-wcdn-settings.php:153
262
+ msgid "Shop Name"
263
  msgstr ""
264
 
265
+ #: includes/class-wcdn-settings.php:159
266
+ msgid "The shop name. Leave blank to use the default Website or Blog title defined in WordPress settings. The name will be ignored when a Logo is set."
267
  msgstr ""
268
 
269
+ #: includes/class-wcdn-settings.php:163
270
+ msgid "Shop Address"
 
 
 
271
  msgstr ""
272
 
273
+ #: includes/class-wcdn-settings.php:164
274
+ msgid "The postal address of the shop or even e-mail or telephone."
275
  msgstr ""
276
 
277
+ #: includes/class-wcdn-settings.php:173
278
+ msgid "Complimentary Close"
279
  msgstr ""
280
 
281
+ #: includes/class-wcdn-settings.php:174
282
+ msgid "Add a personal close, notes or season greetings."
 
283
  msgstr ""
284
 
285
+ #: includes/class-wcdn-settings.php:183
286
+ msgid "Policies"
 
 
287
  msgstr ""
288
 
289
+ #: includes/class-wcdn-settings.php:184
290
+ msgid "Add the shop policies, conditions, etc."
291
  msgstr ""
292
 
293
+ #: includes/class-wcdn-settings.php:193
294
+ msgid "Footer"
295
  msgstr ""
296
 
297
+ #: includes/class-wcdn-settings.php:194
298
+ msgid "Add a footer imprint, instructions, copyright notes, e-mail, telephone, etc."
299
  msgstr ""
300
 
301
+ #: includes/class-wcdn-settings.php:208
302
+ msgid "Pages & Buttons"
 
303
  msgstr ""
304
 
305
+ #: includes/class-wcdn-settings.php:215
306
+ msgid "Print Page Endpoint"
 
 
 
 
 
307
  msgstr ""
308
 
309
+ #: includes/class-wcdn-settings.php:221
310
+ msgid "The endpoint is appended to the accounts page URL to print the order. It should be unique."
 
311
  msgstr ""
312
 
313
+ #: includes/class-wcdn-settings.php:225
314
+ #: includes/wcdn-template-functions.php:301
315
+ msgid "Email"
 
 
 
316
  msgstr ""
317
 
318
+ #: includes/class-wcdn-settings.php:226
319
+ msgid "Show print link in customer emails"
 
320
  msgstr ""
321
 
322
+ #: includes/class-wcdn-settings.php:234
323
+ msgid "Show print link in Admin emails"
 
 
 
 
 
324
  msgstr ""
325
 
326
+ #: includes/class-wcdn-settings.php:238
327
+ msgid "This includes the emails for a new, processing and completed order. On top of that the customer and admin invoice emails will also include the link."
 
328
  msgstr ""
329
 
330
+ #: includes/class-wcdn-settings.php:243
331
+ msgid "My Account"
 
332
  msgstr ""
333
 
334
+ #: includes/class-wcdn-settings.php:244
335
+ msgid "Show print button on the \"View Order\" page"
 
 
 
 
336
  msgstr ""
337
 
338
+ #: includes/class-wcdn-settings.php:252
339
+ msgid "Show print buttons on the \"My Account\" page"
 
340
  msgstr ""
341
 
342
+ #: includes/class-wcdn-settings.php:272
343
+ msgid "Numbering"
 
344
  msgstr ""
345
 
346
+ #: includes/class-wcdn-settings.php:273
347
+ msgid "Create invoice numbers"
 
 
 
348
  msgstr ""
349
 
350
+ #: includes/class-wcdn-settings.php:281
351
+ msgid "Next Number"
 
352
  msgstr ""
353
 
354
+ #: includes/class-wcdn-settings.php:288
355
+ msgid "The next invoice number."
 
356
  msgstr ""
357
 
358
+ #: includes/class-wcdn-settings.php:292
359
+ msgid "Number Prefix"
 
360
  msgstr ""
361
 
362
+ #: includes/class-wcdn-settings.php:299
363
+ msgid "This text will be prepended to the invoice number."
 
364
  msgstr ""
365
 
366
+ #: includes/class-wcdn-settings.php:303
367
+ msgid "Number Suffix"
 
368
  msgstr ""
369
 
370
+ #: includes/class-wcdn-settings.php:310
371
+ msgid "This text will be appended to the invoice number."
372
  msgstr ""
373
 
374
+ #: includes/class-wcdn-settings.php:362
375
+ msgid "Admin"
 
 
 
 
 
 
 
376
  msgstr ""
377
 
378
+ #: includes/class-wcdn-settings.php:365
379
+ msgid "The print buttons are available on the order listing and on the order detail screen."
 
 
 
 
 
 
380
  msgstr ""
381
 
382
+ #. translators: %s: invoice url, delivery note url, receipt url
383
+ #: includes/class-wcdn-settings.php:408
384
+ msgid "This section lets you customise the content. You can preview the <a href=\"%1$s\" target=\"%4$s\" class=\"%5$s\">invoice</a>, <a href=\"%2$s\" target=\"%4$s\" class=\"%5$s\">delivery note</a> or <a href=\"%3$s\" target=\"%4$s\" class=\"%5$s\">receipt</a> template."
 
 
 
 
 
385
  msgstr ""
386
 
387
+ #: includes/class-wcdn-settings.php:475
388
+ msgid "Select"
 
 
 
 
 
 
389
  msgstr ""
390
 
391
+ #: includes/class-wcdn-settings.php:479
392
+ msgid "Remove"
 
 
 
 
 
 
 
393
  msgstr ""
394
 
395
+ #: includes/wcdn-template-functions.php:271
396
  msgid "Invoice Number"
397
  msgstr ""
398
 
399
+ #: includes/wcdn-template-functions.php:278
400
  msgid "Invoice Date"
401
  msgstr ""
402
 
403
+ #: includes/wcdn-template-functions.php:284
404
  msgid "Order Number"
405
  msgstr ""
406
 
407
+ #: includes/wcdn-template-functions.php:289
408
  msgid "Order Date"
409
  msgstr ""
410
 
411
+ #: includes/wcdn-template-functions.php:294
412
  msgid "Payment Method"
413
  msgstr ""
414
 
415
+ #: includes/wcdn-template-functions.php:308
416
  msgid "Telephone"
417
  msgstr ""
418
 
419
+ #: includes/wcdn-template-functions.php:349
420
  msgid "SKU:"
421
  msgstr ""
422
 
423
+ #: includes/wcdn-template-functions.php:479
 
 
 
 
 
424
  msgid "Refund"
425
  msgstr ""
426
 
427
+ #: includes/wcdn-template-functions.php:491
428
  msgid "Order Subtotal"
429
  msgstr ""
430
 
431
+ #: includes/class-wcdn-theme.php:147
432
+ msgid "Print your order"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
433
  msgstr ""
434
 
435
+ #: includes/class-wcdn-theme.php:154
436
+ msgid "Print:"
437
  msgstr ""
438
 
439
+ #: includes/class-wcdn-theme.php:154
440
+ msgid "Open print view in browser"
441
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: ashokrane, tychesoftwares, rashmim, shasvat
4
  Donate link: https://www.paypal.me/TycheSoftwares
5
  Tags: packing slips, invoice, pdf invoice, delivery notes, woocommerce print invoice, print, pdf, invoices
6
  Requires at least: 4.0
7
- Tested up to: 5.5
8
  Author URI: https://www.tychesoftwares.com/
9
  Stable tag: trunk
10
  License: GPLv3 or later
@@ -273,7 +273,7 @@ An example that adds a 40px large product image. Paste the code in the `function
273
  `
274
  function example_product_image( $product ) {
275
  if( isset( $product->id ) && has_post_thumbnail( $product->id ) ) {
276
- echo get_the_post_thumbnail( $product->id, array( 40, 40 ) );
277
  }
278
  }
279
  add_action( 'wcdn_order_item_before', 'example_product_image' );
@@ -338,6 +338,15 @@ Please [contribute your translation](https://github.com/TycheSoftwares/woocommer
338
 
339
  == Changelog ==
340
 
 
 
 
 
 
 
 
 
 
341
  = 4.6.1 (23.10.2020) =
342
 
343
  * Fix :- Tracker cron event was not running properly which is fixed now.
4
  Donate link: https://www.paypal.me/TycheSoftwares
5
  Tags: packing slips, invoice, pdf invoice, delivery notes, woocommerce print invoice, print, pdf, invoices
6
  Requires at least: 4.0
7
+ Tested up to: 5.6
8
  Author URI: https://www.tychesoftwares.com/
9
  Stable tag: trunk
10
  License: GPLv3 or later
273
  `
274
  function example_product_image( $product ) {
275
  if( isset( $product->id ) && has_post_thumbnail( $product->id ) ) {
276
+ echo get_the_post_thumbnail( $product->id, array( 40, 40 ), array( 'loading' => false ) );
277
  }
278
  }
279
  add_action( 'wcdn_order_item_before', 'example_product_image' );
338
 
339
  == Changelog ==
340
 
341
+ = 4.6.2 (12.12.2020) =
342
+
343
+ Enhancement :- Added an option to insert the print link in the admin emails.
344
+ Fix :- Strings of Bulk Printing options were not getting translated. This is fixed now. Props to @pomegranate
345
+ Fix :- Finnish language locale name was incorrect. This is fixed now.
346
+ Fix :- Custom fields on WooCommerce product page from Product Input Fields for WooCommerce plugin were not coming in the invoice. This is fixed now.
347
+ Fix :- The BULK printing options of WooCommerce DYMO Print (PRO version) stopped working after installing our Print invoices plugin. This has been fixed. Props to @pepbc
348
+ Tweak :- In FAQ page changed the code snippet to add the products image in the invoice.
349
+
350
  = 4.6.1 (23.10.2020) =
351
 
352
  * Fix :- Tracker cron event was not running properly which is fixed now.
templates/print-order/print-content.php CHANGED
@@ -192,8 +192,8 @@ if ( ! defined( 'ABSPATH' ) ) {
192
  <?php endif; ?>
193
 
194
  <?php
195
-
196
- $fields = apply_filters( 'wcdn_order_item_fields', array(), $product, $order, $item );
197
 
198
  foreach ( $fields as $field ) :
199
  ?>
192
  <?php endif; ?>
193
 
194
  <?php
195
+ wcdn_print_extra_fields( $item );
196
+ $fields = apply_filters( 'wcdn_order_item_fields', array(), $product, $order, $item );
197
 
198
  foreach ( $fields as $field ) :
199
  ?>
woocommerce-delivery-notes.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin Name: Print Invoice & Delivery Notes for WooCommerce
6
  * Plugin URI: https://www.tychesoftwares.com/
7
  * Description: Print Invoices & Delivery Notes for WooCommerce Orders.
8
- * Version: 4.6.1
9
  * Author: Tyche Softwares
10
  * Author URI: https://www.tychesoftwares.com/
11
  * License: GPLv3 or later
@@ -14,7 +14,7 @@
14
  * Domain Path: /languages
15
  * Requires PHP: 5.6
16
  * WC requires at least: 3.0.0
17
- * WC tested up to: 4.5
18
  * Tested up to: 5.5
19
  *
20
  * Copyright 2019 Tyche Softwares
5
  * Plugin Name: Print Invoice & Delivery Notes for WooCommerce
6
  * Plugin URI: https://www.tychesoftwares.com/
7
  * Description: Print Invoices & Delivery Notes for WooCommerce Orders.
8
+ * Version: 4.6.2
9
  * Author: Tyche Softwares
10
  * Author URI: https://www.tychesoftwares.com/
11
  * License: GPLv3 or later
14
  * Domain Path: /languages
15
  * Requires PHP: 5.6
16
  * WC requires at least: 3.0.0
17
+ * WC tested up to: 4.7
18
  * Tested up to: 5.5
19
  *
20
  * Copyright 2019 Tyche Softwares