Booster for WooCommerce - Version 1.5.1

Version Description

  • 14/09/2014 =
  • Dev - Custom Price Labels - textarea instead of <input type="text">.
  • Dev - Orders - Custom Order Statuses - postbox added instead of simple form.
  • Upgrade Feature - PDF Invoices - PDF invoice as attachment file in customer's email (order completed). Idea by Jen.
  • Dev - PDF Invoices - If displaying shipping as item, option for adding shipping method text, added. Suggested by Tomas.
Download this release

Release Info

Developer algoritmika
Plugin Icon 128x128 Booster for WooCommerce
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.4.0 to 1.5.1

includes/class-wcj-orders.php CHANGED
@@ -5,59 +5,97 @@
5
  * The WooCommerce Jetpack Orders class.
6
  *
7
  * @class WCJ_Orders
8
- * @version 1.1.0
9
  * @category Class
10
- * @author Algoritmika Ltd.
11
  */
12
-
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
-
15
  if ( ! class_exists( 'WCJ_Orders' ) ) :
16
-
17
  class WCJ_Orders {
18
-
19
  /**
20
  * Constructor.
21
  */
22
  public function __construct() {
23
-
 
 
 
 
 
 
 
 
 
 
 
24
  // Main hooks
25
  if ( get_option( 'wcj_orders_enabled' ) == 'yes' ) {
26
-
27
- if ( get_option( 'wcj_order_numbers_enabled' ) == 'yes' ) {
28
-
29
- add_action( 'woocommerce_new_order', array( $this, 'add_order_number_meta' ), 100 );
30
- add_filter( 'woocommerce_order_number', array( $this, 'display_order_number' ), 100, 2 );
31
-
32
- add_action( 'admin_menu', array( $this, 'add_renumerate_orders_tool' ), 100 );
33
- }
34
-
35
- if ( get_option( 'wcj_order_minimum_amount' ) > 0 ) {
36
  add_action( 'woocommerce_checkout_process', array( $this, 'order_minimum_amount' ) );
37
- add_action( 'woocommerce_before_cart', array( $this, 'order_minimum_amount' ) );
38
  }
39
-
40
  if ( 'yes' === get_option( 'wcj_orders_custom_statuses_enabled' ) ) {
41
- //add_action( 'admin_menu', array( $this, 'add_custom_statuses_tool' ), 100 );
42
- add_action( 'admin_head', array( $this, 'hook_statuses_icons_css' ) );
43
- add_filter( 'wcj_tools_tabs', array( $this, 'add_custom_statuses_tool_tab' ), 100 );
44
- add_action( 'wcj_tools_custom_statuses', array( $this, 'create_custom_statuses_tool' ), 100 );
 
45
  }
46
- add_action( 'wcj_tools_dashboard', array( $this, 'add_custom_statuses_tool_info_to_tools_dashboard' ), 100 );
47
-
48
  if ( 'yes' === get_option( 'wcj_order_auto_complete_enabled' ) )
49
- add_action( 'woocommerce_thankyou', array( $this, 'auto_complete_order' ) );
50
  }
51
-
52
- // woocommerce_admin_field_text_and_button / add_text_and_button_settings_fields
53
- //add_action( 'woocommerce_admin_field_text_and_button', array( $this, 'add_text_and_button_settings_fields' ) );
54
-
55
  // Settings hooks
56
- add_filter( 'wcj_settings_sections', array( $this, 'settings_section' ) );
57
- add_filter( 'wcj_settings_orders', array( $this, 'get_settings' ), 100 );
58
- add_filter( 'wcj_features_status', array( $this, 'add_enabled_option' ), 100 );
59
  }
60
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  /**
62
  * add_custom_statuses_tool_info_to_tools_dashboard.
63
  */
@@ -67,151 +105,80 @@ class WCJ_Orders {
67
  else
68
  echo '<h3>Custom Statuses tool is disabled.</h3>';
69
  echo '<p>The tool lets you add or delete any custom status for WooCommerce orders.</p>';
70
- }
71
-
72
  /**
73
  * add_custom_statuses_tool_tab.
74
  */
75
  public function add_custom_statuses_tool_tab( $tabs ) {
76
  $tabs[] = array(
77
  'id' => 'custom_statuses',
78
- 'title' => __( 'Custom Statuses', 'woocommerce-jetpack' ),
79
  );
80
  return $tabs;
81
- }
82
-
83
- /**
84
- * Auto Complete all WooCommerce orders.
85
- */
86
- public function auto_complete_order( $order_id ) {
87
-
88
- global $woocommerce;
89
-
90
- if ( !$order_id )
91
- return;
92
- $order = new WC_Order( $order_id );
93
- $order->update_status( 'completed' );
94
- }
95
 
96
  /**
97
- * order_minimum_amount.
 
98
  */
99
- public function order_minimum_amount() {
100
-
101
- $minimum = get_option( 'wcj_order_minimum_amount' );
102
- if ( WC()->cart->total < $minimum ) {
103
-
104
- if( is_cart() ) {
105
- if ( 'yes' === get_option( 'wcj_order_minimum_amount_cart_notice_enabled' ) ) {
106
- wc_print_notice(
107
- sprintf( apply_filters( 'wcj_get_option_filter', 'You must have an order with a minimum of %s to place your order, your current order total is %s.', get_option( 'wcj_order_minimum_amount_cart_notice_message' ) ),
108
- woocommerce_price( $minimum ),
109
- woocommerce_price( WC()->cart->total )
110
- ), 'notice'
111
- );
112
- }
113
- } else {
114
- wc_add_notice(
115
- sprintf( apply_filters( 'wcj_get_option_filter', 'You must have an order with a minimum of %s to place your order, your current order total is %s.', get_option( 'wcj_order_minimum_amount_error_message' ) ),
116
- woocommerce_price( $minimum ),
117
- woocommerce_price( WC()->cart->total )
118
- ), 'error'
119
- );
120
- }
121
- }
122
- }
123
-
124
- /**
125
- * add_custom_statuses_tool to WooCommerce menu (menu link).
126
- *
127
- public function add_custom_statuses_tool() {
128
-
129
- add_submenu_page( 'woocommerce', 'Jetpack - Custom Statuses', 'Custom Statuses', 'manage_options', 'woocommerce-jetpack-custom-statuses', array( $this, 'create_custom_statuses_tool' ) );
130
- }
131
-
132
- /**
133
- * add_custom_statuses_tool to WooCommerce menu (the content).
134
- */
135
-
136
-
137
- // TODO: content, color
138
  public function hook_statuses_icons_css() {
139
  $output = '<style>';
140
-
141
-
142
- $default_statuses = array(
143
- 'pending',
144
- 'failed',
145
- 'on-hold',
146
- 'processing',
147
- 'completed',
148
- 'refunded',
149
- 'cancelled',
150
- );
151
- $statuses = (array) get_terms( 'shop_order_status', array( 'hide_empty' => 0, 'orderby' => 'id' ) );
152
- foreach( $statuses as $status )
153
- if ( ! in_array( $status->slug, $default_statuses ) ) {
154
- $output .= 'mark.' . $status->slug . '::after { content: "\e011"; color: #999; }';
155
- $output .= 'mark.' . $status->slug . ':after {font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}';
156
  }
157
-
158
-
159
- //$output .= '.close { .ir;&:before { .icon("\e013"); }}';
160
- //$output .= '.close:before { .iconbefore("\e02d"); }';
161
  $output .= '.close:after { content: "\e011"; }';
162
-
163
  $output .= '</style>';
164
  echo $output;
165
  }
166
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  public function create_custom_statuses_tool() {
168
-
169
  $result_message = '';
170
- if ( isset( $_POST['add_custom_status'] ) && isset( $_POST['new_status'] ) ) {
171
- //$this->renumerate_orders();
172
- if ( $_POST['new_status'] != '' ) {
173
-
174
- $result = wp_insert_term( $_POST['new_status'], 'shop_order_status' );//, array( 'color' => '#999', ) );
175
- if ( $result > 0 ) $result_message = '<div class="updated"><p>' . __( 'New status have been successfully added!', 'woocommerce-jetpack' ) . '</p></div>';
176
- else $result_message = '<div class="error"><p>' . __( 'Status was not added.', 'woocommerce-jetpack' ) . '</p></div>';
177
- //$result_message = '<div class="updated"><p><strong>' . $_POST['new_status'] . ':' . $_POST['add_custom_status'] . '</strong></p></div>';
178
-
179
- }
180
- else $result_message = '<div class="error"><p>' . __( 'Status name is empty. Status not added.', 'woocommerce-jetpack' ) . '</p></div>';
181
- }
182
-
183
- if ( isset( $_GET['delete'] ) && ( $_GET['delete'] > 0 ) ) {
184
- if ( true === wp_delete_term( $_GET['delete'], 'shop_order_status' ) )
185
  $result_message = '<div class="updated"><p>' . __( 'Status have been successfully deleted.', 'woocommerce-jetpack' ) . '</p></div>';
186
  else
187
  $result_message = '<div class="error"><p>' . __( 'Delete failed.', 'woocommerce-jetpack' ) . '</p></div>';
188
  }
189
-
190
- /*
191
- stdClass Object
192
- (
193
- [term_id] => 6
194
- [name] => pending
195
- [slug] => pending
196
- [term_group] => 0
197
- [term_taxonomy_id] => 6
198
- [taxonomy] => shop_order_status
199
- [description] =>
200
- [parent] => 0
201
- [count] => 0
202
- )
203
- */
204
-
205
- $default_statuses = array(
206
- 'pending',
207
- 'failed',
208
- 'on-hold',
209
- 'processing',
210
- 'completed',
211
- 'refunded',
212
- 'cancelled',
213
- );
214
-
215
  ?><div>
216
  <h2><?php echo __( 'WooCommerce Jetpack - Custom Statuses', 'woocommerce-jetpack' ); ?></h2>
217
  <p><?php echo __( 'The tool lets you add or delete any custom status for WooCommerce orders.', 'woocommerce-jetpack' ); ?></p>
@@ -219,60 +186,94 @@ class WCJ_Orders {
219
  <h3><?php echo __( 'Statuses', 'woocommerce-jetpack' ); ?></h3>
220
  <table class="wc_status_table widefat"><?php
221
  echo '<tr>';
222
- echo '<th>' . __( 'Term ID', 'woocommerce-jetpack' ) . '</th>';
223
- echo '<th>' . __( 'Name', 'woocommerce-jetpack' ) . '</th>';
224
  echo '<th>' . __( 'Slug', 'woocommerce-jetpack' ) . '</th>';
225
- echo '<th>' . __( 'Count', 'woocommerce-jetpack' ) . '</th>';
 
226
  echo '<th>' . __( 'Delete', 'woocommerce-jetpack' ) . '</th>';
227
  echo '</tr>';
228
- $statuses = (array) get_terms( 'shop_order_status', array( 'hide_empty' => 0, 'orderby' => 'id' ) );
229
- foreach( $statuses as $status ) {
230
- echo '<tr>';
231
- echo '<td>' . $status->term_id . '</td>';
232
- echo '<td>' . $status->name . '</td>';
233
- echo '<td>' . $status->slug . '</td>';
234
- echo '<td>' . $status->count . '</td>';
235
- if ( in_array( $status->slug, $default_statuses ) )
236
- echo '<td></td>';
237
- else
238
- echo '<td>' . '<a href="' . add_query_arg( 'delete', $status->term_id ) . '">' . __( 'Delete', 'woocommerce-jetpack' ) . '</a>' . '</td>';
239
- echo '</tr>';
240
- }
241
  ?></table>
242
- <p><form method="post" action="<?php echo remove_query_arg( 'delete' ); ?>">
243
- <input type="text" name="new_status">
244
- <input type="submit" name="add_custom_status" value="Add new custom status">
245
- </form></p>
246
- </div><?php
247
- }
248
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  /**
250
- * Add Renumerate Orders tool to WooCommerce menu (menu link).
251
- */
252
- public function add_renumerate_orders_tool() {
 
 
 
 
 
253
 
254
- add_submenu_page( 'woocommerce', 'Jetpack - Renumerate Orders', 'Renumerate Orders', 'manage_options', 'woocommerce-jetpack-renumerate-orders', array( $this, 'create_renumerate_orders_tool' ) );
 
 
 
 
 
 
 
 
255
  }
256
-
 
 
 
 
 
 
 
 
 
 
 
257
  /**
258
  * Add Renumerate Orders tool to WooCommerce menu (the content).
259
- */
260
  public function create_renumerate_orders_tool() {
261
-
262
  $result_message = '';
263
- if ( isset( $_POST['renumerate_orders'] ) ) {
264
  $this->renumerate_orders();
265
  $result_message = '<div class="updated"><p><strong>Orders successfully renumerated!</strong></p></div>';
266
  }
267
- ?><?php echo $result_message; ?>
268
- <div>
269
- <h2>WooCommerce Jetpack - Renumerate Orders</h2>
270
- <p>The tool renumerates all orders. Press the button below to renumerate all existing orders starting from order counter settings in WooCommerce > Settings > Jetpack > Order Numbers.</p>
271
  <form method="post" action="">
272
- <input type="submit" name="renumerate_orders" value="Renumerate orders">
273
  </form>
274
- </div><?php
275
- }
276
 
277
  /**
278
  * Add/update order_number meta to order.
@@ -280,78 +281,103 @@ class WCJ_Orders {
280
  public function add_order_number_meta( $order_id ) {
281
 
282
  $current_order_number = get_option( 'wcj_order_number_counter' );
 
283
  update_option( 'wcj_order_number_counter', ( $current_order_number + 1 ) );
284
  update_post_meta( $order_id, '_wcj_order_number', $current_order_number );
285
  }
286
-
287
- /**
288
- * Display order number.
289
- *
290
- public function display_order_number( $order_number, $order ) {
291
-
292
- $order_number_meta = get_post_meta( $order->id, '_wcj_order_number', true );
293
- if ( $order_number_meta !== '' )
294
- $order_number = '#' . $order_number_meta;
295
-
296
- return $order_number;
297
- }
298
-
299
- /**
300
- * Display order number.
301
- */
302
- public function display_order_number( $order_number, $order ) {
303
-
304
- $order_number_meta = get_post_meta( $order->id, '_wcj_order_number', true );
305
- if ( $order_number_meta !== '' )
306
- $order_number = apply_filters( 'wcj_get_option_filter', '#' . $order_number_meta, sprintf( '%s%0' . get_option( 'wcj_order_number_min_width', 0 ) . 'd', get_option( 'wcj_order_number_prefix', '' ), $order_number_meta ) );
307
-
308
- return $order_number;
309
- }
310
-
311
  /**
312
  * Renumerate orders function.
313
- */
314
  public function renumerate_orders() {
315
-
316
  $args = array(
317
  'post_type' => 'shop_order',
318
- 'post_status' => 'publish',
319
  'posts_per_page' => -1,
320
  'orderby' => 'date',
321
  'order' => 'ASC',
322
  );
323
-
324
  $loop = new WP_Query( $args );
325
-
326
  while ( $loop->have_posts() ) : $loop->the_post();
327
-
328
  $order_id = $loop->post->ID;
329
  $this->add_order_number_meta( $order_id );
330
-
331
  endwhile;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  }
333
-
 
334
  /**
335
  * Add Enabled option to Jetpack Dashboard.
336
  */
337
  public function add_enabled_option( $settings ) {
338
-
339
  $all_settings = $this->get_settings();
340
  $settings[] = $all_settings[1];
341
-
342
  return $settings;
343
  }
344
-
345
  /**
346
  * Add settings arrays to Jetpack Settings.
347
- */
348
  function get_settings() {
349
-
350
  $settings = array(
351
-
352
  //This first section\'s checkbox enables/disables all options below.
353
  array( 'title' => __( 'Orders Options', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( '', 'woocommerce-jetpack' ), 'id' => 'wcj_orders_options' ),
354
-
355
  array(
356
  'title' => __( 'Orders', 'woocommerce-jetpack' ),
357
  'desc' => __( 'Enable the Orders feature', 'woocommerce-jetpack' ),
@@ -359,12 +385,12 @@ class WCJ_Orders {
359
  'id' => 'wcj_orders_enabled',
360
  'default' => 'yes',
361
  'type' => 'checkbox',
362
- ),
363
-
364
  array( 'type' => 'sectionend', 'id' => 'wcj_orders_options' ),
365
 
366
  array( 'title' => __( 'Order Numbers', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( 'This section lets you enable sequential order numbering, set custom number prefix and width.', 'woocommerce-jetpack' ), 'id' => 'wcj_order_numbers_options' ),
367
-
368
  array(
369
  'title' => __( 'Order Numbers', 'woocommerce-jetpack' ),
370
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
@@ -372,14 +398,14 @@ class WCJ_Orders {
372
  'default' => 'no',
373
  'type' => 'checkbox',
374
  ),
375
-
376
  array(
377
  'title' => __( 'Next Order Number', 'woocommerce-jetpack' ),
378
  'desc' => __( 'Next new order will be given this number.', 'woocommerce-jetpack' ),
379
  'id' => 'wcj_order_number_counter',
380
  'default' => 1,
381
  'type' => 'number',
382
- ),
383
 
384
  array(
385
  'title' => __( 'Order Number Prefix', 'woocommerce-jetpack' ),
@@ -388,32 +414,32 @@ class WCJ_Orders {
388
  'id' => 'wcj_order_number_prefix',
389
  'default' => '#',
390
  'type' => 'text',
391
- 'custom_attributes'
392
- => apply_filters( 'get_wc_jetpack_plus_message', '', 'readonly' ),
393
  ),
394
 
395
  array(
396
  'title' => __( 'Order Number Width', 'woocommerce-jetpack' ),
397
  'desc' => apply_filters( 'get_wc_jetpack_plus_message', '', 'desc' ),
398
- 'desc_tip' => __( 'Minimum width of number without prefix (zeros will be added to the left side). This will change the minimum width of order number for all existing orders. E.g. set to 5 to have order number displayed as 00001 instead of 1. Leave zero to disable.', 'woocommerce-jetpack' ),
399
  'id' => 'wcj_order_number_min_width',
400
  'default' => 0,
401
  'type' => 'number',
402
- 'custom_attributes'
403
- => apply_filters( 'get_wc_jetpack_plus_message', '', 'readonly' ),
404
- ),
405
-
406
  array( 'type' => 'sectionend', 'id' => 'wcj_order_numbers_options' ),
407
-
408
  array( 'title' => __( 'Order Minimum Amount', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( 'This section lets you set minimum order amount.', 'woocommerce-jetpack' ), 'id' => 'wcj_order_minimum_amount_options' ),
409
-
410
  array(
411
  'title' => __( 'Amount', 'woocommerce-jetpack' ),
412
  'desc' => __( 'Minimum order amount. Set to 0 to disable.', 'woocommerce-jetpack' ),
413
  'id' => 'wcj_order_minimum_amount',
414
  'default' => 0,
415
  'type' => 'number',
416
- ),
417
 
418
  array(
419
  'title' => __( 'Error message', 'woocommerce-jetpack' ),
@@ -422,18 +448,18 @@ class WCJ_Orders {
422
  'id' => 'wcj_order_minimum_amount_error_message',
423
  'default' => 'You must have an order with a minimum of %s to place your order, your current order total is %s.',
424
  'type' => 'text',
425
- 'custom_attributes'
426
  => apply_filters( 'get_wc_jetpack_plus_message', '', 'readonly' ),
427
  'css' => 'width:50%;min-width:300px;',
428
  ),
429
-
430
  array(
431
  'title' => __( 'Add notice to cart page also', 'woocommerce-jetpack' ),
432
  'desc' => __( 'Add', 'woocommerce-jetpack' ),
433
  'id' => 'wcj_order_minimum_amount_cart_notice_enabled',
434
  'default' => 'no',
435
  'type' => 'checkbox',
436
- ),
437
 
438
  array(
439
  'title' => __( 'Message on cart page', 'woocommerce-jetpack' ),
@@ -442,15 +468,15 @@ class WCJ_Orders {
442
  'id' => 'wcj_order_minimum_amount_cart_notice_message',
443
  'default' => 'You must have an order with a minimum of %s to place your order, your current order total is %s.',
444
  'type' => 'text',
445
- 'custom_attributes'
446
  => apply_filters( 'get_wc_jetpack_plus_message', '', 'readonly' ),
447
  'css' => 'width:50%;min-width:300px;',
448
- ),
449
-
450
  array( 'type' => 'sectionend', 'id' => 'wcj_order_minimum_amount_options' ),
451
 
452
  array( 'title' => __( 'Orders Auto-Complete', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( 'This section lets you enable orders auto-complete function.', 'woocommerce-jetpack' ), 'id' => 'wcj_order_auto_complete_options' ),
453
-
454
  array(
455
  'title' => __( 'Auto-complete all WooCommerce orders', 'woocommerce-jetpack' ),
456
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
@@ -458,12 +484,12 @@ class WCJ_Orders {
458
  'id' => 'wcj_order_auto_complete_enabled',
459
  'default' => 'no',
460
  'type' => 'checkbox',
461
- ),
462
-
463
  array( 'type' => 'sectionend', 'id' => 'wcj_order_auto_complete_options' ),
464
 
465
  array( 'title' => __( 'Custom Statuses', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( 'This section lets you enable custom statuses tool.', 'woocommerce-jetpack' ), 'id' => 'wcj_orders_custom_statuses_options' ),
466
-
467
  array(
468
  'title' => __( 'Custom Statuses', 'woocommerce-jetpack' ),
469
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
@@ -471,69 +497,24 @@ class WCJ_Orders {
471
  'id' => 'wcj_orders_custom_statuses_enabled',
472
  'default' => 'yes',
473
  'type' => 'checkbox',
474
- ),
475
-
476
- array( 'type' => 'sectionend', 'id' => 'wcj_orders_custom_statuses_options' ),
477
-
478
  );
479
-
480
- /*
481
- $settings[] = array(
482
- 'title' => __( 'Add new custom status', 'woocommerce-jetpack' ),
483
- //'desc' => __( 'Enable Custom Statuses', 'woocommerce-jetpack' ),
484
- //'desc_tip' => __( 'Sequential order numbering, custom order number prefix and number width. Minimum order amount.', 'woocommerce-jetpack' ),
485
- 'id' => 'wcj_orders_custom_statuses_add',
486
- 'default' => '',
487
- 'type' => 'text_and_button',
488
-
489
- 'button_value' => 'Add',
490
- /*'form_name' => '',
491
- 'form_action' => '',
492
- 'form_method' => 'post',*//*
493
- );
494
- */
495
-
496
  return $settings;
497
  }
498
-
499
- /**
500
- * add_text_and_button_settings_fields.
501
- *
502
- function add_text_and_button_settings_fields( $value ) {
503
- ?><tr valign="top">
504
- <th scope="row" class="titledesc">
505
- <label for="<?php echo esc_attr( $value['id'] ) . '_text'; ?>"><?php echo esc_html( $value['title'] ); ?></label>
506
- <?php /*echo $tip;*//* ?>
507
- </th>
508
- <td class="forminp forminp-text">
509
- <form
510
- name="<?php echo esc_attr( $value['id'] ) . '_form'; ?>"
511
- action=""
512
- method="get">
513
- <input
514
- name="<?php echo esc_attr( $value['id'] ) . '_text'; ?>"
515
- id="<?php echo esc_attr( $value['id'] ) . '_text'; ?>"
516
- type="text"
517
- style="<?php echo esc_attr( $value['css'] ); ?>"
518
- <?php /*value="<?php echo esc_attr( $option_value ); ?>"*//* ?>
519
- class="<?php echo esc_attr( $value['class'] ); ?>"
520
- <?php /*echo implode( ' ', $custom_attributes );*//* ?>
521
- /> <?php /*echo $description;*//* ?>
522
- <input type="submit" value="<?php echo esc_attr( $value['button_value'] ); ?>">
523
- </form>
524
- </td>
525
- </tr><?php
526
- }
527
-
528
  /**
529
  * Add settings section to WooCommerce > Settings > Jetpack.
530
  */
531
- function settings_section( $sections ) {
532
- $sections['orders'] = 'Orders';
533
  return $sections;
534
- }
535
  }
536
-
537
  endif;
538
-
539
  return new WCJ_Orders();
5
  * The WooCommerce Jetpack Orders class.
6
  *
7
  * @class WCJ_Orders
8
+ * @version 1.3.2
9
  * @category Class
10
+ * @author Algoritmika Ltd.
11
  */
12
+
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
+
15
  if ( ! class_exists( 'WCJ_Orders' ) ) :
16
+
17
  class WCJ_Orders {
18
+
19
  /**
20
  * Constructor.
21
  */
22
  public function __construct() {
23
+
24
+ // Variables
25
+ $this->default_statuses = array(
26
+ 'wc-pending' => _x( 'Pending payment', 'Order status', 'woocommerce' ),
27
+ 'wc-processing' => _x( 'Processing', 'Order status', 'woocommerce' ),
28
+ 'wc-on-hold' => _x( 'On hold', 'Order status', 'woocommerce' ),
29
+ 'wc-completed' => _x( 'Completed', 'Order status', 'woocommerce' ),
30
+ 'wc-cancelled' => _x( 'Cancelled', 'Order status', 'woocommerce' ),
31
+ 'wc-refunded' => _x( 'Refunded', 'Order status', 'woocommerce' ),
32
+ 'wc-failed' => _x( 'Failed', 'Order status', 'woocommerce' ),
33
+ );
34
+
35
  // Main hooks
36
  if ( get_option( 'wcj_orders_enabled' ) == 'yes' ) {
37
+
38
+ if ( 'yes' === get_option( 'wcj_order_numbers_enabled' ) ) {
39
+ add_action( 'woocommerce_new_order', array( $this, 'add_order_number_meta' ), 100 );
40
+ add_filter( 'woocommerce_order_number', array( $this, 'display_order_number' ), 100, 2 );
41
+ add_filter( 'wcj_tools_tabs', array( $this, 'add_renumerate_orders_tool_tab' ), 100 );
42
+ add_action( 'wcj_tools_renumerate_orders', array( $this, 'create_renumerate_orders_tool' ), 100 );
43
+ }
44
+ add_action( 'wcj_tools_dashboard', array( $this, 'add_renumerate_orders_tool_info_to_tools_dashboard' ), 100 );
45
+
46
+ if ( get_option( 'wcj_order_minimum_amount' ) > 0 ) {
47
  add_action( 'woocommerce_checkout_process', array( $this, 'order_minimum_amount' ) );
48
+ add_action( 'woocommerce_before_cart', array( $this, 'order_minimum_amount' ) );
49
  }
50
+
51
  if ( 'yes' === get_option( 'wcj_orders_custom_statuses_enabled' ) ) {
52
+ add_filter( 'wc_order_statuses', array( $this, 'add_custom_statuses_to_filter' ), 100 );
53
+ add_action( 'init', array( $this, 'register_custom_post_statuses' ) );
54
+ add_action( 'admin_head', array( $this, 'hook_statuses_icons_css' ) );
55
+ add_filter( 'wcj_tools_tabs', array( $this, 'add_custom_statuses_tool_tab' ), 100 );
56
+ add_action( 'wcj_tools_custom_statuses', array( $this, 'create_custom_statuses_tool' ), 100 );
57
  }
58
+ add_action( 'wcj_tools_dashboard', array( $this, 'add_custom_statuses_tool_info_to_tools_dashboard' ), 100 );
59
+
60
  if ( 'yes' === get_option( 'wcj_order_auto_complete_enabled' ) )
61
+ add_action( 'woocommerce_thankyou', array( $this, 'auto_complete_order' ) );
62
  }
63
+
 
 
 
64
  // Settings hooks
65
+ add_filter( 'wcj_settings_sections', array( $this, 'settings_section' ) );
66
+ add_filter( 'wcj_settings_orders', array( $this, 'get_settings' ), 100 );
67
+ add_filter( 'wcj_features_status', array( $this, 'add_enabled_option' ), 100 );
68
  }
69
+
70
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
71
+ // CUSTOM STATUSES //
72
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
73
+ /**
74
+ * register_custom_post_statuses.
75
+ */
76
+ public function register_custom_post_statuses() {
77
+ $wcj_orders_custom_statuses_array = ( '' == get_option( 'wcj_orders_custom_statuses_array' ) ) ? array() : get_option( 'wcj_orders_custom_statuses_array' );
78
+ foreach ( $wcj_orders_custom_statuses_array as $slug => $label )
79
+ register_post_status( $slug, array(
80
+ 'label' => $label,
81
+ 'public' => true,
82
+ 'exclude_from_search' => false,
83
+ 'show_in_admin_all_list' => true,
84
+ 'show_in_admin_status_list' => true,
85
+ 'label_count' => _n_noop( $label . ' <span class="count">(%s)</span>', $label . ' <span class="count">(%s)</span>' ),
86
+ )
87
+ );
88
+ }
89
+
90
+ /**
91
+ * add_custom_statuses_to_filter.
92
+ */
93
+ public function add_custom_statuses_to_filter( $order_statuses ) {
94
+ $wcj_orders_custom_statuses_array = ( '' == get_option( 'wcj_orders_custom_statuses_array' ) ) ? array() : get_option( 'wcj_orders_custom_statuses_array' );
95
+ $order_statuses = ( '' == $order_statuses ) ? array() : $order_statuses;
96
+ return array_merge( $order_statuses, $wcj_orders_custom_statuses_array );
97
+ }
98
+
99
  /**
100
  * add_custom_statuses_tool_info_to_tools_dashboard.
101
  */
105
  else
106
  echo '<h3>Custom Statuses tool is disabled.</h3>';
107
  echo '<p>The tool lets you add or delete any custom status for WooCommerce orders.</p>';
108
+ }
109
+
110
  /**
111
  * add_custom_statuses_tool_tab.
112
  */
113
  public function add_custom_statuses_tool_tab( $tabs ) {
114
  $tabs[] = array(
115
  'id' => 'custom_statuses',
116
+ 'title' => __( 'Custom Statuses', 'woocommerce-jetpack' ),
117
  );
118
  return $tabs;
119
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
120
 
121
  /**
122
+ * hook_statuses_icons_css.
123
+ * TODO: content, color
124
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  public function hook_statuses_icons_css() {
126
  $output = '<style>';
127
+ $statuses = function_exists( 'wc_get_order_statuses' ) ? wc_get_order_statuses() : array();
128
+ foreach( $statuses as $status => $status_name ) {
129
+ if ( ! array_key_exists( $status, $this->default_statuses ) ) {
130
+ $output .= 'mark.' . substr( $status, 3 ) . '::after { content: "\e011"; color: #999; }';
131
+ $output .= 'mark.' . substr( $status, 3 ) . ':after {font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}';
 
 
 
 
 
 
 
 
 
 
 
132
  }
133
+ }
 
 
 
134
  $output .= '.close:after { content: "\e011"; }';
 
135
  $output .= '</style>';
136
  echo $output;
137
  }
138
+
139
+ /**
140
+ * Add new custom status to wcj_orders_custom_statuses_array.
141
+ */
142
+ public function add_custom_status( $new_status, $new_status_label ) {
143
+
144
+ // Checking function arguments
145
+ if ( ! isset( $new_status ) || '' == $new_status )
146
+ return '<div class="error"><p>' . __( 'Status slug is empty. Status not added.', 'woocommerce-jetpack' ) . '</p></div>';
147
+ if ( ! isset( $new_status_label ) || '' == $new_status_label )
148
+ return '<div class="error"><p>' . __( 'Status label is empty. Status not added.', 'woocommerce-jetpack' ) . '</p></div>';
149
+
150
+ // Checking status
151
+ $statuses_updated = ( '' == get_option( 'wcj_orders_custom_statuses_array' ) ) ? array() : get_option( 'wcj_orders_custom_statuses_array' );
152
+ $new_key = 'wc-' . $_POST['new_status'];
153
+ if ( isset( $statuses_updated[$new_key] ) )
154
+ return '<div class="error"><p>' . __( 'Duplicate slug. Status not added.', 'woocommerce-jetpack' ) . '</p></div>';
155
+ $statuses_updated[$new_key] = $_POST['new_status_label'];
156
+
157
+ // Adding custom status
158
+ $result = update_option( 'wcj_orders_custom_statuses_array', $statuses_updated );
159
+ if ( true === $result )
160
+ return '<div class="updated"><p>' . __( 'New status have been successfully added!', 'woocommerce-jetpack' ) . '</p></div>';
161
+ else
162
+ return '<div class="error"><p>' . __( 'Status was not added.', 'woocommerce-jetpack' ) . '</p></div>';
163
+ }
164
+
165
+ /**
166
+ * create_custom_statuses_tool.
167
+ */
168
  public function create_custom_statuses_tool() {
169
+
170
  $result_message = '';
171
+ if ( isset( $_POST['add_custom_status'] ) )
172
+ $result_message = $this->add_custom_status( $_POST['new_status'], $_POST['new_status_label'] );
173
+ else if ( isset( $_GET['delete'] ) && ( '' != $_GET['delete'] ) ) {
174
+ $statuses_updated = apply_filters( 'wc_order_statuses', $statuses_updated );
175
+ unset( $statuses_updated[ $_GET['delete'] ] );
176
+ $result = update_option( 'wcj_orders_custom_statuses_array', $statuses_updated );
177
+ if ( true === $result )
 
 
 
 
 
 
 
 
178
  $result_message = '<div class="updated"><p>' . __( 'Status have been successfully deleted.', 'woocommerce-jetpack' ) . '</p></div>';
179
  else
180
  $result_message = '<div class="error"><p>' . __( 'Delete failed.', 'woocommerce-jetpack' ) . '</p></div>';
181
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  ?><div>
183
  <h2><?php echo __( 'WooCommerce Jetpack - Custom Statuses', 'woocommerce-jetpack' ); ?></h2>
184
  <p><?php echo __( 'The tool lets you add or delete any custom status for WooCommerce orders.', 'woocommerce-jetpack' ); ?></p>
186
  <h3><?php echo __( 'Statuses', 'woocommerce-jetpack' ); ?></h3>
187
  <table class="wc_status_table widefat"><?php
188
  echo '<tr>';
 
 
189
  echo '<th>' . __( 'Slug', 'woocommerce-jetpack' ) . '</th>';
190
+ echo '<th>' . __( 'Label', 'woocommerce-jetpack' ) . '</th>';
191
+ //echo '<th>' . __( 'Count', 'woocommerce-jetpack' ) . '</th>';
192
  echo '<th>' . __( 'Delete', 'woocommerce-jetpack' ) . '</th>';
193
  echo '</tr>';
194
+ $statuses = function_exists( 'wc_get_order_statuses' ) ? wc_get_order_statuses() : array();
195
+ foreach( $statuses as $status => $status_name ) {
196
+ echo '<tr>';
197
+ echo '<td>' . esc_attr( $status ) . '</td>';
198
+ echo '<td>' . esc_html( $status_name ) . '</td>';
199
+ if ( array_key_exists( $status, $this->default_statuses ) )
200
+ echo '<td></td>';
201
+ else
202
+ echo '<td>' . '<a href="' . add_query_arg( 'delete', $status ) . '">' . __( 'Delete', 'woocommerce-jetpack' ) . '</a>' . '</td>';
203
+ echo '</tr>';
204
+ }
 
 
205
  ?></table>
206
+ <p></p>
207
+ </div><?php
208
+ ?><div class="metabox-holder" style="width:300px;">
209
+ <div class="postbox">
210
+ <h3 class="hndle"><span>Add</span></h3>
211
+ <div class="inside">
212
+ <form method="post" action="<?php echo remove_query_arg( 'delete' ); ?>">
213
+ <ul>
214
+ <li><?php _e( 'Slug (without wc- prefix)', 'woocommerce-jetpack' ); ?><input type="text" name="new_status" style="width:100%;"></li>
215
+ <li><?php _e( 'Label', 'woocommerce-jetpack' ); ?><input type="text" name="new_status_label" style="width:100%;"></li>
216
+ </ul>
217
+ <input class="button-primary" type="submit" name="add_custom_status" value="Add new custom status">
218
+ </form>
219
+ </div>
220
+ </div>
221
+ </div><?php
222
+ }
223
+
224
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
225
+ // ORDERS NUMBERS //
226
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
227
  /**
228
+ * Display order number.
229
+ */
230
+ public function display_order_number( $order_number, $order ) {
231
+ $order_number_meta = get_post_meta( $order->id, '_wcj_order_number', true );
232
+ if ( $order_number_meta !== '' )
233
+ $order_number = apply_filters( 'wcj_get_option_filter', '#' . $order_number_meta, sprintf( '%s%0' . get_option( 'wcj_order_number_min_width', 0 ) . 'd', get_option( 'wcj_order_number_prefix', '' ), $order_number_meta ) );
234
+ return $order_number;
235
+ }
236
 
237
+ /**
238
+ * add_renumerate_orders_tool_info_to_tools_dashboard.
239
+ */
240
+ public function add_renumerate_orders_tool_info_to_tools_dashboard() {
241
+ if ( 'yes' === get_option( 'wcj_order_numbers_enabled' ) )
242
+ echo '<h3>Orders Renumerate tool is enabled.</h3>';
243
+ else
244
+ echo '<h3>Orders Renumerate tool is disabled.</h3>';
245
+ echo '<p>' . __( 'The tool renumerates all orders.', 'woocommerce-jetpack' ) . '</p>';
246
  }
247
+
248
+ /**
249
+ * add_renumerate_orders_tool_tab.
250
+ */
251
+ public function add_renumerate_orders_tool_tab( $tabs ) {
252
+ $tabs[] = array(
253
+ 'id' => 'renumerate_orders',
254
+ 'title' => __( 'Renumerate orders', 'woocommerce-jetpack' ),
255
+ );
256
+ return $tabs;
257
+ }
258
+
259
  /**
260
  * Add Renumerate Orders tool to WooCommerce menu (the content).
261
+ */
262
  public function create_renumerate_orders_tool() {
 
263
  $result_message = '';
264
+ if ( isset( $_POST['renumerate_orders'] ) ) {
265
  $this->renumerate_orders();
266
  $result_message = '<div class="updated"><p><strong>Orders successfully renumerated!</strong></p></div>';
267
  }
268
+ ?><div>
269
+ <h2><?php echo __( 'WooCommerce Jetpack - Renumerate Orders', 'woocommerce-jetpack' ); ?></h2>
270
+ <p><?php echo __( 'The tool renumerates all orders. Press the button below to renumerate all existing orders starting from order counter settings in WooCommerce > Settings > Jetpack > Order Numbers.', 'woocommerce-jetpack' ); ?></p>
271
+ <?php echo $result_message; ?>
272
  <form method="post" action="">
273
+ <input class="button-primary" type="submit" name="renumerate_orders" value="Renumerate orders">
274
  </form>
275
+ </div><?php
276
+ }
277
 
278
  /**
279
  * Add/update order_number meta to order.
281
  public function add_order_number_meta( $order_id ) {
282
 
283
  $current_order_number = get_option( 'wcj_order_number_counter' );
284
+ //echo $current_order_number;
285
  update_option( 'wcj_order_number_counter', ( $current_order_number + 1 ) );
286
  update_post_meta( $order_id, '_wcj_order_number', $current_order_number );
287
  }
288
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
289
  /**
290
  * Renumerate orders function.
291
+ */
292
  public function renumerate_orders() {
293
+
294
  $args = array(
295
  'post_type' => 'shop_order',
296
+ 'post_status' => 'any',
297
  'posts_per_page' => -1,
298
  'orderby' => 'date',
299
  'order' => 'ASC',
300
  );
301
+
302
  $loop = new WP_Query( $args );
303
+
304
  while ( $loop->have_posts() ) : $loop->the_post();
305
+
306
  $order_id = $loop->post->ID;
307
  $this->add_order_number_meta( $order_id );
308
+
309
  endwhile;
310
+ }
311
+
312
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
313
+ // AUTO COMPLETE //
314
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
315
+ /**
316
+ * Auto Complete all WooCommerce orders.
317
+ */
318
+ public function auto_complete_order( $order_id ) {
319
+
320
+ global $woocommerce;
321
+
322
+ if ( !$order_id )
323
+ return;
324
+ $order = new WC_Order( $order_id );
325
+ $order->update_status( 'completed' );
326
+ }
327
+
328
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
329
+ // MINIMUM AMOUNT //
330
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
331
+ /**
332
+ * order_minimum_amount.
333
+ */
334
+ public function order_minimum_amount() {
335
+
336
+ $minimum = get_option( 'wcj_order_minimum_amount' );
337
+ if ( WC()->cart->total < $minimum ) {
338
+
339
+ if( is_cart() ) {
340
+ if ( 'yes' === get_option( 'wcj_order_minimum_amount_cart_notice_enabled' ) ) {
341
+ wc_print_notice(
342
+ sprintf( apply_filters( 'wcj_get_option_filter', 'You must have an order with a minimum of %s to place your order, your current order total is %s.', get_option( 'wcj_order_minimum_amount_cart_notice_message' ) ),
343
+ woocommerce_price( $minimum ),
344
+ woocommerce_price( WC()->cart->total )
345
+ ), 'notice'
346
+ );
347
+ }
348
+ } else {
349
+ wc_add_notice(
350
+ sprintf( apply_filters( 'wcj_get_option_filter', 'You must have an order with a minimum of %s to place your order, your current order total is %s.', get_option( 'wcj_order_minimum_amount_error_message' ) ),
351
+ woocommerce_price( $minimum ),
352
+ woocommerce_price( WC()->cart->total )
353
+ ), 'error'
354
+ );
355
+ }
356
+ }
357
  }
358
+
359
+
360
  /**
361
  * Add Enabled option to Jetpack Dashboard.
362
  */
363
  public function add_enabled_option( $settings ) {
364
+
365
  $all_settings = $this->get_settings();
366
  $settings[] = $all_settings[1];
367
+
368
  return $settings;
369
  }
370
+
371
  /**
372
  * Add settings arrays to Jetpack Settings.
373
+ */
374
  function get_settings() {
375
+
376
  $settings = array(
377
+
378
  //This first section\'s checkbox enables/disables all options below.
379
  array( 'title' => __( 'Orders Options', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( '', 'woocommerce-jetpack' ), 'id' => 'wcj_orders_options' ),
380
+
381
  array(
382
  'title' => __( 'Orders', 'woocommerce-jetpack' ),
383
  'desc' => __( 'Enable the Orders feature', 'woocommerce-jetpack' ),
385
  'id' => 'wcj_orders_enabled',
386
  'default' => 'yes',
387
  'type' => 'checkbox',
388
+ ),
389
+
390
  array( 'type' => 'sectionend', 'id' => 'wcj_orders_options' ),
391
 
392
  array( 'title' => __( 'Order Numbers', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( 'This section lets you enable sequential order numbering, set custom number prefix and width.', 'woocommerce-jetpack' ), 'id' => 'wcj_order_numbers_options' ),
393
+
394
  array(
395
  'title' => __( 'Order Numbers', 'woocommerce-jetpack' ),
396
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
398
  'default' => 'no',
399
  'type' => 'checkbox',
400
  ),
401
+
402
  array(
403
  'title' => __( 'Next Order Number', 'woocommerce-jetpack' ),
404
  'desc' => __( 'Next new order will be given this number.', 'woocommerce-jetpack' ),
405
  'id' => 'wcj_order_number_counter',
406
  'default' => 1,
407
  'type' => 'number',
408
+ ),
409
 
410
  array(
411
  'title' => __( 'Order Number Prefix', 'woocommerce-jetpack' ),
414
  'id' => 'wcj_order_number_prefix',
415
  'default' => '#',
416
  'type' => 'text',
417
+ 'custom_attributes'
418
+ => apply_filters( 'get_wc_jetpack_plus_message', '', 'readonly' ),
419
  ),
420
 
421
  array(
422
  'title' => __( 'Order Number Width', 'woocommerce-jetpack' ),
423
  'desc' => apply_filters( 'get_wc_jetpack_plus_message', '', 'desc' ),
424
+ 'desc_tip' => __( 'Minimum width of number without prefix (zeros will be added to the left side). This will change the minimum width of order number for all existing orders. E.g. set to 5 to have order number displayed as 00001 instead of 1. Leave zero to disable.', 'woocommerce-jetpack' ),
425
  'id' => 'wcj_order_number_min_width',
426
  'default' => 0,
427
  'type' => 'number',
428
+ 'custom_attributes'
429
+ => apply_filters( 'get_wc_jetpack_plus_message', '', 'readonly' ),
430
+ ),
431
+
432
  array( 'type' => 'sectionend', 'id' => 'wcj_order_numbers_options' ),
433
+
434
  array( 'title' => __( 'Order Minimum Amount', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( 'This section lets you set minimum order amount.', 'woocommerce-jetpack' ), 'id' => 'wcj_order_minimum_amount_options' ),
435
+
436
  array(
437
  'title' => __( 'Amount', 'woocommerce-jetpack' ),
438
  'desc' => __( 'Minimum order amount. Set to 0 to disable.', 'woocommerce-jetpack' ),
439
  'id' => 'wcj_order_minimum_amount',
440
  'default' => 0,
441
  'type' => 'number',
442
+ ),
443
 
444
  array(
445
  'title' => __( 'Error message', 'woocommerce-jetpack' ),
448
  'id' => 'wcj_order_minimum_amount_error_message',
449
  'default' => 'You must have an order with a minimum of %s to place your order, your current order total is %s.',
450
  'type' => 'text',
451
+ 'custom_attributes'
452
  => apply_filters( 'get_wc_jetpack_plus_message', '', 'readonly' ),
453
  'css' => 'width:50%;min-width:300px;',
454
  ),
455
+
456
  array(
457
  'title' => __( 'Add notice to cart page also', 'woocommerce-jetpack' ),
458
  'desc' => __( 'Add', 'woocommerce-jetpack' ),
459
  'id' => 'wcj_order_minimum_amount_cart_notice_enabled',
460
  'default' => 'no',
461
  'type' => 'checkbox',
462
+ ),
463
 
464
  array(
465
  'title' => __( 'Message on cart page', 'woocommerce-jetpack' ),
468
  'id' => 'wcj_order_minimum_amount_cart_notice_message',
469
  'default' => 'You must have an order with a minimum of %s to place your order, your current order total is %s.',
470
  'type' => 'text',
471
+ 'custom_attributes'
472
  => apply_filters( 'get_wc_jetpack_plus_message', '', 'readonly' ),
473
  'css' => 'width:50%;min-width:300px;',
474
+ ),
475
+
476
  array( 'type' => 'sectionend', 'id' => 'wcj_order_minimum_amount_options' ),
477
 
478
  array( 'title' => __( 'Orders Auto-Complete', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( 'This section lets you enable orders auto-complete function.', 'woocommerce-jetpack' ), 'id' => 'wcj_order_auto_complete_options' ),
479
+
480
  array(
481
  'title' => __( 'Auto-complete all WooCommerce orders', 'woocommerce-jetpack' ),
482
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
484
  'id' => 'wcj_order_auto_complete_enabled',
485
  'default' => 'no',
486
  'type' => 'checkbox',
487
+ ),
488
+
489
  array( 'type' => 'sectionend', 'id' => 'wcj_order_auto_complete_options' ),
490
 
491
  array( 'title' => __( 'Custom Statuses', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( 'This section lets you enable custom statuses tool.', 'woocommerce-jetpack' ), 'id' => 'wcj_orders_custom_statuses_options' ),
492
+
493
  array(
494
  'title' => __( 'Custom Statuses', 'woocommerce-jetpack' ),
495
  'desc' => __( 'Enable', 'woocommerce-jetpack' ),
497
  'id' => 'wcj_orders_custom_statuses_enabled',
498
  'default' => 'yes',
499
  'type' => 'checkbox',
500
+ ),
501
+
502
+ array( 'type' => 'sectionend', 'id' => 'wcj_orders_custom_statuses_options' ),
503
+
504
  );
505
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
506
  return $settings;
507
  }
508
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  /**
510
  * Add settings section to WooCommerce > Settings > Jetpack.
511
  */
512
+ function settings_section( $sections ) {
513
+ $sections['orders'] = __( 'Orders', 'woocommerce-jetpack' );
514
  return $sections;
515
+ }
516
  }
517
+
518
  endif;
519
+
520
  return new WCJ_Orders();
includes/class-wcj-pdf-invoices.php CHANGED
@@ -5,7 +5,7 @@
5
  * The WooCommerce Jetpack PDF Invoices class.
6
  *
7
  * @class WCJ_PDF_Invoices
8
- * @version 1.2.0
9
  * @category Class
10
  * @author Algoritmika Ltd.
11
  */
@@ -40,9 +40,11 @@ class WCJ_PDF_Invoices {
40
 
41
  add_action( 'admin_head', array( $this, 'add_pdf_invoice_icon_css' ) );
42
 
43
- if ( 'yes' === get_option( 'wcj_pdf_invoices_enabled_for_customers' ) )
44
  add_filter( 'woocommerce_my_account_my_orders_actions', array( $this, 'add_pdf_invoices_link_to_my_account' ), 100, 2 );
45
- //add_filter( apply_filters( 'wcj_get_option_filter', 'wcj_empty_filter', 'woocommerce_my_account_my_orders_actions' ), array( $this, 'add_pdf_invoices_link_to_my_account' ), 100, 2 );
 
 
46
  }
47
 
48
  // Settings hooks
@@ -50,41 +52,62 @@ class WCJ_PDF_Invoices {
50
  add_filter( 'wcj_settings_pdf_invoices', array( $this, 'get_settings' ), 100 );
51
  add_filter( 'wcj_features_status', array( $this, 'add_enabled_option' ), 100 );
52
  }
 
 
 
 
 
 
 
 
 
 
 
 
53
 
54
  /**
55
  * Unlocks - PDF Invoices - add_pdf_invoices_link_to_my_account.
56
  */
57
  public function add_pdf_invoices_link_to_my_account( $actions, $the_order ) {
58
-
59
- $actions['pdf_invoice'] = array(
60
- 'url' => $_SERVER['REQUEST_URI'] . '?pdf_invoice=' . $the_order->id,
61
- 'name' => __( 'Invoice', 'woocommerce-jetpack' ),
62
- );
63
-
64
- return $actions;
 
 
 
 
 
 
65
  }
66
 
67
  /**
68
  * add_pdf_invoice_icon_css.
69
  */
70
  function add_pdf_invoice_icon_css() {
71
-
72
  echo '<style> a.button.tips.view.pdf_invoice:after { content: "\e028" !important; } </style>';
73
- //echo '<style> a.button.tips.view.save_pdf_invoice:after { content: "\e028" !important; } </style>';
74
  }
75
 
76
  /**
77
  * generate_pdf.
78
  */
79
- public function generate_pdf() {
80
-
81
- if ( ! isset( $_GET['pdf_invoice'] ) ) return;
82
 
83
- if ( ! is_user_logged_in() ) return;
84
 
85
- $order_id = $_GET['pdf_invoice'];
86
-
87
- if ( ( ! current_user_can( 'administrator' ) ) && ( get_current_user_id() != intval( get_post_meta( $order_id, '_customer_user', true ) ) ) ) return;
 
 
 
 
 
88
 
89
  // Include the main TCPDF library (search for installation path).
90
  //require_once('tcpdf_include.php');
@@ -160,10 +183,15 @@ class WCJ_PDF_Invoices {
160
 
161
  // Close and output PDF document
162
  // This method has several options, check the source code documentation for more information.
163
- if ( isset( $_GET['save_pdf_invoice'] ) && ( $_GET['save_pdf_invoice'] == '1' ) )
164
- $pdf->Output('invoice-' . $order_number . '.pdf', 'D');
 
 
 
 
 
165
  else
166
- $pdf->Output('invoice-' . $order_number . '.pdf', 'I');
167
  }
168
 
169
  /**
@@ -342,8 +370,18 @@ class WCJ_PDF_Invoices {
342
  //if ( ( true === $display_shipping_as_item ) &&
343
  if ( ( '' != get_option( 'wcj_pdf_invoices_display_shipping_as_item_text' ) ) &&
344
  ( $order_total_shipping > 0 ) ) {
 
 
 
 
 
 
 
 
 
 
345
  $the_items[] = array(
346
- 'name' => get_option( 'wcj_pdf_invoices_display_shipping_as_item_text' ),
347
  'type' => 'line_item',
348
  'qty' => 1,
349
  //'tax_class' => ,
@@ -366,9 +404,7 @@ class WCJ_PDF_Invoices {
366
  );
367
  }
368
 
369
- // Discount as item
370
-
371
-
372
  //$display_discount_as_item = true;
373
  //if ( ( true === $display_discount_as_item ) &&
374
  if ( ( '' != get_option( 'wcj_pdf_invoices_display_discount_as_item_text' ) ) &&
@@ -422,6 +458,7 @@ class WCJ_PDF_Invoices {
422
  $item_quantity = $item['qty'];
423
  // Item Name
424
  $item_name = $item['name'];
 
425
  $product = $the_order->get_product_from_item( $item ); // variation (if needed)
426
  if ( isset ( $product->variation_data ) ) {
427
  foreach ( $product->variation_data as $key => $value ) {
@@ -479,7 +516,7 @@ class WCJ_PDF_Invoices {
479
  $html .= '<p>' . get_option( 'wcj_pdf_invoices_order_shipping_method_text' ). ': ' . $the_order->get_shipping_method() . '</p>';
480
  // ADDITIONAL FOOTER
481
  $html .= '<p>' . str_replace( PHP_EOL, '<br>', get_option( 'wcj_pdf_invoices_footer_text' ) ) . '</p>';
482
-
483
  return $html;
484
  }
485
 
@@ -487,18 +524,18 @@ class WCJ_PDF_Invoices {
487
  * add_pdf_invoices_link_to_order_list.
488
  */
489
  public function add_pdf_invoices_link_to_order_list( $actions, $the_order ) {
490
-
491
- $actions['pdf_invoice'] = array(
492
- 'url' => basename( $_SERVER['REQUEST_URI'] ) . '&pdf_invoice=' . $the_order->id,
493
- 'name' => __( 'PDF Invoice', 'woocommerce-jetpack' ),
494
- 'action' => "view pdf_invoice"
495
- );
496
-
497
- /*$actions['save_pdf_invoice'] = array(
498
- 'url' => basename( $_SERVER['REQUEST_URI'] ) . '&pdf_invoice=' . $the_order->id . '&save_pdf_invoice=1',
499
- 'name' => __( 'Save PDF', 'woocommerce-jetpack' ),
500
- 'action' => "view save_pdf_invoice"
501
- );*/
502
 
503
  return $actions;
504
  }
@@ -686,7 +723,31 @@ class WCJ_PDF_Invoices {
686
  'default' => '',
687
  'type' => 'text',
688
  //'custom_attributes' => apply_filters( 'get_wc_jetpack_plus_message', '', 'disabled' ),
689
- ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
690
 
691
  array(
692
  'title' => __( 'Discount as Item', 'woocommerce-jetpack' ),
@@ -806,6 +867,15 @@ class WCJ_PDF_Invoices {
806
  'css' => 'width:33%;min-width:300px;',
807
  ),
808
 
 
 
 
 
 
 
 
 
 
809
  array(
810
  'title' => __( 'Total Discount', 'woocommerce-jetpack' ),
811
  //'desc_tip' => __( 'Total Discount text', 'woocommerce-jetpack' ),
@@ -815,15 +885,6 @@ class WCJ_PDF_Invoices {
815
  'css' => 'width:33%;min-width:300px;',
816
  ),
817
 
818
- array(
819
- 'title' => __( 'Order Shipping Price', 'woocommerce-jetpack' ),
820
- //'desc_tip' => __( 'Order Shipping text', 'woocommerce-jetpack' ),
821
- 'id' => 'wcj_pdf_invoices_order_shipping_text',
822
- 'default' => __( 'Shipping', 'woocommerce-jetpack' ),
823
- 'type' => 'text',
824
- 'css' => 'width:33%;min-width:300px;',
825
- ),
826
-
827
  array(
828
  'title' => __( 'Order Total (TAX excl.)', 'woocommerce-jetpack' ),
829
  'desc_tip' => __( 'Order Total (TAX excl.) = Total - Taxes. Shown only if discount or shipping is not equal to zero. In other words: if "Order Total (TAX excl.)" not equal to "Order Subtotal"', 'woocommerce-jetpack' ),
@@ -911,7 +972,7 @@ class WCJ_PDF_Invoices {
911
  //array( 'title' => __( 'More Options', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( '', 'woocommerce-jetpack' ), 'id' => 'wcj_pdf_invoices_more_options' ),
912
 
913
  array(
914
- 'title' => __( 'PDF Invoices for Customers', 'woocommerce-jetpack' ),
915
  'desc' => __( 'Enable the PDF Invoices in customers account', 'woocommerce-jetpack' ),
916
  'desc_tip' => apply_filters( 'get_wc_jetpack_plus_message', '', 'desc' ),
917
  'id' => 'wcj_pdf_invoices_enabled_for_customers',
@@ -919,6 +980,26 @@ class WCJ_PDF_Invoices {
919
  'type' => 'checkbox',
920
  'custom_attributes' => apply_filters( 'get_wc_jetpack_plus_message', '', 'disabled' ),
921
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
922
 
923
  //array( 'type' => 'sectionend', 'id' => 'wcj_pdf_invoices_more_options' ),
924
  array( 'type' => 'sectionend', 'id' => 'wcj_pdf_invoices_general_options' ),
5
  * The WooCommerce Jetpack PDF Invoices class.
6
  *
7
  * @class WCJ_PDF_Invoices
8
+ * @version 1.4.0
9
  * @category Class
10
  * @author Algoritmika Ltd.
11
  */
40
 
41
  add_action( 'admin_head', array( $this, 'add_pdf_invoice_icon_css' ) );
42
 
43
+ if ( 'yes' === apply_filters( 'wcj_get_option_filter', 'no', get_option( 'wcj_pdf_invoices_enabled_for_customers' ) ) )
44
  add_filter( 'woocommerce_my_account_my_orders_actions', array( $this, 'add_pdf_invoices_link_to_my_account' ), 100, 2 );
45
+
46
+ if ( 'yes' === apply_filters( 'wcj_get_option_filter', 'no', get_option( 'wcj_pdf_invoices_attach_to_email_enabled' ) ) )
47
+ add_filter( 'woocommerce_email_attachments', array( $this, 'add_pdf_invoice_email_attachment' ), 100, 3 );
48
  }
49
 
50
  // Settings hooks
52
  add_filter( 'wcj_settings_pdf_invoices', array( $this, 'get_settings' ), 100 );
53
  add_filter( 'wcj_features_status', array( $this, 'add_enabled_option' ), 100 );
54
  }
55
+
56
+ /**
57
+ * add_pdf_invoice_email_attachment.
58
+ */
59
+ public function add_pdf_invoice_email_attachment( $attachments, $status, $order ) {
60
+ if ( ( isset( $status ) && 'customer_completed_order' === $status ) && isset( $order ) ) {
61
+ $file_name = sys_get_temp_dir() . '/invoice-' . $order->id . '.pdf';
62
+ $result = file_put_contents( $file_name, $this->generate_pdf( $order->id ) );
63
+ $attachments[] = $file_name;
64
+ }
65
+ return $attachments;
66
+ }
67
 
68
  /**
69
  * Unlocks - PDF Invoices - add_pdf_invoices_link_to_my_account.
70
  */
71
  public function add_pdf_invoices_link_to_my_account( $actions, $the_order ) {
72
+
73
+ if ( 'no' === get_option( 'wcj_pdf_invoices_save_as_enabled' ) )
74
+ $actions['pdf_invoice'] = array(
75
+ 'url' => $_SERVER['REQUEST_URI'] . '?pdf_invoice=' . $the_order->id,
76
+ 'name' => __( 'Invoice', 'woocommerce-jetpack' ),
77
+ );
78
+ else
79
+ $actions['save_pdf_invoice'] = array(
80
+ 'url' => $_SERVER['REQUEST_URI'] . '?pdf_invoice=' . $the_order->id . '&save_pdf_invoice=1',
81
+ 'name' => __( 'Invoice', 'woocommerce-jetpack' ),
82
+ );
83
+
84
+ return $actions;
85
  }
86
 
87
  /**
88
  * add_pdf_invoice_icon_css.
89
  */
90
  function add_pdf_invoice_icon_css() {
91
+
92
  echo '<style> a.button.tips.view.pdf_invoice:after { content: "\e028" !important; } </style>';
93
+ echo '<style> a.button.tips.view.save_pdf_invoice:after { content: "\e028" !important; } </style>';
94
  }
95
 
96
  /**
97
  * generate_pdf.
98
  */
99
+ public function generate_pdf( $get_by_order_id = 0 ) {
 
 
100
 
101
+ if ( ! isset( $_GET['pdf_invoice'] ) && 0 == $get_by_order_id ) return;
102
 
103
+ if ( ! is_user_logged_in() && 0 == $get_by_order_id ) return;
104
+
105
+ if ( ( ! current_user_can( 'administrator' ) ) && ( get_current_user_id() != intval( get_post_meta( $order_id, '_customer_user', true ) ) ) && ( 0 == $get_by_order_id ) ) return;
106
+
107
+ if ( 0 == $get_by_order_id )
108
+ $order_id = $_GET['pdf_invoice'];
109
+ else
110
+ $order_id = $get_by_order_id;
111
 
112
  // Include the main TCPDF library (search for installation path).
113
  //require_once('tcpdf_include.php');
183
 
184
  // Close and output PDF document
185
  // This method has several options, check the source code documentation for more information.
186
+ // $the_order = new WC_Order( $order_id );
187
+ // $order_number = $the_order->get_order_number();
188
+
189
+ if ( $get_by_order_id > 0 )
190
+ return $pdf->Output('invoice-' . $order_id . '.pdf', 'S');
191
+ if ( isset( $_GET['save_pdf_invoice'] ) && '1' == $_GET['save_pdf_invoice'] )
192
+ $pdf->Output('invoice-' . $order_id . '.pdf', 'D');
193
  else
194
+ $pdf->Output('invoice-' . $order_id . '.pdf', 'I');
195
  }
196
 
197
  /**
370
  //if ( ( true === $display_shipping_as_item ) &&
371
  if ( ( '' != get_option( 'wcj_pdf_invoices_display_shipping_as_item_text' ) ) &&
372
  ( $order_total_shipping > 0 ) ) {
373
+
374
+ $shipping_item_name = get_option( 'wcj_pdf_invoices_display_shipping_as_item_text' );
375
+
376
+ // Add shipping method text
377
+ if ( 'yes' === get_option( 'wcj_pdf_invoices_display_shipping_as_item_shipping_method' ) )
378
+ $shipping_item_name .= '<div style="font-size:x-small;">' . $the_order->get_shipping_method() . '</div>';
379
+ else if ( 'replace' === get_option( 'wcj_pdf_invoices_display_shipping_as_item_shipping_method' ) )
380
+ $shipping_item_name = $the_order->get_shipping_method();
381
+
382
+ // Create item
383
  $the_items[] = array(
384
+ 'name' => $shipping_item_name,
385
  'type' => 'line_item',
386
  'qty' => 1,
387
  //'tax_class' => ,
404
  );
405
  }
406
 
407
+ // Discount as item
 
 
408
  //$display_discount_as_item = true;
409
  //if ( ( true === $display_discount_as_item ) &&
410
  if ( ( '' != get_option( 'wcj_pdf_invoices_display_discount_as_item_text' ) ) &&
458
  $item_quantity = $item['qty'];
459
  // Item Name
460
  $item_name = $item['name'];
461
+
462
  $product = $the_order->get_product_from_item( $item ); // variation (if needed)
463
  if ( isset ( $product->variation_data ) ) {
464
  foreach ( $product->variation_data as $key => $value ) {
516
  $html .= '<p>' . get_option( 'wcj_pdf_invoices_order_shipping_method_text' ). ': ' . $the_order->get_shipping_method() . '</p>';
517
  // ADDITIONAL FOOTER
518
  $html .= '<p>' . str_replace( PHP_EOL, '<br>', get_option( 'wcj_pdf_invoices_footer_text' ) ) . '</p>';
519
+
520
  return $html;
521
  }
522
 
524
  * add_pdf_invoices_link_to_order_list.
525
  */
526
  public function add_pdf_invoices_link_to_order_list( $actions, $the_order ) {
527
+ if ( 'no' === get_option( 'wcj_pdf_invoices_save_as_enabled' ) )
528
+ $actions['pdf_invoice'] = array(
529
+ 'url' => basename( $_SERVER['REQUEST_URI'] ) . '&pdf_invoice=' . $the_order->id,
530
+ 'name' => __( 'PDF Invoice', 'woocommerce-jetpack' ),
531
+ 'action' => "view pdf_invoice"
532
+ );
533
+ else
534
+ $actions['save_pdf_invoice'] = array(
535
+ 'url' => basename( $_SERVER['REQUEST_URI'] ) . '&pdf_invoice=' . $the_order->id . '&save_pdf_invoice=1',
536
+ 'name' => __( 'PDF Invoice', 'woocommerce-jetpack' ),
537
+ 'action' => "view save_pdf_invoice"
538
+ );
539
 
540
  return $actions;
541
  }
723
  'default' => '',
724
  'type' => 'text',
725
  //'custom_attributes' => apply_filters( 'get_wc_jetpack_plus_message', '', 'disabled' ),
726
+ ),
727
+
728
+ /*array(
729
+ 'title' => '',
730
+ 'desc' => __( 'Add shipping method info', 'woocommerce-jetpack' ),
731
+ 'id' => 'wcj_pdf_invoices_display_shipping_as_item_method_enabled',
732
+ 'default' => 'yes',
733
+ 'type' => 'checkbox',
734
+ ),*/
735
+
736
+ array(
737
+ 'title' => '',
738
+ 'desc' => __( 'Add shipping method info', 'woocommerce-jetpack' ),
739
+ 'id' => 'wcj_pdf_invoices_display_shipping_as_item_shipping_method',
740
+ 'css' => 'min-width:350px;',
741
+ 'class' => 'chosen_select',
742
+ 'default' => 'no',
743
+ 'type' => 'select',
744
+ 'options' => array(
745
+ 'no' => __( 'Do not add shipping method info', 'woocommerce-jetpack' ),
746
+ 'yes' => __( 'Add shipping method info', 'woocommerce-jetpack' ),
747
+ 'replace' => __( 'Replace with shipping method info', 'woocommerce-jetpack' ),
748
+ ),
749
+ 'desc_tip' => true,
750
+ ),
751
 
752
  array(
753
  'title' => __( 'Discount as Item', 'woocommerce-jetpack' ),
867
  'css' => 'width:33%;min-width:300px;',
868
  ),
869
 
870
+ array(
871
+ 'title' => __( 'Order Shipping Price', 'woocommerce-jetpack' ),
872
+ //'desc_tip' => __( 'Order Shipping text', 'woocommerce-jetpack' ),
873
+ 'id' => 'wcj_pdf_invoices_order_shipping_text',
874
+ 'default' => __( 'Shipping', 'woocommerce-jetpack' ),
875
+ 'type' => 'text',
876
+ 'css' => 'width:33%;min-width:300px;',
877
+ ),
878
+
879
  array(
880
  'title' => __( 'Total Discount', 'woocommerce-jetpack' ),
881
  //'desc_tip' => __( 'Total Discount text', 'woocommerce-jetpack' ),
885
  'css' => 'width:33%;min-width:300px;',
886
  ),
887
 
 
 
 
 
 
 
 
 
 
888
  array(
889
  'title' => __( 'Order Total (TAX excl.)', 'woocommerce-jetpack' ),
890
  'desc_tip' => __( 'Order Total (TAX excl.) = Total - Taxes. Shown only if discount or shipping is not equal to zero. In other words: if "Order Total (TAX excl.)" not equal to "Order Subtotal"', 'woocommerce-jetpack' ),
972
  //array( 'title' => __( 'More Options', 'woocommerce-jetpack' ), 'type' => 'title', 'desc' => __( '', 'woocommerce-jetpack' ), 'id' => 'wcj_pdf_invoices_more_options' ),
973
 
974
  array(
975
+ 'title' => __( 'PDF Invoices for Customers (in My Account)', 'woocommerce-jetpack' ),
976
  'desc' => __( 'Enable the PDF Invoices in customers account', 'woocommerce-jetpack' ),
977
  'desc_tip' => apply_filters( 'get_wc_jetpack_plus_message', '', 'desc' ),
978
  'id' => 'wcj_pdf_invoices_enabled_for_customers',
980
  'type' => 'checkbox',
981
  'custom_attributes' => apply_filters( 'get_wc_jetpack_plus_message', '', 'disabled' ),
982
  ),
983
+
984
+ array(
985
+ 'title' => __( 'PDF Invoices for Customers (Email attachment)', 'woocommerce-jetpack' ),
986
+ 'desc' => __( 'Enable the PDF Invoices attachment files in customers email on order completed', 'woocommerce-jetpack' ),
987
+ 'desc_tip' => apply_filters( 'get_wc_jetpack_plus_message', '', 'desc' ),
988
+ 'id' => 'wcj_pdf_invoices_attach_to_email_enabled',
989
+ 'default' => 'no',
990
+ 'type' => 'checkbox',
991
+ 'custom_attributes' => apply_filters( 'get_wc_jetpack_plus_message', '', 'disabled' ),
992
+ ),
993
+
994
+ array(
995
+ 'title' => __( 'Enable Save as', 'woocommerce-jetpack' ),
996
+ 'desc' => __( 'Enable save as pdf instead of view pdf', 'woocommerce-jetpack' ),
997
+ //'desc_tip' => apply_filters( 'get_wc_jetpack_plus_message', '', 'desc' ),
998
+ 'id' => 'wcj_pdf_invoices_save_as_enabled',
999
+ 'default' => 'no',
1000
+ 'type' => 'checkbox',
1001
+ //'custom_attributes' => apply_filters( 'get_wc_jetpack_plus_message', '', 'disabled' ),
1002
+ ),
1003
 
1004
  //array( 'type' => 'sectionend', 'id' => 'wcj_pdf_invoices_more_options' ),
1005
  array( 'type' => 'sectionend', 'id' => 'wcj_pdf_invoices_general_options' ),
includes/class-wcj-price-labels.php CHANGED
@@ -5,7 +5,7 @@
5
  * The WooCommerce Jetpack Price Labels class.
6
  *
7
  * @class WCJ_Price_Labels
8
- * @version 1.0.1
9
  * @category Class
10
  * @author Algoritmika Ltd.
11
  */
@@ -162,7 +162,7 @@ class WCJ_Price_Labels {
162
  if ( $custom_tab_section == '_before' ) $disabled_if_no_plus = apply_filters( 'get_wc_jetpack_plus_message', '', 'desc_below' );
163
  else $disabled_if_no_plus = '';
164
 
165
- echo '<p>' . $disabled_if_no_plus . '<ul><strong>' . $this->custom_tab_sections_titles[ $custom_tab_section ] . '</strong>';
166
 
167
  foreach ( $this->custom_tab_section_variations as $custom_tab_section_variation ) {
168
 
@@ -180,7 +180,8 @@ class WCJ_Price_Labels {
180
  $label_text = get_post_meta($current_post_id, '_' . $option_name, true );
181
  $label_text = str_replace ( '"', '&quot;', $label_text );
182
 
183
- echo '<li>' . $this->custom_tab_section_variations_titles[ $custom_tab_section_variation ] . ' <input style="width:50%;min-width:300px;" type="text" ' . $disabled_if_no_plus . ' name="' . $option_name . '" id="' . $option_name . '" value="' . $label_text . '" /></li>';
 
184
 
185
  }
186
  else {
5
  * The WooCommerce Jetpack Price Labels class.
6
  *
7
  * @class WCJ_Price_Labels
8
+ * @version 1.0.3
9
  * @category Class
10
  * @author Algoritmika Ltd.
11
  */
162
  if ( $custom_tab_section == '_before' ) $disabled_if_no_plus = apply_filters( 'get_wc_jetpack_plus_message', '', 'desc_below' );
163
  else $disabled_if_no_plus = '';
164
 
165
+ echo '<p>' . $disabled_if_no_plus . '<ul><h4>' . $this->custom_tab_sections_titles[ $custom_tab_section ] . '</h4>';
166
 
167
  foreach ( $this->custom_tab_section_variations as $custom_tab_section_variation ) {
168
 
180
  $label_text = get_post_meta($current_post_id, '_' . $option_name, true );
181
  $label_text = str_replace ( '"', '&quot;', $label_text );
182
 
183
+ //echo '<li>' . $this->custom_tab_section_variations_titles[ $custom_tab_section_variation ] . ' <input style="width:50%;min-width:300px;" type="text" ' . $disabled_if_no_plus . ' name="' . $option_name . '" id="' . $option_name . '" value="' . $label_text . '" /></li>';
184
+ echo '<li>' . $this->custom_tab_section_variations_titles[ $custom_tab_section_variation ] . '<br><textarea style="width:50%;min-width:300px;height:100px;" ' . $disabled_if_no_plus . ' name="' . $option_name . '">' . $label_text . '</textarea></li>';
185
 
186
  }
187
  else {
langs/woocommerce-jetpack-en_EN.mo DELETED
Binary file
langs/woocommerce-jetpack-en_EN.po DELETED
@@ -1,303 +0,0 @@
1
- # Copyright (C) 2014 WooCommerce Jetpack
2
- # This file is distributed under the same license as the WooCommerce Jetpack package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: WooCommerce Jetpack 1.0.2\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/woocommerce-jetpack\n"
7
- "POT-Creation-Date: 2014-06-13 22:27:34+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2014-06-14 01:29+0200\n"
12
- "Last-Translator: \n"
13
- "Language-Team: \n"
14
- "X-Generator: Poedit 1.5.5\n"
15
-
16
- #: includes/admin/settings/class-wc-settings-jetpack.php:20
17
- msgid "Jetpack"
18
- msgstr ""
19
-
20
- #: includes/admin/settings/class-wc-settings-jetpack.php:36
21
- msgid "Dashboard"
22
- msgstr ""
23
-
24
- #: includes/admin/settings/class-wc-settings-jetpack.php:78
25
- msgid "Features"
26
- msgstr ""
27
-
28
- #: includes/class-wcj-call-for-price.php:119
29
- msgid "Sale!"
30
- msgstr ""
31
-
32
- #: includes/class-wcj-call-for-price.php:165
33
- msgid "Call for Price Options"
34
- msgstr ""
35
-
36
- #: includes/class-wcj-call-for-price.php:171
37
- msgid "Call for Price"
38
- msgstr ""
39
-
40
- #: includes/class-wcj-call-for-price.php:173
41
- msgid "Enable the Call for Price feature"
42
- msgstr ""
43
-
44
- #: includes/class-wcj-call-for-price.php:175
45
- msgid "Create any custom price label for all products with empty price."
46
- msgstr ""
47
-
48
- #: includes/class-wcj-call-for-price.php:189
49
- #: includes/class-wcj-product-info.php:163
50
- msgid "Text to Show"
51
- msgstr ""
52
-
53
- #: includes/class-wcj-call-for-price.php:191
54
- msgid "This sets the html to output on empty price."
55
- msgstr ""
56
-
57
- #: includes/class-wcj-call-for-price.php:213
58
- msgid "Show on Single Product"
59
- msgstr ""
60
-
61
- #: includes/class-wcj-call-for-price.php:215
62
- msgid "Check to show on single products page"
63
- msgstr ""
64
-
65
- #: includes/class-wcj-call-for-price.php:229
66
- msgid "Show on Products Archive"
67
- msgstr ""
68
-
69
- #: includes/class-wcj-call-for-price.php:231
70
- msgid "Check to show on products archive page"
71
- msgstr ""
72
-
73
- #: includes/class-wcj-call-for-price.php:245
74
- msgid "Show on Home Page"
75
- msgstr ""
76
-
77
- #: includes/class-wcj-call-for-price.php:247
78
- msgid "Check to show on home page"
79
- msgstr ""
80
-
81
- #: includes/class-wcj-call-for-price.php:261
82
- msgid "Hide Sale! Tag"
83
- msgstr ""
84
-
85
- #: includes/class-wcj-call-for-price.php:263
86
- msgid "Hide the tag"
87
- msgstr ""
88
-
89
- #: includes/class-wcj-currencies.php:777
90
- msgid "Currency Symbol"
91
- msgstr ""
92
-
93
- #: includes/class-wcj-currencies.php:779
94
- msgid "This sets the currency symbol."
95
- msgstr ""
96
-
97
- #: includes/class-wcj-currencies.php:819
98
- msgid "Currencies Options"
99
- msgstr ""
100
-
101
- #: includes/class-wcj-currencies.php:825
102
- msgid "Currencies"
103
- msgstr ""
104
-
105
- #: includes/class-wcj-currencies.php:827
106
- msgid "Enable the Currencies feature"
107
- msgstr ""
108
-
109
- #: includes/class-wcj-currencies.php:829
110
- msgid "Add all world currencies, change currency symbol."
111
- msgstr ""
112
-
113
- #: includes/class-wcj-currencies.php:845
114
- msgid "Currency Symbol Options"
115
- msgstr ""
116
-
117
- #: includes/class-wcj-old-slugs.php:105
118
- msgid "Old Slugs Options"
119
- msgstr ""
120
-
121
- #: includes/class-wcj-old-slugs.php:111
122
- msgid "Old Slugs"
123
- msgstr ""
124
-
125
- #: includes/class-wcj-old-slugs.php:113
126
- msgid "Enable the Remove Old Product Slugs feature"
127
- msgstr ""
128
-
129
- #: includes/class-wcj-old-slugs.php:115
130
- msgid ""
131
- "Remove old product slugs. Tool is accessible through <a href=\"/wp-admin/"
132
- "admin.php?page=woocommerce-jetpack-old-slugs\">WooCommerce > Remove Old "
133
- "Slugs</a>."
134
- msgstr ""
135
-
136
- #: includes/class-wcj-price-labels.php:479
137
- msgid "Custom Price Labels Options"
138
- msgstr ""
139
-
140
- #: includes/class-wcj-price-labels.php:485
141
- msgid "Custom Price Labels"
142
- msgstr ""
143
-
144
- #: includes/class-wcj-price-labels.php:487
145
- msgid "Enable the Custom Price Labels feature"
146
- msgstr ""
147
-
148
- #: includes/class-wcj-price-labels.php:489
149
- msgid "Create any custom price label for any product."
150
- msgstr ""
151
-
152
- #: includes/class-wcj-product-info.php:111
153
- msgid "Product Info Options"
154
- msgstr ""
155
-
156
- #: includes/class-wcj-product-info.php:117
157
- msgid "Product Info"
158
- msgstr ""
159
-
160
- #: includes/class-wcj-product-info.php:119
161
- msgid "Enable the Product Info feature"
162
- msgstr ""
163
-
164
- #: includes/class-wcj-product-info.php:121
165
- msgid "Display total product sales etc."
166
- msgstr ""
167
-
168
- #: includes/class-wcj-product-info.php:139
169
- msgid "Total Sales Options"
170
- msgstr ""
171
-
172
- #: includes/class-wcj-product-info.php:145 includes/class-wcj-sorting.php:393
173
- #: includes/class-wcj-sorting.php:429 includes/class-wcj-sorting.php:465
174
- #: includes/class-wcj-sorting.php:501
175
- msgid "Enable"
176
- msgstr ""
177
-
178
- #: includes/class-wcj-product-info.php:147
179
- msgid "Enable Total Sales"
180
- msgstr ""
181
-
182
- #: includes/class-wcj-product-info.php:165
183
- msgid ""
184
- "This sets the text to output for total sales. Default is \"Total Sales: "
185
- "[TOTALSALES]\""
186
- msgstr ""
187
-
188
- #: includes/class-wcj-product-info.php:171
189
- msgid "Total Sales: [TOTALSALES]"
190
- msgstr ""
191
-
192
- #: includes/class-wcj-sorting.php:131 includes/class-wcj-sorting.php:337
193
- #: includes/class-wcj-sorting.php:343
194
- msgid "Remove All Sorting"
195
- msgstr ""
196
-
197
- #: includes/class-wcj-sorting.php:141
198
- msgid "Completely remove sorting from the shop front end"
199
- msgstr ""
200
-
201
- #: includes/class-wcj-sorting.php:311
202
- msgid "Sorting Options"
203
- msgstr ""
204
-
205
- #: includes/class-wcj-sorting.php:317
206
- msgid "Sorting"
207
- msgstr ""
208
-
209
- #: includes/class-wcj-sorting.php:319
210
- msgid "Enable the Sorting feature"
211
- msgstr ""
212
-
213
- #: includes/class-wcj-sorting.php:321
214
- msgid "Add more sorting options or remove all sorting including default."
215
- msgstr ""
216
-
217
- #: includes/class-wcj-sorting.php:345
218
- msgid "Remove all sorting (including WooCommerce default)"
219
- msgstr ""
220
-
221
- #: includes/class-wcj-sorting.php:367
222
- msgid "Add More Sorting"
223
- msgstr ""
224
-
225
- #: includes/class-wcj-sorting.php:373 includes/class-wcj-sorting.php:391
226
- msgid "Sort by Name - Asc"
227
- msgstr ""
228
-
229
- #: includes/class-wcj-sorting.php:375 includes/class-wcj-sorting.php:411
230
- #: includes/class-wcj-sorting.php:447 includes/class-wcj-sorting.php:483
231
- msgid "Text visible at front end"
232
- msgstr ""
233
-
234
- #: includes/class-wcj-sorting.php:395 includes/class-wcj-sorting.php:431
235
- #: includes/class-wcj-sorting.php:467 includes/class-wcj-sorting.php:503
236
- msgid "Check to enable."
237
- msgstr ""
238
-
239
- #: includes/class-wcj-sorting.php:409 includes/class-wcj-sorting.php:427
240
- msgid "Sort by Name - Desc"
241
- msgstr ""
242
-
243
- #: includes/class-wcj-sorting.php:445 includes/class-wcj-sorting.php:463
244
- msgid "Sort by SKU - Asc"
245
- msgstr ""
246
-
247
- #: includes/class-wcj-sorting.php:481 includes/class-wcj-sorting.php:499
248
- msgid "Sort by SKU - Desc"
249
- msgstr ""
250
-
251
- #: woocommerce-jetpack.php:211
252
- msgid "Install WooCommerce Jetpack Plus to unlock all features"
253
- msgstr ""
254
-
255
- #: woocommerce-jetpack.php:213
256
- msgid ""
257
- "Some settings fields are locked and you will need %s to modify all locked "
258
- "fields."
259
- msgstr ""
260
-
261
- #: woocommerce-jetpack.php:215
262
- msgid "Buy now just for %s"
263
- msgstr ""
264
-
265
- #: woocommerce-jetpack.php:215
266
- msgid "Visit %s"
267
- msgstr ""
268
-
269
- #: woocommerce-jetpack.php:223
270
- msgid ""
271
- "Get <a href=\"http://woojetpack.com/plus/\" target=\"_blank\">WooCommerce "
272
- "Jetpack Plus</a> to change value."
273
- msgstr ""
274
-
275
- #: woocommerce-jetpack.php:229
276
- msgid ""
277
- "Get <a href=\"http://woojetpack.com/plus/\" target=\"_blank\">WooCommerce "
278
- "Jetpack Plus</a> to change values below."
279
- msgstr ""
280
-
281
- #: woocommerce-jetpack.php:235
282
- msgid "Get WooCommerce Jetpack Plus to change value."
283
- msgstr ""
284
-
285
- #. Plugin Name of the plugin/theme
286
- msgid "WooCommerce Jetpack"
287
- msgstr ""
288
-
289
- #. Plugin URI of the plugin/theme
290
- msgid "http://woojetpack.com"
291
- msgstr ""
292
-
293
- #. Description of the plugin/theme
294
- msgid "Supercharge your WooCommerce site with these awesome powerful features."
295
- msgstr ""
296
-
297
- #. Author of the plugin/theme
298
- msgid "Algoritmika Ltd."
299
- msgstr ""
300
-
301
- #. Author URI of the plugin/theme
302
- msgid "http://www.algoritmika.com"
303
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
langs/woocommerce-jetpack.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the WooCommerce Jetpack package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Jetpack 1.0.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/woocommerce-jetpack\n"
7
- "POT-Creation-Date: 2014-06-13 22:27:34+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -21,270 +21,1550 @@ msgid "Dashboard"
21
  msgstr ""
22
 
23
  #: includes/admin/settings/class-wc-settings-jetpack.php:78
24
- msgid "Features"
25
  msgstr ""
26
 
27
- #: includes/class-wcj-call-for-price.php:119
28
- msgid "Sale!"
29
  msgstr ""
30
 
31
- #: includes/class-wcj-call-for-price.php:165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  msgid "Call for Price Options"
33
  msgstr ""
34
 
35
- #: includes/class-wcj-call-for-price.php:171
36
- msgid "Call for Price"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  msgstr ""
38
 
39
- #: includes/class-wcj-call-for-price.php:173
40
- msgid "Enable the Call for Price feature"
 
41
  msgstr ""
42
 
43
- #: includes/class-wcj-call-for-price.php:175
44
- msgid "Create any custom price label for all products with empty price."
 
45
  msgstr ""
46
 
47
- #: includes/class-wcj-call-for-price.php:189
48
- #: includes/class-wcj-product-info.php:163
49
- msgid "Text to Show"
50
  msgstr ""
51
 
52
- #: includes/class-wcj-call-for-price.php:191
53
- msgid "This sets the html to output on empty price."
54
  msgstr ""
55
 
56
- #: includes/class-wcj-call-for-price.php:213
57
- msgid "Show on Single Product"
58
  msgstr ""
59
 
60
- #: includes/class-wcj-call-for-price.php:215
61
- msgid "Check to show on single products page"
62
  msgstr ""
63
 
64
- #: includes/class-wcj-call-for-price.php:229
65
- msgid "Show on Products Archive"
66
  msgstr ""
67
 
68
- #: includes/class-wcj-call-for-price.php:231
69
- msgid "Check to show on products archive page"
70
  msgstr ""
71
 
72
- #: includes/class-wcj-call-for-price.php:245
73
- msgid "Show on Home Page"
 
74
  msgstr ""
75
 
76
- #: includes/class-wcj-call-for-price.php:247
77
- msgid "Check to show on home page"
78
  msgstr ""
79
 
80
- #: includes/class-wcj-call-for-price.php:261
81
- msgid "Hide Sale! Tag"
82
  msgstr ""
83
 
84
- #: includes/class-wcj-call-for-price.php:263
85
- msgid "Hide the tag"
 
 
86
  msgstr ""
87
 
88
- #: includes/class-wcj-currencies.php:777
89
- msgid "Currency Symbol"
 
90
  msgstr ""
91
 
92
- #: includes/class-wcj-currencies.php:779
93
- msgid "This sets the currency symbol."
94
  msgstr ""
95
 
96
- #: includes/class-wcj-currencies.php:819
97
- msgid "Currencies Options"
98
  msgstr ""
99
 
100
- #: includes/class-wcj-currencies.php:825
101
- msgid "Currencies"
 
102
  msgstr ""
103
 
104
- #: includes/class-wcj-currencies.php:827
105
- msgid "Enable the Currencies feature"
106
  msgstr ""
107
 
108
- #: includes/class-wcj-currencies.php:829
109
- msgid "Add all world currencies, change currency symbol."
110
  msgstr ""
111
 
112
- #: includes/class-wcj-currencies.php:845
113
- msgid "Currency Symbol Options"
 
114
  msgstr ""
115
 
116
- #: includes/class-wcj-old-slugs.php:105
117
- msgid "Old Slugs Options"
118
  msgstr ""
119
 
120
- #: includes/class-wcj-old-slugs.php:111
121
- msgid "Old Slugs"
122
  msgstr ""
123
 
124
- #: includes/class-wcj-old-slugs.php:113
125
- msgid "Enable the Remove Old Product Slugs feature"
 
126
  msgstr ""
127
 
128
- #: includes/class-wcj-old-slugs.php:115
129
  msgid ""
130
- "Remove old product slugs. Tool is accessible through <a href=\"/wp-admin/"
131
- "admin.php?page=woocommerce-jetpack-old-slugs\">WooCommerce > Remove Old "
132
- "Slugs</a>."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  msgstr ""
134
 
135
- #: includes/class-wcj-price-labels.php:479
136
  msgid "Custom Price Labels Options"
137
  msgstr ""
138
 
139
- #: includes/class-wcj-price-labels.php:485
 
140
  msgid "Custom Price Labels"
141
  msgstr ""
142
 
143
- #: includes/class-wcj-price-labels.php:487
144
  msgid "Enable the Custom Price Labels feature"
145
  msgstr ""
146
 
147
- #: includes/class-wcj-price-labels.php:489
148
  msgid "Create any custom price label for any product."
149
  msgstr ""
150
 
151
- #: includes/class-wcj-product-info.php:111
152
- msgid "Product Info Options"
 
 
 
 
 
 
 
 
 
 
 
 
153
  msgstr ""
154
 
155
  #: includes/class-wcj-product-info.php:117
 
 
 
 
 
156
  msgid "Product Info"
157
  msgstr ""
158
 
159
- #: includes/class-wcj-product-info.php:119
160
  msgid "Enable the Product Info feature"
161
  msgstr ""
162
 
163
- #: includes/class-wcj-product-info.php:121
164
- msgid "Display total product sales etc."
165
  msgstr ""
166
 
167
- #: includes/class-wcj-product-info.php:139
168
- msgid "Total Sales Options"
169
  msgstr ""
170
 
171
- #: includes/class-wcj-product-info.php:145 includes/class-wcj-sorting.php:393
172
- #: includes/class-wcj-sorting.php:429 includes/class-wcj-sorting.php:465
173
- #: includes/class-wcj-sorting.php:501
174
- msgid "Enable"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  msgstr ""
176
 
177
- #: includes/class-wcj-product-info.php:147
178
- msgid "Enable Total Sales"
179
  msgstr ""
180
 
181
- #: includes/class-wcj-product-info.php:165
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  msgid ""
183
- "This sets the text to output for total sales. Default is \"Total Sales: "
184
- "[TOTALSALES]\""
185
  msgstr ""
186
 
187
- #: includes/class-wcj-product-info.php:171
188
- msgid "Total Sales: [TOTALSALES]"
189
  msgstr ""
190
 
191
- #: includes/class-wcj-sorting.php:131 includes/class-wcj-sorting.php:337
192
- #: includes/class-wcj-sorting.php:343
193
  msgid "Remove All Sorting"
194
  msgstr ""
195
 
196
- #: includes/class-wcj-sorting.php:141
197
  msgid "Completely remove sorting from the shop front end"
198
  msgstr ""
199
 
200
- #: includes/class-wcj-sorting.php:311
201
  msgid "Sorting Options"
202
  msgstr ""
203
 
204
- #: includes/class-wcj-sorting.php:317
205
  msgid "Sorting"
206
  msgstr ""
207
 
208
- #: includes/class-wcj-sorting.php:319
209
  msgid "Enable the Sorting feature"
210
  msgstr ""
211
 
212
- #: includes/class-wcj-sorting.php:321
213
  msgid "Add more sorting options or remove all sorting including default."
214
  msgstr ""
215
 
216
- #: includes/class-wcj-sorting.php:345
217
  msgid "Remove all sorting (including WooCommerce default)"
218
  msgstr ""
219
 
220
- #: includes/class-wcj-sorting.php:367
221
  msgid "Add More Sorting"
222
  msgstr ""
223
 
224
- #: includes/class-wcj-sorting.php:373 includes/class-wcj-sorting.php:391
225
  msgid "Sort by Name - Asc"
226
  msgstr ""
227
 
228
- #: includes/class-wcj-sorting.php:375 includes/class-wcj-sorting.php:411
229
- #: includes/class-wcj-sorting.php:447 includes/class-wcj-sorting.php:483
230
  msgid "Text visible at front end"
231
  msgstr ""
232
 
233
- #: includes/class-wcj-sorting.php:395 includes/class-wcj-sorting.php:431
234
- #: includes/class-wcj-sorting.php:467 includes/class-wcj-sorting.php:503
235
- msgid "Check to enable."
236
- msgstr ""
237
-
238
- #: includes/class-wcj-sorting.php:409 includes/class-wcj-sorting.php:427
239
  msgid "Sort by Name - Desc"
240
  msgstr ""
241
 
242
- #: includes/class-wcj-sorting.php:445 includes/class-wcj-sorting.php:463
243
  msgid "Sort by SKU - Asc"
244
  msgstr ""
245
 
246
- #: includes/class-wcj-sorting.php:481 includes/class-wcj-sorting.php:499
247
  msgid "Sort by SKU - Desc"
248
  msgstr ""
249
 
250
- #: woocommerce-jetpack.php:211
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  msgid "Install WooCommerce Jetpack Plus to unlock all features"
252
  msgstr ""
253
 
254
- #: woocommerce-jetpack.php:213
255
  msgid ""
256
  "Some settings fields are locked and you will need %s to modify all locked "
257
  "fields."
258
  msgstr ""
259
 
260
- #: woocommerce-jetpack.php:215
261
- msgid "Buy now just for %s"
262
  msgstr ""
263
 
264
- #: woocommerce-jetpack.php:215
265
  msgid "Visit %s"
266
  msgstr ""
267
 
268
- #: woocommerce-jetpack.php:223
269
  msgid ""
270
  "Get <a href=\"http://woojetpack.com/plus/\" target=\"_blank\">WooCommerce "
271
  "Jetpack Plus</a> to change value."
272
  msgstr ""
273
 
274
- #: woocommerce-jetpack.php:229
275
  msgid ""
276
  "Get <a href=\"http://woojetpack.com/plus/\" target=\"_blank\">WooCommerce "
277
  "Jetpack Plus</a> to change values below."
278
  msgstr ""
279
 
280
- #: woocommerce-jetpack.php:235
281
  msgid "Get WooCommerce Jetpack Plus to change value."
282
  msgstr ""
283
 
284
- #. Plugin Name of the plugin/theme
285
- msgid "WooCommerce Jetpack"
286
- msgstr ""
287
-
288
  #. Plugin URI of the plugin/theme
289
  msgid "http://woojetpack.com"
290
  msgstr ""
@@ -294,7 +1574,7 @@ msgid "Supercharge your WooCommerce site with these awesome powerful features."
294
  msgstr ""
295
 
296
  #. Author of the plugin/theme
297
- msgid "Algoritmika Ltd."
298
  msgstr ""
299
 
300
  #. Author URI of the plugin/theme
2
  # This file is distributed under the same license as the WooCommerce Jetpack package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Jetpack 1.5.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/woocommerce-jetpack\n"
7
+ "POT-Creation-Date: 2014-09-14 02:05:54+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
21
  msgstr ""
22
 
23
  #: includes/admin/settings/class-wc-settings-jetpack.php:78
24
+ msgid "WooCommerce Jetpack Dashboard"
25
  msgstr ""
26
 
27
+ #: includes/admin/tools/class-wcj-tools.php:34
28
+ msgid "Tools Dashboard"
29
  msgstr ""
30
 
31
+ #: includes/class-wcj-add-to-cart.php:137
32
+ msgid "Add to Cart Options"
33
+ msgstr ""
34
+
35
+ #: includes/class-wcj-add-to-cart.php:140
36
+ #: includes/class-wcj-add-to-cart.php:311
37
+ msgid "Add to Cart"
38
+ msgstr ""
39
+
40
+ #: includes/class-wcj-add-to-cart.php:141
41
+ msgid "Enable the Add to Cart feature"
42
+ msgstr ""
43
+
44
+ #: includes/class-wcj-add-to-cart.php:142
45
+ msgid ""
46
+ "Set any url to redirect to on add to cart. Change text for Add to cart "
47
+ "button by product type. Display \"Already in cart\" instead of \"Add to cart"
48
+ "\" button if current product is already in cart."
49
+ msgstr ""
50
+
51
+ #: includes/class-wcj-add-to-cart.php:154
52
+ msgid "Add to Cart Redirect Options"
53
+ msgstr ""
54
+
55
+ #: includes/class-wcj-add-to-cart.php:154
56
+ msgid ""
57
+ "This section lets you set any url to redirect to after successfully adding "
58
+ "product to cart. Leave empty to redirect to checkout page (skipping the cart "
59
+ "page)."
60
+ msgstr ""
61
+
62
+ #: includes/class-wcj-add-to-cart.php:157
63
+ msgid "Redirect"
64
+ msgstr ""
65
+
66
+ #: includes/class-wcj-add-to-cart.php:158
67
+ #: includes/class-wcj-add-to-cart.php:180 includes/class-wcj-cart.php:131
68
+ #: includes/class-wcj-cart.php:164 includes/class-wcj-orders.php:386
69
+ #: includes/class-wcj-orders.php:472 includes/class-wcj-orders.php:485
70
+ #: includes/class-wcj-product-info.php:217 includes/class-wcj-sorting.php:206
71
+ #: includes/class-wcj-sorting.php:224 includes/class-wcj-sorting.php:242
72
+ #: includes/class-wcj-sorting.php:260
73
+ msgid "Enable"
74
+ msgstr ""
75
+
76
+ #: includes/class-wcj-add-to-cart.php:165
77
+ msgid "Redirect URL"
78
+ msgstr ""
79
+
80
+ #: includes/class-wcj-add-to-cart.php:166
81
+ msgid "Redirect URL. Leave empty to redirect to checkout."
82
+ msgstr ""
83
+
84
+ #: includes/class-wcj-add-to-cart.php:176
85
+ msgid "Add to Cart Button Text Options"
86
+ msgstr ""
87
+
88
+ #: includes/class-wcj-add-to-cart.php:179
89
+ msgid "Add to cart text"
90
+ msgstr ""
91
+
92
+ #: includes/class-wcj-add-to-cart.php:190
93
+ msgid "Simple product"
94
+ msgstr ""
95
+
96
+ #: includes/class-wcj-add-to-cart.php:195
97
+ msgid "Variable product"
98
+ msgstr ""
99
+
100
+ #: includes/class-wcj-add-to-cart.php:200
101
+ msgid "External product"
102
+ msgstr ""
103
+
104
+ #: includes/class-wcj-add-to-cart.php:205
105
+ msgid "Grouped product"
106
+ msgstr ""
107
+
108
+ #: includes/class-wcj-add-to-cart.php:210
109
+ msgid "Other product"
110
+ msgstr ""
111
+
112
+ #: includes/class-wcj-add-to-cart.php:231
113
+ msgid "Enable on single product pages"
114
+ msgstr ""
115
+
116
+ #: includes/class-wcj-add-to-cart.php:250
117
+ msgid "Enable on product archives"
118
+ msgstr ""
119
+
120
+ #: includes/class-wcj-add-to-cart.php:275
121
+ msgid "Enable \"Already in cart\" on single product pages"
122
+ msgstr ""
123
+
124
+ #: includes/class-wcj-add-to-cart.php:294
125
+ msgid "Enable \"Already in cart\" on product archives"
126
+ msgstr ""
127
+
128
+ #: includes/class-wcj-call-for-price.php:72
129
  msgid "Call for Price Options"
130
  msgstr ""
131
 
132
+ #: includes/class-wcj-call-for-price.php:72
133
+ msgid ""
134
+ "Leave price empty when adding or editing products. Then set the options here."
135
+ msgstr ""
136
+
137
+ #: includes/class-wcj-call-for-price.php:75
138
+ #: includes/class-wcj-call-for-price.php:158
139
+ msgid "Call for Price"
140
+ msgstr ""
141
+
142
+ #: includes/class-wcj-call-for-price.php:76
143
+ msgid "Enable the Call for Price feature"
144
+ msgstr ""
145
+
146
+ #: includes/class-wcj-call-for-price.php:77
147
+ msgid "Create any custom price label for all products with empty price."
148
+ msgstr ""
149
+
150
+ #: includes/class-wcj-call-for-price.php:84
151
+ msgid "Label to Show on Single"
152
+ msgstr ""
153
+
154
+ #: includes/class-wcj-call-for-price.php:85
155
+ #: includes/class-wcj-call-for-price.php:97
156
+ #: includes/class-wcj-call-for-price.php:109
157
+ #: includes/class-wcj-call-for-price.php:121
158
+ msgid "This sets the html to output on empty price. Leave blank to disable."
159
+ msgstr ""
160
+
161
+ #: includes/class-wcj-call-for-price.php:96
162
+ msgid "Label to Show on Archives"
163
+ msgstr ""
164
+
165
+ #: includes/class-wcj-call-for-price.php:108
166
+ msgid "Label to Show on Homepage"
167
+ msgstr ""
168
+
169
+ #: includes/class-wcj-call-for-price.php:120
170
+ msgid "Label to Show on Related"
171
+ msgstr ""
172
+
173
+ #: includes/class-wcj-call-for-price.php:132
174
+ msgid "Hide Sale! Tag"
175
+ msgstr ""
176
+
177
+ #: includes/class-wcj-call-for-price.php:133
178
+ msgid "Hide the tag"
179
+ msgstr ""
180
+
181
+ #: includes/class-wcj-cart.php:114
182
+ msgid "Cart Options"
183
+ msgstr ""
184
+
185
+ #: includes/class-wcj-cart.php:117 includes/class-wcj-cart.php:182
186
+ msgid "Cart"
187
+ msgstr ""
188
+
189
+ #: includes/class-wcj-cart.php:118
190
+ msgid "Enable the Cart feature"
191
+ msgstr ""
192
+
193
+ #: includes/class-wcj-cart.php:119
194
+ msgid "Add empty cart button, automatically add to cart on product visit."
195
+ msgstr ""
196
+
197
+ #: includes/class-wcj-cart.php:127
198
+ msgid "Empty Cart Options"
199
+ msgstr ""
200
+
201
+ #: includes/class-wcj-cart.php:127
202
+ msgid ""
203
+ "This section lets you add and customize \"Empty Cart\" button to cart page."
204
+ msgstr ""
205
+
206
+ #: includes/class-wcj-cart.php:130
207
+ msgid "Empty Cart"
208
+ msgstr ""
209
+
210
+ #: includes/class-wcj-cart.php:138
211
+ msgid "Empty Cart Button Text"
212
+ msgstr ""
213
+
214
+ #: includes/class-wcj-cart.php:148
215
+ msgid "Wrapping DIV style"
216
+ msgstr ""
217
+
218
+ #: includes/class-wcj-cart.php:149
219
+ msgid "Style for the button's div. Default is \"float: right;\""
220
+ msgstr ""
221
+
222
+ #: includes/class-wcj-cart.php:160 includes/class-wcj-cart.php:163
223
+ msgid "Add to Cart on Visit"
224
+ msgstr ""
225
+
226
+ #: includes/class-wcj-cart.php:160
227
+ msgid ""
228
+ "This section lets you enable automatically adding product to cart on "
229
+ "visiting the product page. Product is only added once, so if it is already "
230
+ "in cart - duplicate product is not added. "
231
+ msgstr ""
232
+
233
+ #: includes/class-wcj-checkout.php:148
234
+ msgid "Checkout Options"
235
+ msgstr ""
236
+
237
+ #: includes/class-wcj-checkout.php:151
238
+ msgid "Checkout"
239
+ msgstr ""
240
+
241
+ #: includes/class-wcj-checkout.php:152
242
+ msgid "Enable the Checkout feature"
243
+ msgstr ""
244
+
245
+ #: includes/class-wcj-checkout.php:153
246
+ msgid ""
247
+ "Customize checkout fields. Disable/enable fields, set required, change "
248
+ "labels and/or placeholders."
249
+ msgstr ""
250
+
251
+ #: includes/class-wcj-checkout.php:163
252
+ msgid "Place order (Order now) Button"
253
+ msgstr ""
254
+
255
+ #: includes/class-wcj-checkout.php:166
256
+ msgid "Text"
257
+ msgstr ""
258
+
259
+ #: includes/class-wcj-checkout.php:167
260
+ msgid "leave blank for WooCommerce default"
261
+ msgstr ""
262
+
263
+ #: includes/class-wcj-checkout.php:168
264
+ msgid "Button on the checkout page."
265
+ msgstr ""
266
+
267
+ #: includes/class-wcj-checkout.php:177
268
+ msgid "Checkout Fields Options"
269
+ msgstr ""
270
+
271
+ #: includes/class-wcj-checkout.php:177
272
+ msgid ""
273
+ "This section lets you customize the checkout fields: change label, "
274
+ "placeholder, set required, or remove any field."
275
+ msgstr ""
276
+
277
+ #: includes/class-wcj-checkout.php:243
278
+ msgid "Leave blank for WooCommerce defaults."
279
+ msgstr ""
280
+
281
+ #: includes/class-wcj-currencies.php:389
282
+ msgid "Currency Symbol"
283
+ msgstr ""
284
+
285
+ #: includes/class-wcj-currencies.php:390
286
+ msgid "This sets the currency symbol."
287
+ msgstr ""
288
+
289
+ #: includes/class-wcj-currencies.php:411
290
+ msgid "Currencies Options"
291
+ msgstr ""
292
+
293
+ #: includes/class-wcj-currencies.php:414 includes/class-wcj-currencies.php:445
294
+ msgid "Currencies"
295
+ msgstr ""
296
+
297
+ #: includes/class-wcj-currencies.php:415
298
+ msgid "Enable the Currencies feature"
299
+ msgstr ""
300
+
301
+ #: includes/class-wcj-currencies.php:416
302
+ msgid "Add all world currencies, change currency symbol."
303
+ msgstr ""
304
+
305
+ #: includes/class-wcj-currencies.php:424
306
+ msgid "Currency Symbol Options"
307
+ msgstr ""
308
+
309
+ #: includes/class-wcj-emails.php:60
310
+ msgid "WooCommerce Jetpack: Email Forwarding Options"
311
+ msgstr ""
312
+
313
+ #: includes/class-wcj-emails.php:60 includes/class-wcj-emails.php:133
314
+ msgid ""
315
+ "This section lets you add another email recipient(s) to all WooCommerce "
316
+ "emails. Leave blank to disable."
317
+ msgstr ""
318
+
319
+ #: includes/class-wcj-emails.php:64 includes/class-wcj-emails.php:136
320
+ msgid "Cc Email"
321
+ msgstr ""
322
+
323
+ #: includes/class-wcj-emails.php:66 includes/class-wcj-emails.php:138
324
+ msgid "Cc to email, e.g. youremail@yourdomain.com. Leave blank to disable."
325
+ msgstr ""
326
+
327
+ #: includes/class-wcj-emails.php:76 includes/class-wcj-emails.php:147
328
+ msgid "Bcc Email"
329
+ msgstr ""
330
+
331
+ #: includes/class-wcj-emails.php:78 includes/class-wcj-emails.php:149
332
+ msgid "Bcc to email, e.g. youremail@yourdomain.com. Leave blank to disable."
333
+ msgstr ""
334
+
335
+ #: includes/class-wcj-emails.php:120
336
+ msgid "Emails Options"
337
+ msgstr ""
338
+
339
+ #: includes/class-wcj-emails.php:123 includes/class-wcj-emails.php:168
340
+ msgid "Emails"
341
+ msgstr ""
342
+
343
+ #: includes/class-wcj-emails.php:124
344
+ msgid "Enable the Emails feature"
345
+ msgstr ""
346
+
347
+ #: includes/class-wcj-emails.php:125
348
+ msgid "Add another email recipient(s) to all WooCommerce emails."
349
+ msgstr ""
350
+
351
+ #: includes/class-wcj-emails.php:133
352
+ msgid "Email Forwarding Options"
353
+ msgstr ""
354
+
355
+ #: includes/class-wcj-old-slugs.php:60
356
+ msgid "Remove Old Slugs"
357
+ msgstr ""
358
+
359
+ #: includes/class-wcj-old-slugs.php:82
360
+ msgid "Old Slugs Options"
361
+ msgstr ""
362
+
363
+ #: includes/class-wcj-old-slugs.php:85 includes/class-wcj-old-slugs.php:105
364
+ msgid "Old Slugs"
365
+ msgstr ""
366
+
367
+ #: includes/class-wcj-old-slugs.php:86
368
+ msgid "Enable the Remove Old Product Slugs feature"
369
+ msgstr ""
370
+
371
+ #: includes/class-wcj-old-slugs.php:88
372
+ msgid "Remove old product slugs."
373
+ msgstr ""
374
+
375
+ #: includes/class-wcj-old-slugs.php:160
376
+ msgid "WooCommerce Jetpack - Remove Old Product Slugs"
377
+ msgstr ""
378
+
379
+ #: includes/class-wcj-old-slugs.php:161
380
+ msgid "Tool removes old slugs/permalinks from database."
381
+ msgstr ""
382
+
383
+ #: includes/class-wcj-old-slugs.php:166
384
+ msgid "Old products slugs found:"
385
+ msgstr ""
386
+
387
+ #: includes/class-wcj-old-slugs.php:174
388
+ msgid "None-products slugs found:"
389
+ msgstr ""
390
+
391
+ #: includes/class-wcj-old-slugs.php:181
392
+ msgid "No old slugs found."
393
+ msgstr ""
394
+
395
+ #: includes/class-wcj-orders.php:26
396
+ msgctxt "Order status"
397
+ msgid "Pending payment"
398
+ msgstr ""
399
+
400
+ #: includes/class-wcj-orders.php:27
401
+ msgctxt "Order status"
402
+ msgid "Processing"
403
+ msgstr ""
404
+
405
+ #: includes/class-wcj-orders.php:28
406
+ msgctxt "Order status"
407
+ msgid "On hold"
408
+ msgstr ""
409
+
410
+ #: includes/class-wcj-orders.php:29
411
+ msgctxt "Order status"
412
+ msgid "Completed"
413
+ msgstr ""
414
+
415
+ #: includes/class-wcj-orders.php:30
416
+ msgctxt "Order status"
417
+ msgid "Cancelled"
418
+ msgstr ""
419
+
420
+ #: includes/class-wcj-orders.php:31
421
+ msgctxt "Order status"
422
+ msgid "Refunded"
423
+ msgstr ""
424
+
425
+ #: includes/class-wcj-orders.php:32
426
+ msgctxt "Order status"
427
+ msgid "Failed"
428
+ msgstr ""
429
+
430
+ #: includes/class-wcj-orders.php:116 includes/class-wcj-orders.php:481
431
+ #: includes/class-wcj-orders.php:484
432
+ msgid "Custom Statuses"
433
+ msgstr ""
434
+
435
+ #: includes/class-wcj-orders.php:146
436
+ msgid "Status slug is empty. Status not added."
437
+ msgstr ""
438
+
439
+ #: includes/class-wcj-orders.php:148
440
+ msgid "Status label is empty. Status not added."
441
+ msgstr ""
442
+
443
+ #: includes/class-wcj-orders.php:154
444
+ msgid "Duplicate slug. Status not added."
445
+ msgstr ""
446
+
447
+ #: includes/class-wcj-orders.php:160
448
+ msgid "New status have been successfully added!"
449
+ msgstr ""
450
+
451
+ #: includes/class-wcj-orders.php:162
452
+ msgid "Status was not added."
453
+ msgstr ""
454
+
455
+ #: includes/class-wcj-orders.php:178
456
+ msgid "Status have been successfully deleted."
457
+ msgstr ""
458
+
459
+ #: includes/class-wcj-orders.php:180
460
+ msgid "Delete failed."
461
+ msgstr ""
462
+
463
+ #: includes/class-wcj-orders.php:183
464
+ msgid "WooCommerce Jetpack - Custom Statuses"
465
+ msgstr ""
466
+
467
+ #: includes/class-wcj-orders.php:184
468
+ msgid ""
469
+ "The tool lets you add or delete any custom status for WooCommerce orders."
470
+ msgstr ""
471
+
472
+ #: includes/class-wcj-orders.php:186
473
+ msgid "Statuses"
474
+ msgstr ""
475
+
476
+ #: includes/class-wcj-orders.php:189
477
+ msgid "Slug"
478
+ msgstr ""
479
+
480
+ #: includes/class-wcj-orders.php:190
481
+ msgid "Label"
482
+ msgstr ""
483
+
484
+ #: includes/class-wcj-orders.php:192 includes/class-wcj-orders.php:202
485
+ msgid "Delete"
486
+ msgstr ""
487
+
488
+ #: includes/class-wcj-orders.php:235
489
+ msgid "The tool renumerates all orders."
490
+ msgstr ""
491
+
492
+ #: includes/class-wcj-orders.php:244
493
+ msgid "Renumerate orders"
494
+ msgstr ""
495
+
496
+ #: includes/class-wcj-orders.php:259
497
+ msgid "WooCommerce Jetpack - Renumerate Orders"
498
+ msgstr ""
499
+
500
+ #: includes/class-wcj-orders.php:260
501
+ msgid ""
502
+ "The tool renumerates all orders. Press the button below to renumerate all "
503
+ "existing orders starting from order counter settings in WooCommerce > "
504
+ "Settings > Jetpack > Order Numbers."
505
+ msgstr ""
506
+
507
+ #: includes/class-wcj-orders.php:369
508
+ msgid "Orders Options"
509
+ msgstr ""
510
+
511
+ #: includes/class-wcj-orders.php:372 includes/class-wcj-orders.php:503
512
+ msgid "Orders"
513
+ msgstr ""
514
+
515
+ #: includes/class-wcj-orders.php:373
516
+ msgid "Enable the Orders feature"
517
+ msgstr ""
518
+
519
+ #: includes/class-wcj-orders.php:374
520
+ msgid ""
521
+ "Sequential order numbering, custom order number prefix and number width. "
522
+ "Minimum order amount."
523
+ msgstr ""
524
+
525
+ #: includes/class-wcj-orders.php:382 includes/class-wcj-orders.php:385
526
+ msgid "Order Numbers"
527
+ msgstr ""
528
+
529
+ #: includes/class-wcj-orders.php:382
530
+ msgid ""
531
+ "This section lets you enable sequential order numbering, set custom number "
532
+ "prefix and width."
533
+ msgstr ""
534
+
535
+ #: includes/class-wcj-orders.php:393
536
+ msgid "Next Order Number"
537
+ msgstr ""
538
+
539
+ #: includes/class-wcj-orders.php:394
540
+ msgid "Next new order will be given this number."
541
+ msgstr ""
542
+
543
+ #: includes/class-wcj-orders.php:401
544
+ msgid "Order Number Prefix"
545
+ msgstr ""
546
+
547
+ #: includes/class-wcj-orders.php:403
548
+ msgid ""
549
+ "Prefix before order number (optional). This will change the prefixes for all "
550
+ "existing orders."
551
+ msgstr ""
552
+
553
+ #: includes/class-wcj-orders.php:412
554
+ msgid "Order Number Width"
555
+ msgstr ""
556
+
557
+ #: includes/class-wcj-orders.php:414
558
+ msgid ""
559
+ "Minimum width of number without prefix (zeros will be added to the left "
560
+ "side). This will change the minimum width of order number for all existing "
561
+ "orders. E.g. set to 5 to have order number displayed as 00001 instead of 1. "
562
+ "Leave zero to disable."
563
+ msgstr ""
564
+
565
+ #: includes/class-wcj-orders.php:424
566
+ msgid "Order Minimum Amount"
567
+ msgstr ""
568
+
569
+ #: includes/class-wcj-orders.php:424
570
+ msgid "This section lets you set minimum order amount."
571
+ msgstr ""
572
+
573
+ #: includes/class-wcj-orders.php:427
574
+ msgid "Amount"
575
+ msgstr ""
576
+
577
+ #: includes/class-wcj-orders.php:428
578
+ msgid "Minimum order amount. Set to 0 to disable."
579
+ msgstr ""
580
+
581
+ #: includes/class-wcj-orders.php:435
582
+ msgid "Error message"
583
+ msgstr ""
584
+
585
+ #: includes/class-wcj-orders.php:437 includes/class-wcj-orders.php:457
586
+ msgid ""
587
+ "Message to customer if order is below minimum amount. Default: You must have "
588
+ "an order with a minimum of %s to place your order, your current order total "
589
+ "is %s."
590
+ msgstr ""
591
+
592
+ #: includes/class-wcj-orders.php:447
593
+ msgid "Add notice to cart page also"
594
+ msgstr ""
595
+
596
+ #: includes/class-wcj-orders.php:448
597
+ msgid "Add"
598
+ msgstr ""
599
+
600
+ #: includes/class-wcj-orders.php:455
601
+ msgid "Message on cart page"
602
+ msgstr ""
603
+
604
+ #: includes/class-wcj-orders.php:468
605
+ msgid "Orders Auto-Complete"
606
+ msgstr ""
607
+
608
+ #: includes/class-wcj-orders.php:468
609
+ msgid "This section lets you enable orders auto-complete function."
610
+ msgstr ""
611
+
612
+ #: includes/class-wcj-orders.php:471
613
+ msgid "Auto-complete all WooCommerce orders"
614
+ msgstr ""
615
+
616
+ #: includes/class-wcj-orders.php:473
617
+ msgid ""
618
+ "E.g. if you sell digital products then you are not shipping anything and you "
619
+ "may want auto-complete all your orders."
620
+ msgstr ""
621
+
622
+ #: includes/class-wcj-orders.php:481
623
+ msgid "This section lets you enable custom statuses tool."
624
+ msgstr ""
625
+
626
+ #: includes/class-wcj-payment-gateways.php:60
627
+ msgid "WooCommerce Jetpack: Default WooCommerce Payment Gateways Options"
628
+ msgstr ""
629
+
630
+ #: includes/class-wcj-payment-gateways.php:60
631
+ #: includes/class-wcj-payment-gateways.php:129
632
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:105
633
+ msgid ""
634
+ "If you want to show an image next to the gateway's name on the frontend, "
635
+ "enter a URL to an image."
636
+ msgstr ""
637
+
638
+ #: includes/class-wcj-payment-gateways.php:115
639
+ msgid "Payment Gateways Options"
640
+ msgstr ""
641
+
642
+ #: includes/class-wcj-payment-gateways.php:118
643
+ #: includes/class-wcj-payment-gateways.php:161
644
+ msgid "Payment Gateways"
645
+ msgstr ""
646
+
647
+ #: includes/class-wcj-payment-gateways.php:119
648
+ msgid "Enable the Payment Gateways feature"
649
+ msgstr ""
650
+
651
+ #: includes/class-wcj-payment-gateways.php:120
652
+ msgid ""
653
+ "Add custom payment gateway, change icons (images) for all default "
654
+ "WooCommerce payment gateways."
655
+ msgstr ""
656
+
657
+ #: includes/class-wcj-payment-gateways.php:129
658
+ msgid "Default WooCommerce Payment Gateways Options"
659
+ msgstr ""
660
+
661
+ #: includes/class-wcj-pdf-invoices.php:62
662
+ #: includes/class-wcj-pdf-invoices.php:67
663
+ msgid "Invoice"
664
+ msgstr ""
665
+
666
+ #: includes/class-wcj-pdf-invoices.php:501
667
+ #: includes/class-wcj-pdf-invoices.php:507
668
+ msgid "PDF Invoice"
669
+ msgstr ""
670
+
671
+ #: includes/class-wcj-pdf-invoices.php:532
672
+ msgid "PDF Invoices Options"
673
+ msgstr ""
674
+
675
+ #: includes/class-wcj-pdf-invoices.php:535
676
+ #: includes/class-wcj-pdf-invoices.php:953
677
+ msgid "PDF Invoices"
678
+ msgstr ""
679
+
680
+ #: includes/class-wcj-pdf-invoices.php:536
681
+ msgid "Enable the PDF Invoices feature"
682
+ msgstr ""
683
+
684
+ #: includes/class-wcj-pdf-invoices.php:537
685
+ msgid "Add PDF invoices for the store owners and for the customers."
686
+ msgstr ""
687
+
688
+ #: includes/class-wcj-pdf-invoices.php:545
689
+ msgid "Invoice Header"
690
+ msgstr ""
691
+
692
+ #: includes/class-wcj-pdf-invoices.php:545
693
+ msgid ""
694
+ "This section lets you set texts for required invoice number and date, and "
695
+ "optional logo, header text, invoice due and fulfillment dates."
696
+ msgstr ""
697
+
698
+ #: includes/class-wcj-pdf-invoices.php:548
699
+ msgid "Your Logo URL"
700
+ msgstr ""
701
+
702
+ #: includes/class-wcj-pdf-invoices.php:549
703
+ msgid ""
704
+ "Enter a URL to an image you want to show in the invoice's header. Upload "
705
+ "your image using the <a href=\"/wp-admin/media-new.php\">media uploader</a>."
706
+ msgstr ""
707
+
708
+ #: includes/class-wcj-pdf-invoices.php:550
709
+ #: includes/class-wcj-pdf-invoices.php:559
710
+ #: includes/class-wcj-pdf-invoices.php:597
711
+ #: includes/class-wcj-pdf-invoices.php:626
712
+ #: includes/class-wcj-pdf-invoices.php:690
713
+ #: includes/class-wcj-pdf-invoices.php:701
714
+ #: includes/class-wcj-pdf-invoices.php:743
715
+ #: includes/class-wcj-pdf-invoices.php:752
716
+ #: includes/class-wcj-pdf-invoices.php:761
717
+ #: includes/class-wcj-pdf-invoices.php:770
718
+ #: includes/class-wcj-pdf-invoices.php:779
719
+ #: includes/class-wcj-pdf-invoices.php:788
720
+ #: includes/class-wcj-pdf-invoices.php:868
721
+ #: includes/class-wcj-pdf-invoices.php:877
722
+ msgid "Leave blank to disable"
723
+ msgstr ""
724
+
725
+ #: includes/class-wcj-pdf-invoices.php:558
726
+ msgid "Header Text"
727
+ msgstr ""
728
+
729
+ #: includes/class-wcj-pdf-invoices.php:560
730
+ msgid "Default: INVOICE"
731
+ msgstr ""
732
+
733
+ #: includes/class-wcj-pdf-invoices.php:562
734
+ msgid "INVOICE"
735
+ msgstr ""
736
+
737
+ #: includes/class-wcj-pdf-invoices.php:568
738
+ msgid "Invoice Number"
739
+ msgstr ""
740
+
741
+ #: includes/class-wcj-pdf-invoices.php:569
742
+ msgid "Default: Invoice number"
743
+ msgstr ""
744
+
745
+ #: includes/class-wcj-pdf-invoices.php:571
746
+ msgid "Invoice number"
747
+ msgstr ""
748
+
749
+ #: includes/class-wcj-pdf-invoices.php:577
750
+ msgid "Invoice Date"
751
+ msgstr ""
752
+
753
+ #: includes/class-wcj-pdf-invoices.php:578
754
+ msgid "Default: Invoice date"
755
+ msgstr ""
756
+
757
+ #: includes/class-wcj-pdf-invoices.php:580
758
+ msgid "Invoice date"
759
+ msgstr ""
760
+
761
+ #: includes/class-wcj-pdf-invoices.php:596
762
+ msgid "Default: Invoice due date"
763
+ msgstr ""
764
+
765
+ #: includes/class-wcj-pdf-invoices.php:599
766
+ msgid "Invoice due date"
767
+ msgstr ""
768
+
769
+ #: includes/class-wcj-pdf-invoices.php:606
770
+ #: includes/class-wcj-pdf-invoices.php:635
771
+ msgid "days"
772
+ msgstr ""
773
+
774
+ #: includes/class-wcj-pdf-invoices.php:625
775
+ msgid "Default: Invoice fulfillment date"
776
+ msgstr ""
777
+
778
+ #: includes/class-wcj-pdf-invoices.php:628
779
+ msgid "Invoice fulfillment date"
780
+ msgstr ""
781
+
782
+ #: includes/class-wcj-pdf-invoices.php:645
783
+ msgid "Seller and Buyer Info"
784
+ msgstr ""
785
+
786
+ #: includes/class-wcj-pdf-invoices.php:648
787
+ #: includes/class-wcj-pdf-invoices.php:651
788
+ msgid "Seller"
789
+ msgstr ""
790
+
791
+ #: includes/class-wcj-pdf-invoices.php:657
792
+ msgid "Your business information"
793
+ msgstr ""
794
+
795
+ #: includes/class-wcj-pdf-invoices.php:659
796
+ msgid "New lines are added automatically."
797
+ msgstr ""
798
+
799
+ #: includes/class-wcj-pdf-invoices.php:661
800
+ msgid "<strong>Company Name</strong>"
801
+ msgstr ""
802
+
803
+ #: includes/class-wcj-pdf-invoices.php:667
804
+ #: includes/class-wcj-pdf-invoices.php:670
805
+ msgid "Buyer"
806
+ msgstr ""
807
+
808
+ #: includes/class-wcj-pdf-invoices.php:677
809
+ #: includes/class-wcj-pdf-invoices.php:683
810
+ msgid "Items"
811
+ msgstr ""
812
+
813
+ #: includes/class-wcj-pdf-invoices.php:680
814
+ msgid "Items Table Heading Text"
815
+ msgstr ""
816
+
817
+ #: includes/class-wcj-pdf-invoices.php:689
818
+ msgid "Shipping as Item"
819
+ msgstr ""
820
+
821
+ #: includes/class-wcj-pdf-invoices.php:691
822
+ msgid "Display shipping as item"
823
+ msgstr ""
824
+
825
+ #: includes/class-wcj-pdf-invoices.php:700
826
+ msgid "Discount as Item"
827
+ msgstr ""
828
+
829
+ #: includes/class-wcj-pdf-invoices.php:702
830
+ msgid "Display discount as item"
831
+ msgstr ""
832
+
833
+ #: includes/class-wcj-pdf-invoices.php:712
834
+ msgid "Items Columns"
835
+ msgstr ""
836
+
837
+ #: includes/class-wcj-pdf-invoices.php:712
838
+ msgid ""
839
+ "This section lets you set column names in invoice items table. You can "
840
+ "disable some columns by leaving blank column name."
841
+ msgstr ""
842
+
843
+ #: includes/class-wcj-pdf-invoices.php:715
844
+ #: includes/class-wcj-pdf-invoices.php:718
845
+ msgid "Nr."
846
  msgstr ""
847
 
848
+ #: includes/class-wcj-pdf-invoices.php:724
849
+ #: includes/class-wcj-pdf-invoices.php:727
850
+ msgid "Item Name"
851
  msgstr ""
852
 
853
+ #: includes/class-wcj-pdf-invoices.php:733
854
+ #: includes/class-wcj-pdf-invoices.php:736
855
+ msgid "Qty"
856
  msgstr ""
857
 
858
+ #: includes/class-wcj-pdf-invoices.php:742
859
+ msgid "Single Item Price (TAX excl.)"
 
860
  msgstr ""
861
 
862
+ #: includes/class-wcj-pdf-invoices.php:745
863
+ msgid "Price (TAX excl.)"
864
  msgstr ""
865
 
866
+ #: includes/class-wcj-pdf-invoices.php:751
867
+ msgid "Single Item TAX"
868
  msgstr ""
869
 
870
+ #: includes/class-wcj-pdf-invoices.php:754
871
+ msgid "TAX"
872
  msgstr ""
873
 
874
+ #: includes/class-wcj-pdf-invoices.php:760
875
+ msgid "Single Item Price (TAX incl.)"
876
  msgstr ""
877
 
878
+ #: includes/class-wcj-pdf-invoices.php:763
879
+ msgid "Price (TAX incl.)"
880
  msgstr ""
881
 
882
+ #: includes/class-wcj-pdf-invoices.php:769
883
+ #: includes/class-wcj-pdf-invoices.php:772
884
+ msgid "Sum (TAX excl.)"
885
  msgstr ""
886
 
887
+ #: includes/class-wcj-pdf-invoices.php:778
888
+ msgid "Tax Percent"
889
  msgstr ""
890
 
891
+ #: includes/class-wcj-pdf-invoices.php:781
892
+ msgid "Taxes %"
893
  msgstr ""
894
 
895
+ #: includes/class-wcj-pdf-invoices.php:787
896
+ #: includes/class-wcj-pdf-invoices.php:790
897
+ #: includes/class-wcj-pdf-invoices.php:848
898
+ msgid "Taxes"
899
  msgstr ""
900
 
901
+ #: includes/class-wcj-pdf-invoices.php:796
902
+ #: includes/class-wcj-pdf-invoices.php:799
903
+ msgid "Sum (TAX incl.)"
904
  msgstr ""
905
 
906
+ #: includes/class-wcj-pdf-invoices.php:806
907
+ msgid "Totals"
908
  msgstr ""
909
 
910
+ #: includes/class-wcj-pdf-invoices.php:806
911
+ msgid "This section lets you set texts for totals table."
912
  msgstr ""
913
 
914
+ #: includes/class-wcj-pdf-invoices.php:809
915
+ #: includes/class-wcj-pdf-invoices.php:812
916
+ msgid "Order Subtotal"
917
  msgstr ""
918
 
919
+ #: includes/class-wcj-pdf-invoices.php:810
920
+ msgid "Order Subtotal = Total - Taxes - Shipping - Discounts"
921
  msgstr ""
922
 
923
+ #: includes/class-wcj-pdf-invoices.php:818
924
+ msgid "Order Shipping Price"
925
  msgstr ""
926
 
927
+ #: includes/class-wcj-pdf-invoices.php:821 includes/class-wcj-shipping.php:151
928
+ #: includes/class-wcj-shipping.php:196
929
+ msgid "Shipping"
930
  msgstr ""
931
 
932
+ #: includes/class-wcj-pdf-invoices.php:827
933
+ msgid "Total Discount"
934
  msgstr ""
935
 
936
+ #: includes/class-wcj-pdf-invoices.php:830
937
+ msgid "Discount"
938
  msgstr ""
939
 
940
+ #: includes/class-wcj-pdf-invoices.php:836
941
+ #: includes/class-wcj-pdf-invoices.php:839
942
+ msgid "Order Total (TAX excl.)"
943
  msgstr ""
944
 
945
+ #: includes/class-wcj-pdf-invoices.php:837
946
  msgid ""
947
+ "Order Total (TAX excl.) = Total - Taxes. Shown only if discount or shipping "
948
+ "is not equal to zero. In other words: if \"Order Total (TAX excl.)\" not "
949
+ "equal to \"Order Subtotal\""
950
+ msgstr ""
951
+
952
+ #: includes/class-wcj-pdf-invoices.php:845
953
+ msgid "Order Total Taxes"
954
+ msgstr ""
955
+
956
+ #: includes/class-wcj-pdf-invoices.php:854
957
+ #: includes/class-wcj-pdf-invoices.php:857
958
+ msgid "Order Total"
959
+ msgstr ""
960
+
961
+ #: includes/class-wcj-pdf-invoices.php:864
962
+ msgid "Footer"
963
+ msgstr ""
964
+
965
+ #: includes/class-wcj-pdf-invoices.php:867
966
+ #: includes/class-wcj-pdf-invoices.php:870
967
+ msgid "Payment Method"
968
+ msgstr ""
969
+
970
+ #: includes/class-wcj-pdf-invoices.php:876
971
+ #: includes/class-wcj-pdf-invoices.php:879
972
+ msgid "Shipping Method"
973
+ msgstr ""
974
+
975
+ #: includes/class-wcj-pdf-invoices.php:885
976
+ msgid "Additional Footer"
977
+ msgstr ""
978
+
979
+ #: includes/class-wcj-pdf-invoices.php:895
980
+ msgid "General Options"
981
+ msgstr ""
982
+
983
+ #: includes/class-wcj-pdf-invoices.php:898
984
+ msgid "Font size"
985
+ msgstr ""
986
+
987
+ #: includes/class-wcj-pdf-invoices.php:899
988
+ msgid "Default: 8"
989
+ msgstr ""
990
+
991
+ #: includes/class-wcj-pdf-invoices.php:907
992
+ msgid "Css"
993
+ msgstr ""
994
+
995
+ #: includes/class-wcj-pdf-invoices.php:922
996
+ msgid "PDF Invoices for Customers"
997
+ msgstr ""
998
+
999
+ #: includes/class-wcj-pdf-invoices.php:923
1000
+ msgid "Enable the PDF Invoices in customers account"
1001
+ msgstr ""
1002
+
1003
+ #: includes/class-wcj-pdf-invoices.php:932
1004
+ msgid "Enable Save as"
1005
+ msgstr ""
1006
+
1007
+ #: includes/class-wcj-pdf-invoices.php:933
1008
+ msgid "Enable save as pdf instead of view pdf"
1009
  msgstr ""
1010
 
1011
+ #: includes/class-wcj-price-labels.php:315
1012
  msgid "Custom Price Labels Options"
1013
  msgstr ""
1014
 
1015
+ #: includes/class-wcj-price-labels.php:318
1016
+ #: includes/class-wcj-price-labels.php:352
1017
  msgid "Custom Price Labels"
1018
  msgstr ""
1019
 
1020
+ #: includes/class-wcj-price-labels.php:319
1021
  msgid "Enable the Custom Price Labels feature"
1022
  msgstr ""
1023
 
1024
+ #: includes/class-wcj-price-labels.php:320
1025
  msgid "Create any custom price label for any product."
1026
  msgstr ""
1027
 
1028
+ #: includes/class-wcj-price-labels.php:328
1029
+ msgid "Global Custom Price Labels"
1030
+ msgstr ""
1031
+
1032
+ #: includes/class-wcj-price-labels.php:328
1033
+ msgid "This section lets you set price labels for all products globally."
1034
+ msgstr ""
1035
+
1036
+ #: includes/class-wcj-price-labels.php:331
1037
+ msgid "Remove from price"
1038
+ msgstr ""
1039
+
1040
+ #: includes/class-wcj-price-labels.php:333
1041
+ msgid "Enter text to remove from all products prices. Leave blank to disable."
1042
  msgstr ""
1043
 
1044
  #: includes/class-wcj-product-info.php:117
1045
+ msgid "Product Info Options"
1046
+ msgstr ""
1047
+
1048
+ #: includes/class-wcj-product-info.php:120
1049
+ #: includes/class-wcj-product-info.php:273
1050
  msgid "Product Info"
1051
  msgstr ""
1052
 
1053
+ #: includes/class-wcj-product-info.php:121
1054
  msgid "Enable the Product Info feature"
1055
  msgstr ""
1056
 
1057
+ #: includes/class-wcj-product-info.php:122
1058
+ msgid "Customize single product tabs, change related products number."
1059
  msgstr ""
1060
 
1061
+ #: includes/class-wcj-product-info.php:131
1062
+ msgid "Product Tabs Options"
1063
  msgstr ""
1064
 
1065
+ #: includes/class-wcj-product-info.php:134
1066
+ msgid "Description Tab"
1067
+ msgstr ""
1068
+
1069
+ #: includes/class-wcj-product-info.php:135
1070
+ #: includes/class-wcj-product-info.php:161
1071
+ #: includes/class-wcj-product-info.php:187
1072
+ msgid "Remove tab from product page"
1073
+ msgstr ""
1074
+
1075
+ #: includes/class-wcj-product-info.php:142
1076
+ #: includes/class-wcj-product-info.php:168
1077
+ #: includes/class-wcj-product-info.php:194
1078
+ msgid "Priority (i.e. Order)"
1079
+ msgstr ""
1080
+
1081
+ #: includes/class-wcj-product-info.php:152
1082
+ #: includes/class-wcj-product-info.php:178
1083
+ #: includes/class-wcj-product-info.php:204
1084
+ #: includes/class-wcj-product-info.php:245
1085
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:82
1086
+ #: includes/shipping/class-wc-shipping-wcj-custom.php:62
1087
+ msgid "Title"
1088
+ msgstr ""
1089
+
1090
+ #: includes/class-wcj-product-info.php:153
1091
+ #: includes/class-wcj-product-info.php:179
1092
+ #: includes/class-wcj-product-info.php:205
1093
+ msgid "Leave blank for WooCommerce defaults"
1094
+ msgstr ""
1095
+
1096
+ #: includes/class-wcj-product-info.php:160
1097
+ msgid "Reviews Tab"
1098
+ msgstr ""
1099
+
1100
+ #: includes/class-wcj-product-info.php:186
1101
+ msgid "Additional Information Tab"
1102
+ msgstr ""
1103
+
1104
+ #: includes/class-wcj-product-info.php:214
1105
+ msgid "Related Products Options"
1106
+ msgstr ""
1107
+
1108
+ #: includes/class-wcj-product-info.php:224
1109
+ msgid "Related Products Number"
1110
+ msgstr ""
1111
+
1112
+ #: includes/class-wcj-product-info.php:231
1113
+ msgid "Related Products Columns"
1114
+ msgstr ""
1115
+
1116
+ #: includes/class-wcj-product-info.php:238
1117
+ msgid "Order by"
1118
+ msgstr ""
1119
+
1120
+ #: includes/class-wcj-product-info.php:243
1121
+ msgid "Random"
1122
+ msgstr ""
1123
+
1124
+ #: includes/class-wcj-product-info.php:244
1125
+ msgid "Date"
1126
+ msgstr ""
1127
+
1128
+ #: includes/class-wcj-product-info.php:250
1129
+ msgid "Order"
1130
+ msgstr ""
1131
+
1132
+ #: includes/class-wcj-product-info.php:251
1133
+ msgid "Ignored if order by \"Random\" is selected above."
1134
+ msgstr ""
1135
+
1136
+ #: includes/class-wcj-product-info.php:256
1137
+ msgid "Ascending"
1138
+ msgstr ""
1139
+
1140
+ #: includes/class-wcj-product-info.php:257
1141
+ msgid "Descending"
1142
+ msgstr ""
1143
+
1144
+ #: includes/class-wcj-reports.php:45 includes/class-wcj-reports.php:89
1145
+ msgid "Smart Reports"
1146
+ msgstr ""
1147
+
1148
+ #: includes/class-wcj-reports.php:68
1149
+ msgid "Reports Options"
1150
+ msgstr ""
1151
+
1152
+ #: includes/class-wcj-reports.php:71 includes/class-wcj-reports.php:258
1153
+ msgid "Reports"
1154
+ msgstr ""
1155
+
1156
+ #: includes/class-wcj-reports.php:72
1157
+ msgid "Enable the Reports feature"
1158
+ msgstr ""
1159
+
1160
+ #: includes/class-wcj-reports.php:279
1161
+ msgid "Product"
1162
+ msgstr ""
1163
+
1164
+ #: includes/class-wcj-reports.php:280
1165
+ msgid "Price"
1166
+ msgstr ""
1167
+
1168
+ #: includes/class-wcj-reports.php:281
1169
+ msgid "Stock"
1170
+ msgstr ""
1171
+
1172
+ #: includes/class-wcj-reports.php:282
1173
+ msgid "Stock price"
1174
+ msgstr ""
1175
+
1176
+ #: includes/class-wcj-reports.php:284
1177
+ msgid "Last sale"
1178
+ msgstr ""
1179
+
1180
+ #: includes/class-wcj-reports.php:285
1181
+ msgid "Sales in last %s days"
1182
+ msgstr ""
1183
+
1184
+ #: includes/class-wcj-reports.php:286
1185
+ msgid "Sales in previous period"
1186
+ msgstr ""
1187
+
1188
+ #: includes/class-wcj-reports.php:287
1189
+ msgid "Total sales"
1190
+ msgstr ""
1191
+
1192
+ #: includes/class-wcj-reports.php:361
1193
+ msgid "No sales yet"
1194
+ msgstr ""
1195
+
1196
+ #: includes/class-wcj-reports.php:376
1197
+ msgid "Total current stock value: "
1198
+ msgstr ""
1199
+
1200
+ #: includes/class-wcj-reports.php:377
1201
+ msgid "Total stock value: "
1202
+ msgstr ""
1203
+
1204
+ #: includes/class-wcj-reports.php:379
1205
+ msgid "Product stock value average: "
1206
+ msgstr ""
1207
+
1208
+ #: includes/class-wcj-reports.php:380
1209
+ msgid "Product stock average: "
1210
+ msgstr ""
1211
+
1212
+ #: includes/class-wcj-reports.php:398
1213
+ msgid "Low sales - big stock"
1214
+ msgstr ""
1215
+
1216
+ #: includes/class-wcj-reports.php:399
1217
+ msgid ""
1218
+ "Report shows you products with stock bigger than <span style=\"color:green;"
1219
+ "\">%s</span> average, but with sales in last 90 days lower than average. "
1220
+ "Sorted by total stock value."
1221
+ msgstr ""
1222
+
1223
+ #: includes/class-wcj-reports.php:404
1224
+ msgid "Low sales - on stock"
1225
+ msgstr ""
1226
+
1227
+ #: includes/class-wcj-reports.php:405
1228
+ msgid ""
1229
+ "Report shows you products on stock, but with sales in last 90 days lower "
1230
+ "than average. Sorted by total stock value."
1231
+ msgstr ""
1232
+
1233
+ #: includes/class-wcj-reports.php:409
1234
+ msgid "No sales - on stock"
1235
+ msgstr ""
1236
+
1237
+ #: includes/class-wcj-reports.php:410
1238
+ msgid ""
1239
+ "Report shows you products on stock, but with not a single sale in last 90 "
1240
+ "days. Sorted by total stock value."
1241
+ msgstr ""
1242
+
1243
+ #: includes/class-wcj-reports.php:414
1244
+ msgid "Most stock price"
1245
+ msgstr ""
1246
+
1247
+ #: includes/class-wcj-reports.php:415
1248
+ msgid ""
1249
+ "Report shows you products with stock bigger than average. Sorted by total "
1250
+ "stock value."
1251
+ msgstr ""
1252
+
1253
+ #: includes/class-wcj-reports.php:419
1254
+ msgid "Good sales"
1255
+ msgstr ""
1256
+
1257
+ #: includes/class-wcj-reports.php:420
1258
+ msgid ""
1259
+ "Report shows you products with sales in last 90 days higher than average. "
1260
+ "Sorted by total stock value."
1261
+ msgstr ""
1262
+
1263
+ #: includes/class-wcj-reports.php:424
1264
+ msgid "Good sales - low stock"
1265
+ msgstr ""
1266
+
1267
+ #: includes/class-wcj-reports.php:425
1268
+ msgid ""
1269
+ "Report shows you products with sales in last 90 days higher than average, "
1270
+ "but stock lower than products sales in 90 days. Sorted by total stock value."
1271
+ msgstr ""
1272
+
1273
+ #: includes/class-wcj-reports.php:429
1274
+ msgid "on_stock"
1275
+ msgstr ""
1276
+
1277
+ #: includes/class-wcj-reports.php:430
1278
+ msgid "on_stock."
1279
+ msgstr ""
1280
+
1281
+ #: includes/class-wcj-reports.php:434
1282
+ msgid "any_sale"
1283
  msgstr ""
1284
 
1285
+ #: includes/class-wcj-reports.php:435
1286
+ msgid "any_sale."
1287
  msgstr ""
1288
 
1289
+ #: includes/class-wcj-reports.php:439
1290
+ msgid "Sales up"
1291
+ msgstr ""
1292
+
1293
+ #: includes/class-wcj-reports.php:440
1294
+ msgid ""
1295
+ "with sales more than average and up in last 90 days comparing to 90 days "
1296
+ "before."
1297
+ msgstr ""
1298
+
1299
+ #: includes/class-wcj-reports.php:441
1300
+ msgid "sales in 90 days"
1301
+ msgstr ""
1302
+
1303
+ #: includes/class-wcj-reports.php:445
1304
+ msgid "sales_down"
1305
+ msgstr ""
1306
+
1307
+ #: includes/class-wcj-reports.php:446
1308
+ msgid "sales_down."
1309
+ msgstr ""
1310
+
1311
+ #: includes/class-wcj-reports.php:485
1312
+ msgid ""
1313
+ "Here you can generate reports. Some reports are generated using all your "
1314
+ "orders and products, so if you have a lot of them - it may take a while."
1315
+ msgstr ""
1316
+
1317
+ #: includes/class-wcj-reports.php:486
1318
+ msgid "Reports:"
1319
+ msgstr ""
1320
+
1321
+ #: includes/class-wcj-shipping.php:59
1322
+ msgid "WooCommerce Jetpack: Hide shipping"
1323
+ msgstr ""
1324
+
1325
+ #: includes/class-wcj-shipping.php:60 includes/class-wcj-shipping.php:166
1326
+ msgid "Hide local delivery when free is available"
1327
+ msgstr ""
1328
+
1329
+ #: includes/class-wcj-shipping.php:71 includes/class-wcj-shipping.php:176
1330
+ msgid "Hide all when free is available"
1331
+ msgstr ""
1332
+
1333
+ #: includes/class-wcj-shipping.php:148
1334
+ msgid "Shipping Options"
1335
+ msgstr ""
1336
+
1337
+ #: includes/class-wcj-shipping.php:152
1338
+ msgid "Enable the Shipping feature"
1339
+ msgstr ""
1340
+
1341
+ #: includes/class-wcj-shipping.php:153
1342
+ msgid "Hide shipping when free is available."
1343
+ msgstr ""
1344
+
1345
+ #: includes/class-wcj-shipping.php:161
1346
+ msgid "Hide if free is available"
1347
+ msgstr ""
1348
+
1349
+ #: includes/class-wcj-shipping.php:161
1350
  msgid ""
1351
+ "This section lets you hide other shipping options when free shipping is "
1352
+ "available on shop frontend."
1353
  msgstr ""
1354
 
1355
+ #: includes/class-wcj-shipping.php:165
1356
+ msgid "Hide shipping"
1357
  msgstr ""
1358
 
1359
+ #: includes/class-wcj-sorting.php:75 includes/class-wcj-sorting.php:178
1360
+ #: includes/class-wcj-sorting.php:181
1361
  msgid "Remove All Sorting"
1362
  msgstr ""
1363
 
1364
+ #: includes/class-wcj-sorting.php:80
1365
  msgid "Completely remove sorting from the shop front end"
1366
  msgstr ""
1367
 
1368
+ #: includes/class-wcj-sorting.php:165
1369
  msgid "Sorting Options"
1370
  msgstr ""
1371
 
1372
+ #: includes/class-wcj-sorting.php:168
1373
  msgid "Sorting"
1374
  msgstr ""
1375
 
1376
+ #: includes/class-wcj-sorting.php:169
1377
  msgid "Enable the Sorting feature"
1378
  msgstr ""
1379
 
1380
+ #: includes/class-wcj-sorting.php:170
1381
  msgid "Add more sorting options or remove all sorting including default."
1382
  msgstr ""
1383
 
1384
+ #: includes/class-wcj-sorting.php:182
1385
  msgid "Remove all sorting (including WooCommerce default)"
1386
  msgstr ""
1387
 
1388
+ #: includes/class-wcj-sorting.php:193
1389
  msgid "Add More Sorting"
1390
  msgstr ""
1391
 
1392
+ #: includes/class-wcj-sorting.php:196
1393
  msgid "Sort by Name - Asc"
1394
  msgstr ""
1395
 
1396
+ #: includes/class-wcj-sorting.php:197 includes/class-wcj-sorting.php:215
1397
+ #: includes/class-wcj-sorting.php:233 includes/class-wcj-sorting.php:251
1398
  msgid "Text visible at front end"
1399
  msgstr ""
1400
 
1401
+ #: includes/class-wcj-sorting.php:214
 
 
 
 
 
1402
  msgid "Sort by Name - Desc"
1403
  msgstr ""
1404
 
1405
+ #: includes/class-wcj-sorting.php:232
1406
  msgid "Sort by SKU - Asc"
1407
  msgstr ""
1408
 
1409
+ #: includes/class-wcj-sorting.php:250
1410
  msgid "Sort by SKU - Desc"
1411
  msgstr ""
1412
 
1413
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:19
1414
+ msgid "Custom Gateway"
1415
+ msgstr ""
1416
+
1417
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:20
1418
+ msgid "WooCommerce Jetpack: Custom Payment Gateway"
1419
+ msgstr ""
1420
+
1421
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:76
1422
+ #: includes/shipping/class-wc-shipping-wcj-custom.php:56
1423
+ msgid "Enable/Disable"
1424
+ msgstr ""
1425
+
1426
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:78
1427
+ msgid "Enable Custom Payment"
1428
+ msgstr ""
1429
+
1430
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:84
1431
+ #: includes/shipping/class-wc-shipping-wcj-custom.php:64
1432
+ msgid "This controls the title which the user sees during checkout."
1433
+ msgstr ""
1434
+
1435
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:85
1436
+ msgid "Custom Payment"
1437
+ msgstr ""
1438
+
1439
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:89
1440
+ msgid "Description"
1441
+ msgstr ""
1442
+
1443
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:91
1444
+ msgid "Payment method description that the customer will see on your checkout."
1445
+ msgstr ""
1446
+
1447
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:92
1448
+ msgid "Custom Payment Description."
1449
+ msgstr ""
1450
+
1451
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:96
1452
+ msgid "Instructions"
1453
+ msgstr ""
1454
+
1455
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:98
1456
+ msgid "Instructions that will be added to the thank you page and emails."
1457
+ msgstr ""
1458
+
1459
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:103
1460
+ msgid "Icon"
1461
+ msgstr ""
1462
+
1463
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:111
1464
+ msgid "Minimum order amount"
1465
+ msgstr ""
1466
+
1467
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:113
1468
+ msgid ""
1469
+ "If you want to set minimum order amount to show this gateway on frontend, "
1470
+ "enter a number here. Set to 0 to disable."
1471
+ msgstr ""
1472
+
1473
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:120
1474
+ msgid "Enable for shipping methods"
1475
+ msgstr ""
1476
+
1477
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:125
1478
+ msgid ""
1479
+ "If gateway is only available for certain shipping methods, set it up here. "
1480
+ "Leave blank to enable for all methods."
1481
+ msgstr ""
1482
+
1483
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:129
1484
+ msgid "Select shipping methods"
1485
+ msgstr ""
1486
+
1487
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:133
1488
+ msgid "Enable for virtual orders"
1489
+ msgstr ""
1490
+
1491
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:134
1492
+ msgid "Enable gateway if the order is virtual"
1493
+ msgstr ""
1494
+
1495
+ #: includes/gateways/class-wc-gateway-wcj-custom.php:267
1496
+ msgid "Awaiting payment"
1497
+ msgstr ""
1498
+
1499
+ #: includes/shipping/class-wc-shipping-wcj-custom.php:19
1500
+ #: includes/shipping/class-wc-shipping-wcj-custom.php:65
1501
+ msgid "Custom Shipping"
1502
+ msgstr ""
1503
+
1504
+ #: includes/shipping/class-wc-shipping-wcj-custom.php:20
1505
+ msgid "WooCommerce Jetpack: Custom Shipping Method"
1506
+ msgstr ""
1507
+
1508
+ #: includes/shipping/class-wc-shipping-wcj-custom.php:58
1509
+ msgid "Enable Custom Shipping"
1510
+ msgstr ""
1511
+
1512
+ #. #-#-#-#-# plugin.pot (WooCommerce Jetpack 1.5.0) #-#-#-#-#
1513
+ #. Plugin Name of the plugin/theme
1514
+ #: woocommerce-jetpack.php:92
1515
+ msgid "WooCommerce Jetpack"
1516
+ msgstr ""
1517
+
1518
+ #: woocommerce-jetpack.php:92
1519
+ msgid "Jetpack Settings"
1520
+ msgstr ""
1521
+
1522
+ #: woocommerce-jetpack.php:103
1523
+ msgid "Settings"
1524
+ msgstr ""
1525
+
1526
+ #: woocommerce-jetpack.php:104
1527
+ msgid "Docs"
1528
+ msgstr ""
1529
+
1530
+ #: woocommerce-jetpack.php:105
1531
+ msgid "Unlock all"
1532
+ msgstr ""
1533
+
1534
+ #: woocommerce-jetpack.php:126
1535
  msgid "Install WooCommerce Jetpack Plus to unlock all features"
1536
  msgstr ""
1537
 
1538
+ #: woocommerce-jetpack.php:127
1539
  msgid ""
1540
  "Some settings fields are locked and you will need %s to modify all locked "
1541
  "fields."
1542
  msgstr ""
1543
 
1544
+ #: woocommerce-jetpack.php:128
1545
+ msgid "Buy now"
1546
  msgstr ""
1547
 
1548
+ #: woocommerce-jetpack.php:128
1549
  msgid "Visit %s"
1550
  msgstr ""
1551
 
1552
+ #: woocommerce-jetpack.php:132
1553
  msgid ""
1554
  "Get <a href=\"http://woojetpack.com/plus/\" target=\"_blank\">WooCommerce "
1555
  "Jetpack Plus</a> to change value."
1556
  msgstr ""
1557
 
1558
+ #: woocommerce-jetpack.php:135
1559
  msgid ""
1560
  "Get <a href=\"http://woojetpack.com/plus/\" target=\"_blank\">WooCommerce "
1561
  "Jetpack Plus</a> to change values below."
1562
  msgstr ""
1563
 
1564
+ #: woocommerce-jetpack.php:138
1565
  msgid "Get WooCommerce Jetpack Plus to change value."
1566
  msgstr ""
1567
 
 
 
 
 
1568
  #. Plugin URI of the plugin/theme
1569
  msgid "http://woojetpack.com"
1570
  msgstr ""
1574
  msgstr ""
1575
 
1576
  #. Author of the plugin/theme
1577
+ msgid "Algoritmika Ltd"
1578
  msgstr ""
1579
 
1580
  #. Author URI of the plugin/theme
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === WooCommerce Jetpack ===
2
  Contributors: algoritmika
3
  Donate link: http://algoritmika.com/donate/
4
- Tags: woocommerce,woocommerce jetpack,custom price labels,call for price,currency symbol,remove sorting,remove old product slugs,add to cart text,order number,sequential order numbering,pdf invoice,pdf invoices,already in cart,empty cart,redirect to checkout,minimum order amount,customize checkout fields,checkout fields,email,customize product tabs,product tabs,related products number,empty cart,redirect add to cart,redirect to checkout,product already in cart,custom payment gateway,payment gateway icon,auto-complete all orders,custom order statuses,custom order status,remove text from price
5
  Requires at least: 3.9.1
6
  Tested up to: 4.0
7
- Stable tag: 1.4.0
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -19,7 +19,7 @@ WooCommerce Jetpack is a WordPress plugin that supercharges your site with aweso
19
  * Custom Price Labels - Create any custom price label for any product.
20
  * Call for Price - Create any custom price label, like "Call for price", for all products with empty price.
21
  * Currencies - Add all world currencies, change currency symbol.
22
- * PDF Invoices - Add PDF invoices for store owners and for customers.
23
  * Orders - Sequential order numbering, custom order number prefix and number width. Set minimum order amount.
24
  * More Sorting Options - Add more sorting options or remove sorting at all (including WooCommerce default).
25
  * Payment Gateways - Add and customize simple custom offline payment gateway. Change icons (images) for all default (COD - Cash on Delivery, Cheque, BACS, Mijireh Checkout, PayPal) WooCommerce payment gateways.
@@ -63,40 +63,57 @@ Please let us know if you want anything added to list by <a href="http://woojetp
63
 
64
  If you wish that some task would go up the queue to make it faster, please contact us by <a href="http://woojetpack.com/contact-us/">filling this form</a>. We are listening carefully to our users!
65
 
66
- = 1.5.0 - 11/09/2014 =
67
- 1. Fix - Payment Gateways - Instructions are not showing. Suggested by Jen.
68
- 1. Upgrade Feature - PDF Invoices - Send PDF invoice or link to invoice to the customer. Make this option available for certain payment methods only (user selection). Idea by Jen.
69
- 1. Upgrade Feature - Shipping - Advance free shipping - Free shipping for multiple country/places. Each country/places different prices. Idea by LQTOYS.
70
-
71
- = 1.6.0 - 18/09/2014 =
72
- 1. New Feature - Smart Reports - Various reports based on products prices, sales, stock.
73
 
74
  = 1.7.0 - 01/10/2014 =
75
- 1. Upgrade Feature - Custom Price Labels - Add "global labels".
76
- 1. Upgrade Feature - Shipping - Add "Custom Shipping Method".
77
- 1. Upgrade Feature - Product Info - Add "total sales" and "time since last sale" info.
78
- 1. Upgrade Feature - Orders - Custom Order Statuses - Add options for selecting icons and color.
 
 
 
 
 
79
 
80
  = 1.8.0 - 07/10/2014 =
81
- 1. New Feature - Products per Page - Add "products per page" option for customers (i.e. front end).
82
 
83
  = 1.9.0 - 21/10/2014 =
84
- 1. Upgrade Feature - Custom Price Labels - Add "local remove".
85
- 1. Upgrade Feature - Orders - Bulk orders (start from global discount for all products; later - discounts for individual products).
86
- 1. Upgrade Feature - Custom Price Labels - Add different labels for archives, single, homepage, related. Add option to select which price hooks to use. Different labels for variable and variation.
87
- 1. Upgrade Feature - Cart - Cart discount.
88
 
89
  = 2.0.0 - 01/11/2014 =
90
- 1. Dev - Major source code, documentation, locking mechanism etc. recheck.
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  = 1.4.0 - 07/09/2014 =
95
  * Dev - Custom Price Labels - Support for price labels showing on Pages, added. Suggested by Axel.
96
  * Fix - PDF Invoices - Bug with some item table columns not showing, fixed. Suggested by Tomas.
97
  * Dev - PDF Invoices - Discount as separate item option added.
98
  * Dev - PDF Invoices - Shipping as separate item option added. Suggested by Tomas.
99
- * Dev - All tools (i.e. Old Slugs and Custom Order Statuses) moved to WooCommerce > Jetpack Tools.
100
 
101
  = 1.3.0 - 25/08/2014 =
102
  * Feature Upgraded - PDF Invoices - Major upgrade: single item price, item and line taxes, payment and shipping methods, additional footer, font size, custom css added.
1
  === WooCommerce Jetpack ===
2
  Contributors: algoritmika
3
  Donate link: http://algoritmika.com/donate/
4
+ Tags: woocommerce,woocommerce jetpack,custom price labels,call for price,currency symbol,remove sorting,remove old product slugs,add to cart text,order number,sequential order numbering,email pdf invoice,pdf invoice,pdf invoices,already in cart,empty cart,redirect to checkout,minimum order amount,customize checkout fields,checkout fields,email,customize product tabs,product tabs,related products number,empty cart,redirect add to cart,redirect to checkout,product already in cart,custom payment gateway,payment gateway icon,auto-complete all orders,custom order statuses,custom order status,remove text from price
5
  Requires at least: 3.9.1
6
  Tested up to: 4.0
7
+ Stable tag: 1.5.1
8
  License: GNU General Public License v3.0
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
19
  * Custom Price Labels - Create any custom price label for any product.
20
  * Call for Price - Create any custom price label, like "Call for price", for all products with empty price.
21
  * Currencies - Add all world currencies, change currency symbol.
22
+ * PDF Invoices - Add PDF invoices for store owners and for customers. Automatically email PDF invoices to customers.
23
  * Orders - Sequential order numbering, custom order number prefix and number width. Set minimum order amount.
24
  * More Sorting Options - Add more sorting options or remove sorting at all (including WooCommerce default).
25
  * Payment Gateways - Add and customize simple custom offline payment gateway. Change icons (images) for all default (COD - Cash on Delivery, Cheque, BACS, Mijireh Checkout, PayPal) WooCommerce payment gateways.
63
 
64
  If you wish that some task would go up the queue to make it faster, please contact us by <a href="http://woojetpack.com/contact-us/">filling this form</a>. We are listening carefully to our users!
65
 
66
+ = 1.6.0 - 21/09/2014 =
67
+ * Fix - Payment Gateways - Instructions are not showing. Suggested by Jen.
68
+ * Upgrade Feature - Shipping - Advance free shipping - Free shipping for multiple country/places. Each country/places different prices. Idea by LQTOYS.
69
+ * Dev - Custom Price Labels - Rearrange settings in product edit (something like `postbox`es).
70
+ * Upgrade Feature - Custom Price Labels - Add price countdown.
 
 
71
 
72
  = 1.7.0 - 01/10/2014 =
73
+ * Upgrade Feature - Custom Price Labels - Add "global labels".
74
+ * Upgrade Feature - Shipping - Add "Custom Shipping Method".
75
+ * Upgrade Feature - Product Info - Add "total sales" and "time since last sale" info.
76
+ * Upgrade Feature - Orders - Custom Order Statuses - Add options for selecting icons and color.
77
+ * New Feature - Add second currency to the price.
78
+ * New Feature - Smart Reports - Various reports based on products prices, sales, stock.
79
+ * Dev - PDF Invoices - Separate numbering for invoices option, then can add `add_order_number_to_invoice` option.
80
+ * Upgrade Feature - PDF Invoices - Make emailing PDF as attachment option available for certain payment methods only (user selection). Idea by Jen.
81
+ * Upgrade Feature - PDF Invoices - Sending invoice on customer's request. Idea by Jen.
82
 
83
  = 1.8.0 - 07/10/2014 =
84
+ * New Feature - Products per Page - Add "products per page" option for customers (i.e. front end).
85
 
86
  = 1.9.0 - 21/10/2014 =
87
+ * Upgrade Feature - Custom Price Labels - Add "local remove".
88
+ * Upgrade Feature - Orders - Bulk orders (start from global discount for all products; later - discounts for individual products).
89
+ * Upgrade Feature - Custom Price Labels - Add different labels for archives, single, homepage, related. Add option to select which price hooks to use. Different labels for variable and variation.
90
+ * Upgrade Feature - Cart - Cart discount.
91
 
92
  = 2.0.0 - 01/11/2014 =
93
+ * Dev - Major source code, documentation, locking mechanism etc. recheck.
94
 
95
  == Changelog ==
96
 
97
+ = 1.5.1 - 14/09/2014 =
98
+ * Dev - Custom Price Labels - `textarea` instead of `<input type="text">`.
99
+ * Dev - Orders - Custom Order Statuses - `postbox` added instead of simple form.
100
+ * Upgrade Feature - PDF Invoices - PDF invoice as attachment file in customer's email (order completed). Idea by Jen.
101
+ * Dev - PDF Invoices - If displaying shipping as item, option for adding shipping method text, added. Suggested by Tomas.
102
+
103
+ = 1.5.0 - 13/09/2014 =
104
+ * Dev - Orders - Renumerate orders tool compatibility with WooCommerce 2.2.x.
105
+ * Dev - Orders - Custom Order Statuses compatibility with WooCommerce 2.2.x.
106
+ * Dev - Orders - Renumerate orders tool moved to WooCommerce > Jetpack Tools.
107
+ * Fix - PDF Invoices - `Order Shipping Price` position in `Totals` on admin settings page, fixed.
108
+ * Dev - PDF Invoices - Save as pdf option added.
109
+ * Fix - PDF Invoices - Bug with invoice PDF file name, fixed.
110
+
111
  = 1.4.0 - 07/09/2014 =
112
  * Dev - Custom Price Labels - Support for price labels showing on Pages, added. Suggested by Axel.
113
  * Fix - PDF Invoices - Bug with some item table columns not showing, fixed. Suggested by Tomas.
114
  * Dev - PDF Invoices - Discount as separate item option added.
115
  * Dev - PDF Invoices - Shipping as separate item option added. Suggested by Tomas.
116
+ * Dev - Old Slugs and Custom Order Statuses tools moved to WooCommerce > Jetpack Tools.
117
 
118
  = 1.3.0 - 25/08/2014 =
119
  * Feature Upgraded - PDF Invoices - Major upgrade: single item price, item and line taxes, payment and shipping methods, additional footer, font size, custom css added.
woocommerce-jetpack.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WooCommerce Jetpack
4
  Plugin URI: http://woojetpack.com
5
  Description: Supercharge your WooCommerce site with these awesome powerful features.
6
- Version: 1.4.0
7
  Author: Algoritmika Ltd
8
  Author URI: http://www.algoritmika.com
9
  Copyright: © 2014 Algoritmika Ltd.
3
  Plugin Name: WooCommerce Jetpack
4
  Plugin URI: http://woojetpack.com
5
  Description: Supercharge your WooCommerce site with these awesome powerful features.
6
+ Version: 1.5.1
7
  Author: Algoritmika Ltd
8
  Author URI: http://www.algoritmika.com
9
  Copyright: © 2014 Algoritmika Ltd.