WooCommerce Correios - Version 3.5.0

Version Description

  • 2017/10/06 =

  • Adicionada opo para adicionar peso extra por pacote.

  • Adicionado suporte para entrega em reas de risco.

  • Corrigido problema de valor declaro do PAC.

Download this release

Release Info

Developer claudiosanches
Plugin Icon 128x128 WooCommerce Correios
Version 3.5.0
Comparing to
See all releases

Code changes from version 3.4.1 to 3.5.0

includes/abstracts/abstract-wc-correios-shipping.php CHANGED
@@ -66,6 +66,7 @@ abstract class WC_Correios_Shipping extends WC_Shipping_Method {
66
  $this->minimum_height = $this->get_option( 'minimum_height' );
67
  $this->minimum_width = $this->get_option( 'minimum_width' );
68
  $this->minimum_length = $this->get_option( 'minimum_length' );
 
69
  $this->debug = $this->get_option( 'debug' );
70
 
71
  // Save admin options.
@@ -240,26 +241,33 @@ abstract class WC_Correios_Shipping extends WC_Shipping_Method {
240
  'default' => '',
241
  ),
242
  'minimum_height' => array(
243
- 'title' => __( 'Minimum Height', 'woocommerce-correios' ),
244
  'type' => 'text',
245
  'description' => __( 'Minimum height of your shipping packages. Correios needs at least 2cm.', 'woocommerce-correios' ),
246
  'desc_tip' => true,
247
  'default' => '2',
248
  ),
249
  'minimum_width' => array(
250
- 'title' => __( 'Minimum Width', 'woocommerce-correios' ),
251
  'type' => 'text',
252
  'description' => __( 'Minimum width of your shipping packages. Correios needs at least 11cm.', 'woocommerce-correios' ),
253
  'desc_tip' => true,
254
  'default' => '11',
255
  ),
256
  'minimum_length' => array(
257
- 'title' => __( 'Minimum Length', 'woocommerce-correios' ),
258
  'type' => 'text',
259
  'description' => __( 'Minimum length of your shipping packages. Correios needs at least 16cm.', 'woocommerce-correios' ),
260
  'desc_tip' => true,
261
  'default' => '16',
262
  ),
 
 
 
 
 
 
 
263
  'testing' => array(
264
  'title' => __( 'Testing', 'woocommerce-correios' ),
265
  'type' => 'title',
@@ -386,6 +394,7 @@ abstract class WC_Correios_Shipping extends WC_Shipping_Method {
386
  $api->set_minimum_height( $this->minimum_height );
387
  $api->set_minimum_width( $this->minimum_width );
388
  $api->set_minimum_length( $this->minimum_length );
 
389
 
390
  $shipping = $api->get_shipping();
391
 
@@ -409,7 +418,7 @@ abstract class WC_Correios_Shipping extends WC_Shipping_Method {
409
  * @return array
410
  */
411
  protected function get_accepted_error_codes() {
412
- $codes = apply_filters( 'woocommerce_correios_accepted_error_codes', array( '-33', '-3', '010' ) );
413
  $codes[] = '0';
414
 
415
  return $codes;
66
  $this->minimum_height = $this->get_option( 'minimum_height' );
67
  $this->minimum_width = $this->get_option( 'minimum_width' );
68
  $this->minimum_length = $this->get_option( 'minimum_length' );
69
+ $this->extra_weight = $this->get_option( 'extra_weight', '0' );
70
  $this->debug = $this->get_option( 'debug' );
71
 
72
  // Save admin options.
241
  'default' => '',
242
  ),
243
  'minimum_height' => array(
244
+ 'title' => __( 'Minimum Height (cm)', 'woocommerce-correios' ),
245
  'type' => 'text',
246
  'description' => __( 'Minimum height of your shipping packages. Correios needs at least 2cm.', 'woocommerce-correios' ),
247
  'desc_tip' => true,
248
  'default' => '2',
249
  ),
250
  'minimum_width' => array(
251
+ 'title' => __( 'Minimum Width (cm)', 'woocommerce-correios' ),
252
  'type' => 'text',
253
  'description' => __( 'Minimum width of your shipping packages. Correios needs at least 11cm.', 'woocommerce-correios' ),
254
  'desc_tip' => true,
255
  'default' => '11',
256
  ),
257
  'minimum_length' => array(
258
+ 'title' => __( 'Minimum Length (cm)', 'woocommerce-correios' ),
259
  'type' => 'text',
260
  'description' => __( 'Minimum length of your shipping packages. Correios needs at least 16cm.', 'woocommerce-correios' ),
261
  'desc_tip' => true,
262
  'default' => '16',
263
  ),
264
+ 'extra_weight' => array(
265
+ 'title' => __( 'Extra Weight (kg)', 'woocommerce-correios' ),
266
+ 'type' => 'text',
267
+ 'description' => __( 'Extra weight in kilograms to add to the package total when quoting shipping costs.', 'woocommerce-correios' ),
268
+ 'desc_tip' => true,
269
+ 'default' => '0',
270
+ ),
271
  'testing' => array(
272
  'title' => __( 'Testing', 'woocommerce-correios' ),
273
  'type' => 'title',
394
  $api->set_minimum_height( $this->minimum_height );
395
  $api->set_minimum_width( $this->minimum_width );
396
  $api->set_minimum_length( $this->minimum_length );
397
+ $api->set_extra_weight( $this->extra_weight );
398
 
399
  $shipping = $api->get_shipping();
400
 
418
  * @return array
419
  */
420
  protected function get_accepted_error_codes() {
421
+ $codes = apply_filters( 'woocommerce_correios_accepted_error_codes', array( '-33', '-3', '010', '011' ) );
422
  $codes[] = '0';
423
 
424
  return $codes;
includes/admin/views/html-admin-help-message.php CHANGED
@@ -12,6 +12,6 @@ if ( ! defined( 'ABSPATH' ) ) {
12
  if ( apply_filters( 'woocommerce_correios_help_message', true ) ) : ?>
13
  <div class="updated woocommerce-message inline">
14
  <p><?php echo esc_html( sprintf( __( 'Help us keep the %s plugin free making a donation or rate &#9733;&#9733;&#9733;&#9733;&#9733; on WordPress.org. Thank you in advance!', 'woocommerce-correios' ), __( 'WooCommerce Correios', 'woocommerce-correios' ) ) ); ?></p>
15
- <p><a href="http://claudiosmweb.com/doacoes/" target="_blank" class="button button-primary"><?php esc_html_e( 'Make a donation', 'woocommerce-correios' ); ?></a> <a href="https://wordpress.org/support/plugin/woocommerce-correios/reviews/?filter=5#new-post" target="_blank" class="button button-secondary"><?php esc_html_e( 'Make a review', 'woocommerce-correios' ); ?></a></p>
16
  </div>
17
  <?php endif;
12
  if ( apply_filters( 'woocommerce_correios_help_message', true ) ) : ?>
13
  <div class="updated woocommerce-message inline">
14
  <p><?php echo esc_html( sprintf( __( 'Help us keep the %s plugin free making a donation or rate &#9733;&#9733;&#9733;&#9733;&#9733; on WordPress.org. Thank you in advance!', 'woocommerce-correios' ), __( 'WooCommerce Correios', 'woocommerce-correios' ) ) ); ?></p>
15
+ <p><a href="https://claudiosanches.com/doacoes/" target="_blank" class="button button-primary"><?php esc_html_e( 'Make a donation', 'woocommerce-correios' ); ?></a> <a href="https://wordpress.org/support/plugin/woocommerce-correios/reviews/?filter=5#new-post" target="_blank" class="button button-secondary"><?php esc_html_e( 'Make a review', 'woocommerce-correios' ); ?></a></p>
16
  </div>
17
  <?php endif;
includes/class-wc-correios-webservice.php CHANGED
@@ -135,6 +135,13 @@ class WC_Correios_Webservice {
135
  */
136
  protected $minimum_length = 16;
137
 
 
 
 
 
 
 
 
138
  /**
139
  * Declared value.
140
  *
@@ -346,6 +353,15 @@ class WC_Correios_Webservice {
346
  $this->minimum_length = 16 <= $minimum_length ? $minimum_length : 16;
347
  }
348
 
 
 
 
 
 
 
 
 
 
349
  /**
350
  * Set declared value.
351
  *
@@ -468,7 +484,7 @@ class WC_Correios_Webservice {
468
  * @return float
469
  */
470
  public function get_weight() {
471
- return $this->float_to_string( $this->weight );
472
  }
473
 
474
  /**
135
  */
136
  protected $minimum_length = 16;
137
 
138
+ /**
139
+ * Extra weight.
140
+ *
141
+ * @var float
142
+ */
143
+ protected $extra_weight = 0;
144
+
145
  /**
146
  * Declared value.
147
  *
353
  $this->minimum_length = 16 <= $minimum_length ? $minimum_length : 16;
354
  }
355
 
356
+ /**
357
+ * Set extra weight.
358
+ *
359
+ * @param float $extra_weight Package extra weight.
360
+ */
361
+ public function set_extra_weight( $extra_weight = 0 ) {
362
+ $this->extra_weight = (float) wc_format_decimal( $extra_weight );
363
+ }
364
+
365
  /**
366
  * Set declared value.
367
  *
484
  * @return float
485
  */
486
  public function get_weight() {
487
+ return $this->float_to_string( $this->weight + $this->extra_weight );
488
  }
489
 
490
  /**
includes/shipping/class-wc-correios-shipping-legacy.php CHANGED
@@ -363,7 +363,7 @@ class WC_Correios_Shipping_Legacy extends WC_Shipping_Method {
363
  * @return array
364
  */
365
  protected function get_accepted_error_codes() {
366
- $codes = apply_filters( 'woocommerce_correios_accepted_error_codes', array( '-33', '-3', '010' ) );
367
  $codes[] = '0';
368
 
369
  return $codes;
363
  * @return array
364
  */
365
  protected function get_accepted_error_codes() {
366
+ $codes = apply_filters( 'woocommerce_correios_accepted_error_codes', array( '-33', '-3', '010', '011' ) );
367
  $codes[] = '0';
368
 
369
  return $codes;
includes/shipping/class-wc-correios-shipping-pac.php CHANGED
@@ -44,4 +44,18 @@ class WC_Correios_Shipping_PAC extends WC_Correios_Shipping {
44
 
45
  parent::__construct( $instance_id );
46
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  }
44
 
45
  parent::__construct( $instance_id );
46
  }
47
+
48
+ /**
49
+ * Get the declared value from the package.
50
+ *
51
+ * @param array $package Cart package.
52
+ * @return float
53
+ */
54
+ protected function get_declared_value( $package ) {
55
+ if ( 17 >= $package['contents_cost'] ) {
56
+ return 0;
57
+ }
58
+
59
+ return $package['contents_cost'];
60
+ }
61
  }
includes/wc-correios-functions.php CHANGED
@@ -106,6 +106,7 @@ function wc_correios_get_error_message( $code ) {
106
  '-33' => __( 'System temporarily down. Please try again later.', 'woocommerce-correios' ),
107
  '-3' => __( 'Invalid zip code.', 'woocommerce-correios' ),
108
  '010' => __( 'Area with delivery temporarily subjected to different periods.', 'woocommerce-correios' ),
 
109
  ) );
110
 
111
  return isset( $messages[ $code ] ) ? $messages[ $code ] : '';
106
  '-33' => __( 'System temporarily down. Please try again later.', 'woocommerce-correios' ),
107
  '-3' => __( 'Invalid zip code.', 'woocommerce-correios' ),
108
  '010' => __( 'Area with delivery temporarily subjected to different periods.', 'woocommerce-correios' ),
109
+ '011' => __( 'The destination CEP is subject to special delivery conditions by ECT and will be carried out with the addition of up to 7 (seven) business days to the regular term.', 'woocommerce-correios' ),
110
  ) );
111
 
112
  return isset( $messages[ $code ] ) ? $messages[ $code ] : '';
languages/woocommerce-correios.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Correios 3.4.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-correios\n"
8
- "POT-Creation-Date: 2017-05-17 05:14:51+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -27,7 +27,7 @@ msgstr ""
27
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:79
28
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:114
29
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:57
30
- #: includes/abstracts/abstract-wc-correios-shipping.php:109
31
  #: includes/emails/class-wc-correios-tracking-email.php:50
32
  #: includes/integrations/class-wc-correios-integration.php:76
33
  #: includes/integrations/class-wc-correios-integration.php:94
@@ -38,7 +38,7 @@ msgstr ""
38
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:81
39
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:116
40
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:59
41
- #: includes/abstracts/abstract-wc-correios-shipping.php:111
42
  #: includes/shipping/class-wc-correios-shipping-legacy.php:81
43
  msgid "Enable this shipping method"
44
  msgstr ""
@@ -46,7 +46,7 @@ msgstr ""
46
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:85
47
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:120
48
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:63
49
- #: includes/abstracts/abstract-wc-correios-shipping.php:115
50
  #: includes/shipping/class-wc-correios-shipping-legacy.php:85
51
  msgid "Title"
52
  msgstr ""
@@ -54,7 +54,7 @@ msgstr ""
54
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:87
55
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:122
56
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:65
57
- #: includes/abstracts/abstract-wc-correios-shipping.php:117
58
  #: includes/shipping/class-wc-correios-shipping-legacy.php:87
59
  msgid "This controls the title which the user sees during checkout."
60
  msgstr ""
@@ -62,14 +62,14 @@ msgstr ""
62
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:92
63
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:127
64
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:70
65
- #: includes/abstracts/abstract-wc-correios-shipping.php:122
66
  msgid "Behavior Options"
67
  msgstr ""
68
 
69
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:97
70
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:132
71
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:96
72
- #: includes/abstracts/abstract-wc-correios-shipping.php:135
73
  msgid "Shipping Class"
74
  msgstr ""
75
 
@@ -81,21 +81,21 @@ msgstr ""
81
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:106
82
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:155
83
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:105
84
- #: includes/abstracts/abstract-wc-correios-shipping.php:144
85
  msgid "Delivery Time"
86
  msgstr ""
87
 
88
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:108
89
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:157
90
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:107
91
- #: includes/abstracts/abstract-wc-correios-shipping.php:146
92
  msgid "Show estimated delivery time"
93
  msgstr ""
94
 
95
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:109
96
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:158
97
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:108
98
- #: includes/abstracts/abstract-wc-correios-shipping.php:147
99
  msgid "Display the estimated delivery time in working days."
100
  msgstr ""
101
 
@@ -112,7 +112,7 @@ msgstr ""
112
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:122
113
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:171
114
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:113
115
- #: includes/abstracts/abstract-wc-correios-shipping.php:160
116
  #: includes/shipping/class-wc-correios-shipping-legacy.php:123
117
  msgid "Handling Fee"
118
  msgstr ""
@@ -120,7 +120,7 @@ msgstr ""
120
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:124
121
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:173
122
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:115
123
- #: includes/abstracts/abstract-wc-correios-shipping.php:162
124
  #: includes/shipping/class-wc-correios-shipping-legacy.php:125
125
  msgid ""
126
  "Enter an amount, e.g. 2.50, or a percentage, e.g. 5%. Leave blank to "
@@ -130,57 +130,57 @@ msgstr ""
130
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:130
131
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:179
132
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:121
133
- #: includes/abstracts/abstract-wc-correios-shipping.php:168
134
  msgid "Optional Services"
135
  msgstr ""
136
 
137
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:132
138
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:181
139
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:123
140
- #: includes/abstracts/abstract-wc-correios-shipping.php:170
141
  msgid "Use these options to add the value of each service provided by the Correios."
142
  msgstr ""
143
 
144
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:136
145
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:185
146
- #: includes/abstracts/abstract-wc-correios-shipping.php:174
147
  msgid "Receipt Notice"
148
  msgstr ""
149
 
150
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:138
151
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:187
152
- #: includes/abstracts/abstract-wc-correios-shipping.php:176
153
  msgid "Enable receipt notice"
154
  msgstr ""
155
 
156
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:139
157
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:188
158
- #: includes/abstracts/abstract-wc-correios-shipping.php:177
159
  msgid "This controls whether to add costs of the receipt notice service."
160
  msgstr ""
161
 
162
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:144
163
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:193
164
- #: includes/abstracts/abstract-wc-correios-shipping.php:182
165
  msgid "Own Hands"
166
  msgstr ""
167
 
168
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:146
169
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:195
170
- #: includes/abstracts/abstract-wc-correios-shipping.php:184
171
  msgid "Enable own hands"
172
  msgstr ""
173
 
174
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:147
175
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:196
176
- #: includes/abstracts/abstract-wc-correios-shipping.php:185
177
  msgid "This controls whether to add costs of the own hands service"
178
  msgstr ""
179
 
180
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:152
181
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:201
182
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:127
183
- #: includes/abstracts/abstract-wc-correios-shipping.php:264
184
  #: includes/shipping/class-wc-correios-shipping-legacy.php:224
185
  msgid "Testing"
186
  msgstr ""
@@ -188,7 +188,7 @@ msgstr ""
188
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:157
189
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:206
190
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:132
191
- #: includes/abstracts/abstract-wc-correios-shipping.php:269
192
  #: includes/integrations/class-wc-correios-integration.php:82
193
  #: includes/integrations/class-wc-correios-integration.php:135
194
  #: includes/shipping/class-wc-correios-shipping-legacy.php:228
@@ -198,7 +198,7 @@ msgstr ""
198
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:159
199
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:208
200
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:134
201
- #: includes/abstracts/abstract-wc-correios-shipping.php:271
202
  #: includes/shipping/class-wc-correios-shipping-legacy.php:230
203
  msgid "Enable logging"
204
  msgstr ""
@@ -206,7 +206,7 @@ msgstr ""
206
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:161
207
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:210
208
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:136
209
- #: includes/abstracts/abstract-wc-correios-shipping.php:273
210
  #: includes/integrations/class-wc-correios-integration.php:86
211
  #: includes/integrations/class-wc-correios-integration.php:139
212
  msgid "Log %s events, such as WebServices requests."
@@ -261,142 +261,149 @@ msgid "Interior"
261
  msgstr ""
262
 
263
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:98
264
- #: includes/abstracts/abstract-wc-correios-shipping.php:137
265
  msgid "If necessary, select a shipping class to apply this method."
266
  msgstr ""
267
 
268
- #: includes/abstracts/abstract-wc-correios-shipping.php:81
269
  #: includes/integrations/class-wc-correios-integration.php:62
270
  msgid "View logs."
271
  msgstr ""
272
 
273
- #: includes/abstracts/abstract-wc-correios-shipping.php:92
274
  msgid "Any Shipping Class"
275
  msgstr ""
276
 
277
- #: includes/abstracts/abstract-wc-correios-shipping.php:93
278
  msgid "No Shipping Class"
279
  msgstr ""
280
 
281
- #: includes/abstracts/abstract-wc-correios-shipping.php:127
282
  msgid "Origin Postcode"
283
  msgstr ""
284
 
285
- #: includes/abstracts/abstract-wc-correios-shipping.php:129
286
  msgid "The postcode of the location your packages are delivered from."
287
  msgstr ""
288
 
289
- #: includes/abstracts/abstract-wc-correios-shipping.php:152
290
  msgid "Additional Days"
291
  msgstr ""
292
 
293
- #: includes/abstracts/abstract-wc-correios-shipping.php:154
294
  msgid "Additional working days to the estimated delivery."
295
  msgstr ""
296
 
297
- #: includes/abstracts/abstract-wc-correios-shipping.php:190
298
  msgid "Declare Value for Insurance"
299
  msgstr ""
300
 
301
- #: includes/abstracts/abstract-wc-correios-shipping.php:192
302
  msgid "Enable declared value"
303
  msgstr ""
304
 
305
- #: includes/abstracts/abstract-wc-correios-shipping.php:193
306
  msgid ""
307
  "This controls if the price of the package must be declared for insurance "
308
  "purposes."
309
  msgstr ""
310
 
311
- #: includes/abstracts/abstract-wc-correios-shipping.php:198
312
  msgid "Service Options"
313
  msgstr ""
314
 
315
- #: includes/abstracts/abstract-wc-correios-shipping.php:203
316
  msgid "Service Code"
317
  msgstr ""
318
 
319
- #: includes/abstracts/abstract-wc-correios-shipping.php:205
320
  msgid "Service code, use this for custom codes."
321
  msgstr ""
322
 
323
- #: includes/abstracts/abstract-wc-correios-shipping.php:211
324
  #: includes/shipping/class-wc-correios-shipping-esedex.php:40
325
  msgid "Service Type"
326
  msgstr ""
327
 
328
- #: includes/abstracts/abstract-wc-correios-shipping.php:213
329
  #: includes/shipping/class-wc-correios-shipping-esedex.php:42
330
  #: includes/shipping/class-wc-correios-shipping-legacy.php:136
331
  msgid "Choose between conventional or corporate service."
332
  msgstr ""
333
 
334
- #: includes/abstracts/abstract-wc-correios-shipping.php:218
335
  #: includes/shipping/class-wc-correios-shipping-legacy.php:140
336
  msgid "Conventional"
337
  msgstr ""
338
 
339
- #: includes/abstracts/abstract-wc-correios-shipping.php:219
340
  #: includes/shipping/class-wc-correios-shipping-esedex.php:47
341
  #: includes/shipping/class-wc-correios-shipping-legacy.php:141
342
  msgid "Corporate"
343
  msgstr ""
344
 
345
- #: includes/abstracts/abstract-wc-correios-shipping.php:223
346
  #: includes/shipping/class-wc-correios-shipping-legacy.php:145
347
  msgid "Administrative Code"
348
  msgstr ""
349
 
350
- #: includes/abstracts/abstract-wc-correios-shipping.php:225
351
  msgid "Your Correios login. It's usually your CNPJ."
352
  msgstr ""
353
 
354
- #: includes/abstracts/abstract-wc-correios-shipping.php:230
355
  #: includes/shipping/class-wc-correios-shipping-legacy.php:151
356
  msgid "Administrative Password"
357
  msgstr ""
358
 
359
- #: includes/abstracts/abstract-wc-correios-shipping.php:232
360
  #: includes/shipping/class-wc-correios-shipping-legacy.php:153
361
  msgid "Your Correios password."
362
  msgstr ""
363
 
364
- #: includes/abstracts/abstract-wc-correios-shipping.php:237
365
  #: includes/shipping/class-wc-correios-shipping-legacy.php:197
366
  msgid "Package Standard"
367
  msgstr ""
368
 
369
- #: includes/abstracts/abstract-wc-correios-shipping.php:239
370
  msgid "Minimum measure for your shipping packages."
371
  msgstr ""
372
 
373
- #: includes/abstracts/abstract-wc-correios-shipping.php:243
374
- #: includes/shipping/class-wc-correios-shipping-legacy.php:203
375
- msgid "Minimum Height"
376
  msgstr ""
377
 
378
- #: includes/abstracts/abstract-wc-correios-shipping.php:245
379
  msgid "Minimum height of your shipping packages. Correios needs at least 2cm."
380
  msgstr ""
381
 
382
- #: includes/abstracts/abstract-wc-correios-shipping.php:250
383
- #: includes/shipping/class-wc-correios-shipping-legacy.php:210
384
- msgid "Minimum Width"
385
  msgstr ""
386
 
387
- #: includes/abstracts/abstract-wc-correios-shipping.php:252
388
  msgid "Minimum width of your shipping packages. Correios needs at least 11cm."
389
  msgstr ""
390
 
391
- #: includes/abstracts/abstract-wc-correios-shipping.php:257
392
- #: includes/shipping/class-wc-correios-shipping-legacy.php:217
393
- msgid "Minimum Length"
394
  msgstr ""
395
 
396
- #: includes/abstracts/abstract-wc-correios-shipping.php:259
397
  msgid "Minimum length of your shipping packages. Correios needs at least 16cm."
398
  msgstr ""
399
 
 
 
 
 
 
 
 
 
 
 
400
  #: includes/admin/class-wc-correios-admin-orders.php:51
401
  #: includes/admin/views/html-meta-box-tracking-code.php:19
402
  #: includes/admin/views/html-meta-box-tracking-code.php:41
@@ -814,14 +821,26 @@ msgstr ""
814
  msgid "Sets a minimum measure for the package."
815
  msgstr ""
816
 
 
 
 
 
817
  #: includes/shipping/class-wc-correios-shipping-legacy.php:205
818
  msgid "Minimum height of the package. Correios needs at least 2 cm."
819
  msgstr ""
820
 
 
 
 
 
821
  #: includes/shipping/class-wc-correios-shipping-legacy.php:212
822
  msgid "Minimum width of the package. Correios needs at least 11 cm."
823
  msgstr ""
824
 
 
 
 
 
825
  #: includes/shipping/class-wc-correios-shipping-legacy.php:219
826
  msgid "Minimum length of the package. Correios needs at least 16 cm."
827
  msgstr ""
@@ -882,11 +901,18 @@ msgstr ""
882
  msgid "Area with delivery temporarily subjected to different periods."
883
  msgstr ""
884
 
885
- #: includes/wc-correios-functions.php:199
 
 
 
 
 
 
 
886
  msgid "Added a Correios tracking code: %s"
887
  msgstr ""
888
 
889
- #: includes/wc-correios-functions.php:218
890
  msgid "Removed a Correios tracking code: %s"
891
  msgstr ""
892
 
@@ -937,5 +963,5 @@ msgid "Claudio Sanches"
937
  msgstr ""
938
 
939
  #. Author URI of the plugin/theme
940
- msgid "https://claudiosmweb.com"
941
  msgstr ""
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Correios 3.5.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-correios\n"
8
+ "POT-Creation-Date: 2017-10-06 17:25:09+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
27
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:79
28
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:114
29
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:57
30
+ #: includes/abstracts/abstract-wc-correios-shipping.php:110
31
  #: includes/emails/class-wc-correios-tracking-email.php:50
32
  #: includes/integrations/class-wc-correios-integration.php:76
33
  #: includes/integrations/class-wc-correios-integration.php:94
38
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:81
39
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:116
40
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:59
41
+ #: includes/abstracts/abstract-wc-correios-shipping.php:112
42
  #: includes/shipping/class-wc-correios-shipping-legacy.php:81
43
  msgid "Enable this shipping method"
44
  msgstr ""
46
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:85
47
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:120
48
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:63
49
+ #: includes/abstracts/abstract-wc-correios-shipping.php:116
50
  #: includes/shipping/class-wc-correios-shipping-legacy.php:85
51
  msgid "Title"
52
  msgstr ""
54
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:87
55
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:122
56
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:65
57
+ #: includes/abstracts/abstract-wc-correios-shipping.php:118
58
  #: includes/shipping/class-wc-correios-shipping-legacy.php:87
59
  msgid "This controls the title which the user sees during checkout."
60
  msgstr ""
62
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:92
63
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:127
64
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:70
65
+ #: includes/abstracts/abstract-wc-correios-shipping.php:123
66
  msgid "Behavior Options"
67
  msgstr ""
68
 
69
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:97
70
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:132
71
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:96
72
+ #: includes/abstracts/abstract-wc-correios-shipping.php:136
73
  msgid "Shipping Class"
74
  msgstr ""
75
 
81
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:106
82
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:155
83
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:105
84
+ #: includes/abstracts/abstract-wc-correios-shipping.php:145
85
  msgid "Delivery Time"
86
  msgstr ""
87
 
88
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:108
89
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:157
90
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:107
91
+ #: includes/abstracts/abstract-wc-correios-shipping.php:147
92
  msgid "Show estimated delivery time"
93
  msgstr ""
94
 
95
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:109
96
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:158
97
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:108
98
+ #: includes/abstracts/abstract-wc-correios-shipping.php:148
99
  msgid "Display the estimated delivery time in working days."
100
  msgstr ""
101
 
112
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:122
113
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:171
114
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:113
115
+ #: includes/abstracts/abstract-wc-correios-shipping.php:161
116
  #: includes/shipping/class-wc-correios-shipping-legacy.php:123
117
  msgid "Handling Fee"
118
  msgstr ""
120
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:124
121
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:173
122
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:115
123
+ #: includes/abstracts/abstract-wc-correios-shipping.php:163
124
  #: includes/shipping/class-wc-correios-shipping-legacy.php:125
125
  msgid ""
126
  "Enter an amount, e.g. 2.50, or a percentage, e.g. 5%. Leave blank to "
130
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:130
131
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:179
132
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:121
133
+ #: includes/abstracts/abstract-wc-correios-shipping.php:169
134
  msgid "Optional Services"
135
  msgstr ""
136
 
137
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:132
138
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:181
139
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:123
140
+ #: includes/abstracts/abstract-wc-correios-shipping.php:171
141
  msgid "Use these options to add the value of each service provided by the Correios."
142
  msgstr ""
143
 
144
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:136
145
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:185
146
+ #: includes/abstracts/abstract-wc-correios-shipping.php:175
147
  msgid "Receipt Notice"
148
  msgstr ""
149
 
150
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:138
151
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:187
152
+ #: includes/abstracts/abstract-wc-correios-shipping.php:177
153
  msgid "Enable receipt notice"
154
  msgstr ""
155
 
156
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:139
157
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:188
158
+ #: includes/abstracts/abstract-wc-correios-shipping.php:178
159
  msgid "This controls whether to add costs of the receipt notice service."
160
  msgstr ""
161
 
162
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:144
163
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:193
164
+ #: includes/abstracts/abstract-wc-correios-shipping.php:183
165
  msgid "Own Hands"
166
  msgstr ""
167
 
168
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:146
169
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:195
170
+ #: includes/abstracts/abstract-wc-correios-shipping.php:185
171
  msgid "Enable own hands"
172
  msgstr ""
173
 
174
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:147
175
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:196
176
+ #: includes/abstracts/abstract-wc-correios-shipping.php:186
177
  msgid "This controls whether to add costs of the own hands service"
178
  msgstr ""
179
 
180
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:152
181
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:201
182
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:127
183
+ #: includes/abstracts/abstract-wc-correios-shipping.php:272
184
  #: includes/shipping/class-wc-correios-shipping-legacy.php:224
185
  msgid "Testing"
186
  msgstr ""
188
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:157
189
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:206
190
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:132
191
+ #: includes/abstracts/abstract-wc-correios-shipping.php:277
192
  #: includes/integrations/class-wc-correios-integration.php:82
193
  #: includes/integrations/class-wc-correios-integration.php:135
194
  #: includes/shipping/class-wc-correios-shipping-legacy.php:228
198
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:159
199
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:208
200
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:134
201
+ #: includes/abstracts/abstract-wc-correios-shipping.php:279
202
  #: includes/shipping/class-wc-correios-shipping-legacy.php:230
203
  msgid "Enable logging"
204
  msgstr ""
206
  #: includes/abstracts/abstract-wc-correios-shipping-carta.php:161
207
  #: includes/abstracts/abstract-wc-correios-shipping-impresso.php:210
208
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:136
209
+ #: includes/abstracts/abstract-wc-correios-shipping.php:281
210
  #: includes/integrations/class-wc-correios-integration.php:86
211
  #: includes/integrations/class-wc-correios-integration.php:139
212
  msgid "Log %s events, such as WebServices requests."
261
  msgstr ""
262
 
263
  #: includes/abstracts/abstract-wc-correios-shipping-international.php:98
264
+ #: includes/abstracts/abstract-wc-correios-shipping.php:138
265
  msgid "If necessary, select a shipping class to apply this method."
266
  msgstr ""
267
 
268
+ #: includes/abstracts/abstract-wc-correios-shipping.php:82
269
  #: includes/integrations/class-wc-correios-integration.php:62
270
  msgid "View logs."
271
  msgstr ""
272
 
273
+ #: includes/abstracts/abstract-wc-correios-shipping.php:93
274
  msgid "Any Shipping Class"
275
  msgstr ""
276
 
277
+ #: includes/abstracts/abstract-wc-correios-shipping.php:94
278
  msgid "No Shipping Class"
279
  msgstr ""
280
 
281
+ #: includes/abstracts/abstract-wc-correios-shipping.php:128
282
  msgid "Origin Postcode"
283
  msgstr ""
284
 
285
+ #: includes/abstracts/abstract-wc-correios-shipping.php:130
286
  msgid "The postcode of the location your packages are delivered from."
287
  msgstr ""
288
 
289
+ #: includes/abstracts/abstract-wc-correios-shipping.php:153
290
  msgid "Additional Days"
291
  msgstr ""
292
 
293
+ #: includes/abstracts/abstract-wc-correios-shipping.php:155
294
  msgid "Additional working days to the estimated delivery."
295
  msgstr ""
296
 
297
+ #: includes/abstracts/abstract-wc-correios-shipping.php:191
298
  msgid "Declare Value for Insurance"
299
  msgstr ""
300
 
301
+ #: includes/abstracts/abstract-wc-correios-shipping.php:193
302
  msgid "Enable declared value"
303
  msgstr ""
304
 
305
+ #: includes/abstracts/abstract-wc-correios-shipping.php:194
306
  msgid ""
307
  "This controls if the price of the package must be declared for insurance "
308
  "purposes."
309
  msgstr ""
310
 
311
+ #: includes/abstracts/abstract-wc-correios-shipping.php:199
312
  msgid "Service Options"
313
  msgstr ""
314
 
315
+ #: includes/abstracts/abstract-wc-correios-shipping.php:204
316
  msgid "Service Code"
317
  msgstr ""
318
 
319
+ #: includes/abstracts/abstract-wc-correios-shipping.php:206
320
  msgid "Service code, use this for custom codes."
321
  msgstr ""
322
 
323
+ #: includes/abstracts/abstract-wc-correios-shipping.php:212
324
  #: includes/shipping/class-wc-correios-shipping-esedex.php:40
325
  msgid "Service Type"
326
  msgstr ""
327
 
328
+ #: includes/abstracts/abstract-wc-correios-shipping.php:214
329
  #: includes/shipping/class-wc-correios-shipping-esedex.php:42
330
  #: includes/shipping/class-wc-correios-shipping-legacy.php:136
331
  msgid "Choose between conventional or corporate service."
332
  msgstr ""
333
 
334
+ #: includes/abstracts/abstract-wc-correios-shipping.php:219
335
  #: includes/shipping/class-wc-correios-shipping-legacy.php:140
336
  msgid "Conventional"
337
  msgstr ""
338
 
339
+ #: includes/abstracts/abstract-wc-correios-shipping.php:220
340
  #: includes/shipping/class-wc-correios-shipping-esedex.php:47
341
  #: includes/shipping/class-wc-correios-shipping-legacy.php:141
342
  msgid "Corporate"
343
  msgstr ""
344
 
345
+ #: includes/abstracts/abstract-wc-correios-shipping.php:224
346
  #: includes/shipping/class-wc-correios-shipping-legacy.php:145
347
  msgid "Administrative Code"
348
  msgstr ""
349
 
350
+ #: includes/abstracts/abstract-wc-correios-shipping.php:226
351
  msgid "Your Correios login. It's usually your CNPJ."
352
  msgstr ""
353
 
354
+ #: includes/abstracts/abstract-wc-correios-shipping.php:231
355
  #: includes/shipping/class-wc-correios-shipping-legacy.php:151
356
  msgid "Administrative Password"
357
  msgstr ""
358
 
359
+ #: includes/abstracts/abstract-wc-correios-shipping.php:233
360
  #: includes/shipping/class-wc-correios-shipping-legacy.php:153
361
  msgid "Your Correios password."
362
  msgstr ""
363
 
364
+ #: includes/abstracts/abstract-wc-correios-shipping.php:238
365
  #: includes/shipping/class-wc-correios-shipping-legacy.php:197
366
  msgid "Package Standard"
367
  msgstr ""
368
 
369
+ #: includes/abstracts/abstract-wc-correios-shipping.php:240
370
  msgid "Minimum measure for your shipping packages."
371
  msgstr ""
372
 
373
+ #: includes/abstracts/abstract-wc-correios-shipping.php:244
374
+ msgid "Minimum Height (cm)"
 
375
  msgstr ""
376
 
377
+ #: includes/abstracts/abstract-wc-correios-shipping.php:246
378
  msgid "Minimum height of your shipping packages. Correios needs at least 2cm."
379
  msgstr ""
380
 
381
+ #: includes/abstracts/abstract-wc-correios-shipping.php:251
382
+ msgid "Minimum Width (cm)"
 
383
  msgstr ""
384
 
385
+ #: includes/abstracts/abstract-wc-correios-shipping.php:253
386
  msgid "Minimum width of your shipping packages. Correios needs at least 11cm."
387
  msgstr ""
388
 
389
+ #: includes/abstracts/abstract-wc-correios-shipping.php:258
390
+ msgid "Minimum Length (cm)"
 
391
  msgstr ""
392
 
393
+ #: includes/abstracts/abstract-wc-correios-shipping.php:260
394
  msgid "Minimum length of your shipping packages. Correios needs at least 16cm."
395
  msgstr ""
396
 
397
+ #: includes/abstracts/abstract-wc-correios-shipping.php:265
398
+ msgid "Extra Weight (kg)"
399
+ msgstr ""
400
+
401
+ #: includes/abstracts/abstract-wc-correios-shipping.php:267
402
+ msgid ""
403
+ "Extra weight in kilograms to add to the package total when quoting shipping "
404
+ "costs."
405
+ msgstr ""
406
+
407
  #: includes/admin/class-wc-correios-admin-orders.php:51
408
  #: includes/admin/views/html-meta-box-tracking-code.php:19
409
  #: includes/admin/views/html-meta-box-tracking-code.php:41
821
  msgid "Sets a minimum measure for the package."
822
  msgstr ""
823
 
824
+ #: includes/shipping/class-wc-correios-shipping-legacy.php:203
825
+ msgid "Minimum Height"
826
+ msgstr ""
827
+
828
  #: includes/shipping/class-wc-correios-shipping-legacy.php:205
829
  msgid "Minimum height of the package. Correios needs at least 2 cm."
830
  msgstr ""
831
 
832
+ #: includes/shipping/class-wc-correios-shipping-legacy.php:210
833
+ msgid "Minimum Width"
834
+ msgstr ""
835
+
836
  #: includes/shipping/class-wc-correios-shipping-legacy.php:212
837
  msgid "Minimum width of the package. Correios needs at least 11 cm."
838
  msgstr ""
839
 
840
+ #: includes/shipping/class-wc-correios-shipping-legacy.php:217
841
+ msgid "Minimum Length"
842
+ msgstr ""
843
+
844
  #: includes/shipping/class-wc-correios-shipping-legacy.php:219
845
  msgid "Minimum length of the package. Correios needs at least 16 cm."
846
  msgstr ""
901
  msgid "Area with delivery temporarily subjected to different periods."
902
  msgstr ""
903
 
904
+ #: includes/wc-correios-functions.php:109
905
+ msgid ""
906
+ "The destination CEP is subject to special delivery conditions by ECT and "
907
+ "will be carried out with the addition of up to 7 (seven) business days to "
908
+ "the regular term."
909
+ msgstr ""
910
+
911
+ #: includes/wc-correios-functions.php:200
912
  msgid "Added a Correios tracking code: %s"
913
  msgstr ""
914
 
915
+ #: includes/wc-correios-functions.php:219
916
  msgid "Removed a Correios tracking code: %s"
917
  msgstr ""
918
 
963
  msgstr ""
964
 
965
  #. Author URI of the plugin/theme
966
+ msgid "https://claudiosanches.com"
967
  msgstr ""
readme.txt CHANGED
@@ -1,10 +1,11 @@
1
  === WooCommerce Correios ===
2
  Contributors: claudiosanches, rodrigoprior, matheuscl
3
- Donate link: http://claudiosmweb.com/doacoes/
4
  Tags: shipping, delivery, woocommerce, correios
5
  Requires at least: 4.0
6
- Tested up to: 4.7
7
- Stable tag: 3.4.1
 
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -46,14 +47,14 @@ Confira o nosso guia de instalação e configuração do Correios na aba [Instal
46
 
47
  = Compatibilidade =
48
 
49
- Compatível com a versão 2.6.x e 3.0.x do WooCommerce.
50
 
51
  = Dúvidas? =
52
 
53
  Você pode esclarecer suas dúvidas usando:
54
 
55
  - A nossa sessão de [FAQ](http://wordpress.org/extend/plugins/woocommerce-correios/faq/).
56
- - Utilizando o nosso [fórum no Github](https://github.com/claudiosmweb/woocommerce-correios).
57
  - Criando um tópico no [fórum de ajuda do WordPress](http://wordpress.org/support/plugin/woocommerce-correios).
58
 
59
  == Installation ==
@@ -87,7 +88,7 @@ Este plugin esta licenciado como GPL.
87
 
88
  = O que eu preciso para utilizar este plugin? =
89
 
90
- * WooCommerce 2.6 ou superior.
91
  * [SimpleXML](http://php.net/manual/pt_BR/book.simplexml.php) ativado no PHP (note que já é ativado por padrão no PHP 5).
92
  * Modulo [SOAP](http://php.net/manual/pt_BR/book.soap.php) (utilizado para a tabela de histórico de rastreamento e autopreenchimento de endereços).
93
  * Adicionar peso e dimensões nos produtos que pretende entregar.
@@ -184,11 +185,11 @@ Este plugin utiliza o Webservices dos Correios para calcular o frete e quando es
184
 
185
  Se estiver tendo problemas, antes de tudo ative a opção de **Log de depuração** do método que você esta tendo problema e tente novamente cotar o frete, fazendo isso, um arquivo de log é criado e são registradas as respostas do Webservice dos Correios, leia o arquivo de log, nele é descrito exatamente o que esta acontecendo, tanto o que foi concluindo com sucesso ou não.
186
 
187
- Se ainda não foi capaz de solucionar o problema, copie o conteúdo do arquivo de log, cole no [pastebin.com](http://pastebin.com), salve e pegue o link gerado, depois disso abra um tópico informando o seu problema no [fórum de suporte do plugin](https://wordpress.org/support/plugin/woocommerce-correios#postform).
188
 
189
  = Dúvidas sobre o funcionamento do plugin? =
190
 
191
- Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](https://wordpress.org/support/plugin/woocommerce-correios#postform), vou responder conforme eu tenho tempo livre e caso sua dúvida for relacionada com o funcionamento deste plguin.
192
 
193
  == Screenshots ==
194
 
@@ -203,6 +204,12 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
203
 
204
  == Changelog ==
205
 
 
 
 
 
 
 
206
  = 3.4.1 - 2017/05/17 =
207
 
208
  - Restaurado o suporte de valores em porcentagem para "Taxa de manuseio".
@@ -312,7 +319,7 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
312
  - Atualizada a integração com o sistema que gera o histórico de rastreamento do pedido.
313
  - Removida a opção de simulador de frete na página do produto.
314
  - Integrado o campo de "correios_tracking_code" dos pedidos com a API REST do WooCommerce.
315
- - E mais outras várias alterações que podem ser verificadas pelo [GitHub](https://github.com/claudiosmweb/woocommerce-correios/compare/2.3.0...3.0.0).
316
 
317
  == Upgrade Notice ==
318
 
1
  === WooCommerce Correios ===
2
  Contributors: claudiosanches, rodrigoprior, matheuscl
3
+ Donate link: https://claudiosanches.com/doacoes/
4
  Tags: shipping, delivery, woocommerce, correios
5
  Requires at least: 4.0
6
+ Tested up to: 4.8
7
+ Stable tag: 3.5.0
8
+ Requires PHP: 5.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
47
 
48
  = Compatibilidade =
49
 
50
+ Requer WooCommerce 3.0 ou posterior para funcionar.
51
 
52
  = Dúvidas? =
53
 
54
  Você pode esclarecer suas dúvidas usando:
55
 
56
  - A nossa sessão de [FAQ](http://wordpress.org/extend/plugins/woocommerce-correios/faq/).
57
+ - Utilizando o nosso [fórum no Github](https://github.com/claudiosanches/woocommerce-correios).
58
  - Criando um tópico no [fórum de ajuda do WordPress](http://wordpress.org/support/plugin/woocommerce-correios).
59
 
60
  == Installation ==
88
 
89
  = O que eu preciso para utilizar este plugin? =
90
 
91
+ * WooCommerce 3.0 ou posterior.
92
  * [SimpleXML](http://php.net/manual/pt_BR/book.simplexml.php) ativado no PHP (note que já é ativado por padrão no PHP 5).
93
  * Modulo [SOAP](http://php.net/manual/pt_BR/book.soap.php) (utilizado para a tabela de histórico de rastreamento e autopreenchimento de endereços).
94
  * Adicionar peso e dimensões nos produtos que pretende entregar.
185
 
186
  Se estiver tendo problemas, antes de tudo ative a opção de **Log de depuração** do método que você esta tendo problema e tente novamente cotar o frete, fazendo isso, um arquivo de log é criado e são registradas as respostas do Webservice dos Correios, leia o arquivo de log, nele é descrito exatamente o que esta acontecendo, tanto o que foi concluindo com sucesso ou não.
187
 
188
+ Se ainda não foi capaz de solucionar o problema, copie o conteúdo do arquivo de log, cole no [pastebin.com](http://pastebin.com), salve e pegue o link gerado, depois disso abra um tópico informando o seu problema no [fórum de suporte do plugin](https://wordpress.org/support/plugin/woocommerce-correios/#new-post).
189
 
190
  = Dúvidas sobre o funcionamento do plugin? =
191
 
192
+ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](https://wordpress.org/support/plugin/woocommerce-correios/#new-post), vou responder conforme eu tenho tempo livre e caso sua dúvida for relacionada com o funcionamento deste plguin.
193
 
194
  == Screenshots ==
195
 
204
 
205
  == Changelog ==
206
 
207
+ = 3.5.0 - 2017/10/06 =
208
+
209
+ - Adicionada opção para adicionar peso extra por pacote.
210
+ - Adicionado suporte para entrega em áreas de risco.
211
+ - Corrigido problema de valor declaro do PAC.
212
+
213
  = 3.4.1 - 2017/05/17 =
214
 
215
  - Restaurado o suporte de valores em porcentagem para "Taxa de manuseio".
319
  - Atualizada a integração com o sistema que gera o histórico de rastreamento do pedido.
320
  - Removida a opção de simulador de frete na página do produto.
321
  - Integrado o campo de "correios_tracking_code" dos pedidos com a API REST do WooCommerce.
322
+ - E mais outras várias alterações que podem ser verificadas pelo [GitHub](https://github.com/claudiosanches/woocommerce-correios/compare/2.3.0...3.0.0).
323
 
324
  == Upgrade Notice ==
325
 
woocommerce-correios.php CHANGED
@@ -1,14 +1,16 @@
1
  <?php
2
  /**
3
- * Plugin Name: WooCommerce Correios
4
- * Plugin URI: https://github.com/claudiosanches/woocommerce-correios
5
- * Description: Adds Correios shipping methods to your WooCommerce store.
6
- * Author: Claudio Sanches
7
- * Author URI: https://claudiosmweb.com
8
- * Version: 3.4.1
9
- * License: GPLv2 or later
10
- * Text Domain: woocommerce-correios
11
- * Domain Path: /languages
 
 
12
  *
13
  * WooCommerce Correios is free software: you can redistribute it and/or modify
14
  * it under the terms of the GNU General Public License as published by
@@ -43,7 +45,7 @@ if ( ! class_exists( 'WC_Correios' ) ) :
43
  *
44
  * @var string
45
  */
46
- const VERSION = '3.4.1';
47
 
48
  /**
49
  * Instance of this class.
1
  <?php
2
  /**
3
+ * Plugin Name: WooCommerce Correios
4
+ * Plugin URI: https://github.com/claudiosanches/woocommerce-correios
5
+ * Description: Adds Correios shipping methods to your WooCommerce store.
6
+ * Author: Claudio Sanches
7
+ * Author URI: https://claudiosanches.com
8
+ * Version: 3.5.0
9
+ * License: GPLv2 or later
10
+ * Text Domain: woocommerce-correios
11
+ * Domain Path: /languages
12
+ * WC requires at least: 3.0.0
13
+ * WC tested up to: 3.2.0
14
  *
15
  * WooCommerce Correios is free software: you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License as published by
45
  *
46
  * @var string
47
  */
48
+ const VERSION = '3.5.0';
49
 
50
  /**
51
  * Instance of this class.