Ajax Search for WooCommerce - Version 1.1.2

Version Description

Download this release

Release Info

Developer damian-gora
Plugin Icon 128x128 Ajax Search for WooCommerce
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

ajax-search-for-woocommerce.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Ajax Search for WooCommerce
5
  * Plugin URI: https://wordpress.org/plugins/ajax-search-for-woocommerce/
6
  * Description: The plugin allows you to display the WooCommerce AJAX search form anywhere on the page.
7
- * Version: 1.1.1
8
  * Author: Damian Góra
9
  * Author URI: http://damiangora.com
10
  * Text Domain: ajax-search-for-woocommerce
@@ -97,7 +97,7 @@ if ( !class_exists( 'DGWT_WC_Ajax_Search' ) ) {
97
  */
98
  private function constants() {
99
 
100
- $this->define( 'DGWT_WCAS_VERSION', '1.1.1' );
101
  $this->define( 'DGWT_WCAS_NAME', 'Ajax Search for WooCommerce' );
102
  $this->define( 'DGWT_WCAS_FILE', __FILE__ );
103
  $this->define( 'DGWT_WCAS_DIR', plugin_dir_path( __FILE__ ) );
4
  * Plugin Name: Ajax Search for WooCommerce
5
  * Plugin URI: https://wordpress.org/plugins/ajax-search-for-woocommerce/
6
  * Description: The plugin allows you to display the WooCommerce AJAX search form anywhere on the page.
7
+ * Version: 1.1.2
8
  * Author: Damian Góra
9
  * Author URI: http://damiangora.com
10
  * Text Domain: ajax-search-for-woocommerce
97
  */
98
  private function constants() {
99
 
100
+ $this->define( 'DGWT_WCAS_VERSION', '1.1.2' );
101
  $this->define( 'DGWT_WCAS_NAME', 'Ajax Search for WooCommerce' );
102
  $this->define( 'DGWT_WCAS_FILE', __FILE__ );
103
  $this->define( 'DGWT_WCAS_DIR', plugin_dir_path( __FILE__ ) );
includes/class-result-details.php CHANGED
@@ -83,20 +83,20 @@ class DGWT_WCAS_Result_Details {
83
 
84
  $html = '';
85
 
86
- $product = new WC_Product( $product_id );
87
-
88
- if ( empty( $product->post ) ) {
89
  return;
90
  }
91
 
92
  $details = array(
93
- 'id' => $product->id,
94
  'desc' => '',
95
  );
96
 
97
 
98
  // Get product desc
99
- $details[ 'desc' ] = dgwt_wcas_get_product_desc( $product, 500);
100
 
101
 
102
  ob_start();
83
 
84
  $html = '';
85
 
86
+ $product = wc_get_product( $product_id );
87
+
88
+ if ( empty( $product) ) {
89
  return;
90
  }
91
 
92
  $details = array(
93
+ 'id' => $product->get_id(),
94
  'desc' => '',
95
  );
96
 
97
 
98
  // Get product desc
99
+ $details[ 'desc' ] = dgwt_wcas_get_product_desc( $product, 500 );
100
 
101
 
102
  ob_start();
includes/functions.php CHANGED
@@ -122,18 +122,29 @@ function dgwt_wcas_print_ico_loupe() {
122
  function dgwt_wcas_get_product_desc( $product, $length = 130 ) {
123
 
124
  if ( is_numeric( $product ) ) {
125
- $product = new WC_Product( $product );
126
  }
127
 
128
  $output = '';
129
 
130
- if ( is_object( $product ) && isset( $product->post ) ) {
131
 
132
- if ( !empty( $product->post->post_excerpt ) ) {
133
- $output = dgwt_wcas_str_cut( wp_strip_all_tags( $product->post->post_excerpt ), $length );
134
  } else {
135
- if ( !empty( $product->post->post_content ) ) {
136
- $output = dgwt_wcas_str_cut( wp_strip_all_tags( $product->post->post_content ), $length );
 
 
 
 
 
 
 
 
 
 
 
137
  }
138
  }
139
  }
@@ -261,9 +272,26 @@ function dgwt_wcas_minify_css( $input ) {
261
  ), $input );
262
  }
263
 
264
- function dgwt_wcas_compare_wc_version($version, $op) {
265
  if ( function_exists( 'WC' ) && ( version_compare( WC()->version, $version, $op )) ) {
266
  return true;
267
  }
268
  return false;
269
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  function dgwt_wcas_get_product_desc( $product, $length = 130 ) {
123
 
124
  if ( is_numeric( $product ) ) {
125
+ $product = wc_get_product( $product );
126
  }
127
 
128
  $output = '';
129
 
130
+ if ( !empty( $product ) ) {
131
 
132
+ if ( dgwt_wcas_compare_wc_version( '3.0', '>=' ) ) {
133
+ $short_desc = $product->get_short_description();
134
  } else {
135
+ $short_desc = $product->post->post_excerpt;
136
+ }
137
+
138
+ if ( !empty( $short_desc ) ) {
139
+ $output = dgwt_wcas_str_cut( wp_strip_all_tags( $short_desc ), $length );
140
+ } else {
141
+ if ( dgwt_wcas_compare_wc_version( '3.0', '>=' ) ) {
142
+ $desc = $product->get_description();
143
+ } else {
144
+ $short_desc = $product->post->post_content;
145
+ }
146
+ if ( !empty( $desc ) ) {
147
+ $output = dgwt_wcas_str_cut( wp_strip_all_tags( $desc ), $length );
148
  }
149
  }
150
  }
272
  ), $input );
273
  }
274
 
275
+ function dgwt_wcas_compare_wc_version( $version, $op ) {
276
  if ( function_exists( 'WC' ) && ( version_compare( WC()->version, $version, $op )) ) {
277
  return true;
278
  }
279
  return false;
280
+ }
281
+
282
+ /**
283
+ * Get rating HTML
284
+ * @param $product object WC_Product
285
+ * @return string
286
+ */
287
+ function dgwt_wcas_get_rating_html( $product ) {
288
+ $html = '';
289
+
290
+ if ( dgwt_wcas_compare_wc_version( '3.0', '>=' ) ) {
291
+ $html = wc_get_rating_html( $product->get_average_rating() );
292
+ } else {
293
+ $html = $product->get_rating_html();
294
+ }
295
+
296
+ return $html;
297
+ }
includes/tmpl/single-product-tax.php CHANGED
@@ -2,7 +2,7 @@
2
  $rew_count = $product->get_review_count();
3
  ?>
4
 
5
- <a class="dgwt-wcas-tax-product-details" href="<?php echo esc_url( get_permalink( $product->id ) ); ?>" title="<?php echo esc_attr( $product->get_title() ); ?>">
6
 
7
  <div class="dgwt-wcas-tpd-image">
8
  <?php echo $product->get_image( array( 60, 60 ) ); ?>
@@ -15,7 +15,7 @@ $rew_count = $product->get_review_count();
15
  <?php if ( $rew_count > 0 ): ?>
16
 
17
  <div class="dgwt-wcas-pd-rating">
18
- <?php echo $product->get_rating_html() . ' <span class="dgwt-wcas-pd-review">(' . $rew_count . ')</span>'; ?>
19
  </div>
20
 
21
  <?php endif; ?>
2
  $rew_count = $product->get_review_count();
3
  ?>
4
 
5
+ <a class="dgwt-wcas-tax-product-details" href="<?php echo esc_url( get_permalink( $product->get_id() ) ); ?>" title="<?php echo esc_attr( $product->get_title() ); ?>">
6
 
7
  <div class="dgwt-wcas-tpd-image">
8
  <?php echo $product->get_image( array( 60, 60 ) ); ?>
15
  <?php if ( $rew_count > 0 ): ?>
16
 
17
  <div class="dgwt-wcas-pd-rating">
18
+ <?php echo dgwt_wcas_get_rating_html( $product) . ' <span class="dgwt-wcas-pd-review">(' . $rew_count . ')</span>'; ?>
19
  </div>
20
 
21
  <?php endif; ?>
includes/tmpl/single-product.php CHANGED
@@ -4,7 +4,7 @@ $rew_count = $product->get_review_count();
4
  <div class="dgwt-wcas-details-inner">
5
  <div class="dgwt-wcas-product-details">
6
 
7
- <a class="dgwt-wcas-pd-details" href="<?php echo esc_url( get_permalink( $product->id ) ); ?>" title="<?php echo esc_attr( $product->get_title() ); ?>">
8
 
9
  <div class="dgwt-wcas-pd-image">
10
  <?php echo $product->get_image( array( 60, 60 ) ); ?>
@@ -17,7 +17,7 @@ $rew_count = $product->get_review_count();
17
  <?php if ( $rew_count > 0 ): ?>
18
 
19
  <div class="dgwt-wcas-pd-rating">
20
- <?php echo $product->get_rating_html() . ' <span class="dgwt-wcas-pd-review">(' . $rew_count . ')</span>'; ?>
21
  </div>
22
 
23
  <?php endif; ?>
@@ -38,7 +38,7 @@ $rew_count = $product->get_review_count();
38
  <div class="dgwt-wcas-pd-addtc">
39
  <?php
40
  echo WC_Shortcodes::product_add_to_cart( array(
41
- 'id' => $product->id,
42
  'show_price' => false,
43
  'style' => '',
44
  ) );
@@ -47,4 +47,5 @@ $rew_count = $product->get_review_count();
47
 
48
 
49
  </div>
50
- </div>
 
4
  <div class="dgwt-wcas-details-inner">
5
  <div class="dgwt-wcas-product-details">
6
 
7
+ <a class="dgwt-wcas-pd-details" href="<?php echo esc_url( get_permalink( $product->get_id() ) ); ?>" title="<?php echo esc_attr( $product->get_title() ); ?>">
8
 
9
  <div class="dgwt-wcas-pd-image">
10
  <?php echo $product->get_image( array( 60, 60 ) ); ?>
17
  <?php if ( $rew_count > 0 ): ?>
18
 
19
  <div class="dgwt-wcas-pd-rating">
20
+ <?php echo dgwt_wcas_get_rating_html( $product ) . ' <span class="dgwt-wcas-pd-review">(' . $rew_count . ')</span>'; ?>
21
  </div>
22
 
23
  <?php endif; ?>
38
  <div class="dgwt-wcas-pd-addtc">
39
  <?php
40
  echo WC_Shortcodes::product_add_to_cart( array(
41
+ 'id' => $product->get_id(),
42
  'show_price' => false,
43
  'style' => '',
44
  ) );
47
 
48
 
49
  </div>
50
+ </div>
51
+
languages/ajax-search-for-woocommerce-pl_PL.mo CHANGED
Binary file
languages/ajax-search-for-woocommerce-pl_PL.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: Ajax Search for WooCommerce\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2017-06-06 22:09+0000\n"
6
- "PO-Revision-Date: 2017-06-06 22:14+0000\n"
7
- "Last-Translator: Damian Góra <wp@damiangora.com>\n"
8
  "Language-Team: Polish\n"
9
  "Language: pl-PL\n"
10
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10 >= 2 && n%10<=4 "
@@ -14,125 +14,51 @@ msgstr ""
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco - https://localise.biz/"
16
 
17
- #: ajax-search-for-woocommerce.php:87
18
- msgid ""
19
- "<b>Ajax Search for WooCommerce</b>: You need PHP version at least 5.3 to run "
20
- "this plugin. You are currently using PHP version "
21
- msgstr ""
22
- "<b>Ajax Search for WooCommerce</b>: Wymagana wersja PHP do uruchomienia "
23
- "wtyczki to 5.3 lub wyższa. Aktualnie używasz wersji "
24
-
25
- #: includes/class-result-details.php:147
26
- msgid "Category"
27
- msgstr "Kategoria"
28
-
29
- #: includes/class-result-details.php:149
30
- msgid "Tag"
31
- msgstr "Tag"
32
-
33
- #: includes/class-search.php:163
34
- msgid "No results"
35
- msgstr "Brak wyników"
36
-
37
- #: includes/class-search.php:259 includes/class-search.php:310
38
- msgid "in"
39
- msgstr "w"
40
-
41
- #: includes/widget.php:19
42
- msgid "Ajax (live) search form for WooCommerce"
43
- msgstr "Ajaxowa wyszukiwarka produktów dla WooCommerce"
44
-
45
  #: includes/widget.php:21 includes/admin/admin-menus.php:23
46
  msgid "Woo Ajax Search"
47
  msgstr ""
48
 
49
- #: includes/widget.php:26
50
- msgid "Title"
51
- msgstr "Tytuł"
52
-
53
- #: includes/register-scripts.php:28
54
- msgctxt "For product badge: on sale"
55
- msgid "sale"
56
- msgstr "sprzedaż"
57
-
58
- #: includes/register-scripts.php:29
59
- msgctxt "For product badge: featured"
60
- msgid "featured"
61
- msgstr "wyróżniony"
62
-
63
- #: includes/tmpl/search-form.php:19
64
- msgid "Products search"
65
- msgstr "Wyszukiwarka produktów"
66
-
67
- #: includes/tmpl/search-form.php:27
68
- #: includes/admin/settings/class-settings.php:139
69
- msgid "Search for products..."
70
- msgstr "Szukaj produktów"
71
-
72
  #. Name of the plugin
73
  #: includes/admin/admin-menus.php:23 includes/admin/views/settings.php:9
74
  msgid "Ajax Search for WooCommerce"
75
  msgstr ""
76
 
77
- #: includes/admin/settings/class-settings.php:69
78
- msgid "Basic"
79
- msgstr "Podstawowe"
80
-
81
- #: includes/admin/settings/class-settings.php:73
82
- msgid "Advanced"
83
- msgstr "Zaawansowane"
84
-
85
- #: includes/admin/settings/class-settings.php:77
86
- msgid "Extra Details"
87
- msgstr "Dodatkowe szczegóły"
88
-
89
- #: includes/admin/settings/class-settings.php:81
90
- msgid "Style"
91
- msgstr "Styl"
92
-
93
- #: includes/admin/settings/class-settings.php:101
94
- msgid "How to use?"
95
- msgstr "Jak używać?"
96
-
97
- #: includes/admin/settings/class-settings.php:107
98
- msgid "Suggestions limit"
99
- msgstr "Limit podpowiedzi"
100
-
101
  #: includes/admin/settings/class-settings.php:110
102
  msgid "Maximum number of suggestions rows."
103
- msgstr ""
104
 
105
  #: includes/admin/settings/class-settings.php:115
106
  msgid "Minimum characters"
107
- msgstr ""
108
 
109
  #: includes/admin/settings/class-settings.php:118
110
  msgid "Minimum number of characters required to trigger autosuggest."
111
  msgstr ""
 
112
 
113
  #: includes/admin/settings/class-settings.php:123
114
  msgid "Show submit button"
115
- msgstr ""
116
 
117
  #: includes/admin/settings/class-settings.php:130
118
  msgid "Search submit button text"
119
- msgstr ""
120
 
121
  #: includes/admin/settings/class-settings.php:132
122
  msgid "To display a loupe icon leave this field empty."
123
- msgstr ""
124
 
125
  #: includes/admin/settings/class-settings.php:133
126
  msgid "Search"
127
- msgstr ""
128
 
129
  #: includes/admin/settings/class-settings.php:137
130
  msgid "Search input placeholder"
131
- msgstr ""
132
 
133
  #: includes/admin/settings/class-settings.php:143
134
  msgid "Show details box"
135
- msgstr ""
136
 
137
  #: includes/admin/settings/class-settings.php:146
138
  msgid ""
@@ -140,141 +66,145 @@ msgid ""
140
  "details are changed dynamically when you hover the mouse over one of the "
141
  "suggestions."
142
  msgstr ""
 
 
143
 
144
  #: includes/admin/settings/class-settings.php:153
145
  msgid "Product search"
146
- msgstr ""
147
 
148
  #: includes/admin/settings/class-settings.php:158
149
  msgid "Search in products content"
150
- msgstr ""
151
 
152
  #: includes/admin/settings/class-settings.php:164
153
  msgid "Search in products excerpt"
154
- msgstr ""
155
 
156
  #: includes/admin/settings/class-settings.php:170
157
  msgid "Search in products SKU"
158
- msgstr ""
159
 
160
  #: includes/admin/settings/class-settings.php:176
161
  msgid "Exclude 'out of stock' products"
162
- msgstr ""
163
 
164
  #: includes/admin/settings/class-settings.php:182
165
  msgid "Taxonomy search"
166
- msgstr ""
167
 
168
  #: includes/admin/settings/class-settings.php:187
169
  msgid "Show matching categories"
170
- msgstr ""
171
 
172
  #: includes/admin/settings/class-settings.php:193
173
  msgid "Show matching tags"
174
- msgstr ""
175
 
176
  #: includes/admin/settings/class-settings.php:199
177
  msgid "Suggestions output"
178
- msgstr ""
179
 
180
  #: includes/admin/settings/class-settings.php:204
181
  msgid "Show product image"
182
- msgstr ""
183
 
184
  #: includes/admin/settings/class-settings.php:210
185
  msgid "Show price"
186
- msgstr ""
187
 
188
  #: includes/admin/settings/class-settings.php:216
189
  msgid "Show product description"
190
- msgstr ""
191
 
192
  #: includes/admin/settings/class-settings.php:222
193
  msgid "Show SKU"
194
- msgstr ""
195
 
196
  #: includes/admin/settings/class-settings.php:242
197
  msgid "Category and tag details:"
198
- msgstr ""
199
 
200
  #: includes/admin/settings/class-settings.php:247
201
  msgid "Show"
202
- msgstr ""
203
 
204
  #: includes/admin/settings/class-settings.php:250
205
  msgid "All Product"
206
- msgstr ""
207
 
208
  #: includes/admin/settings/class-settings.php:251
209
  msgid "Featured Products"
210
- msgstr ""
211
 
212
  #: includes/admin/settings/class-settings.php:252
213
  msgid "On-sale Products"
214
- msgstr ""
215
 
216
  #: includes/admin/settings/class-settings.php:258
217
  #: includes/admin/settings/class-settings.php:270
218
  msgid "Order by"
219
- msgstr ""
220
 
221
  #: includes/admin/settings/class-settings.php:261
222
  msgid "Date"
223
- msgstr ""
224
 
225
  #: includes/admin/settings/class-settings.php:262
226
  msgid "Price"
227
- msgstr ""
228
 
229
  #: includes/admin/settings/class-settings.php:263
230
  msgid "Random"
231
- msgstr ""
232
 
233
  #: includes/admin/settings/class-settings.php:264
234
  msgid "Sales"
235
- msgstr ""
236
 
237
  #: includes/admin/settings/class-settings.php:273
238
  msgid "DESC"
239
- msgstr ""
240
 
241
  #: includes/admin/settings/class-settings.php:274
242
  msgid "ASC"
243
- msgstr ""
244
 
245
  #: includes/admin/settings/class-settings.php:280
246
  msgid "Other"
247
- msgstr ""
248
 
249
  #: includes/admin/settings/class-settings.php:285
250
  msgid "Details box position"
251
- msgstr ""
252
 
253
  #: includes/admin/settings/class-settings.php:287
254
  msgid ""
255
  "If your search form is very close to the right window screen, then select "
256
  "left."
257
  msgstr ""
 
 
258
 
259
  #: includes/admin/settings/class-settings.php:289
260
  msgid "Left"
261
- msgstr ""
262
 
263
  #: includes/admin/settings/class-settings.php:290
264
  msgid "Right"
265
- msgstr ""
266
 
267
  #: includes/admin/settings/class-settings.php:298
268
  msgid "Search form"
269
- msgstr ""
270
 
271
  #: includes/admin/settings/class-settings.php:303
272
  msgid "Search input background"
273
- msgstr ""
274
 
275
  #: includes/admin/settings/class-settings.php:309
276
  msgid "Search input text"
277
- msgstr ""
278
 
279
  #: includes/admin/settings/class-settings.php:315
280
  msgid "Search input border"
@@ -369,3 +299,78 @@ msgstr ""
369
  #. Author URI of the plugin
370
  msgid "http://damiangora.com"
371
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "Project-Id-Version: Ajax Search for WooCommerce\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2017-06-06 22:09+0000\n"
6
+ "PO-Revision-Date: 2017-06-07 20:07+0000\n"
7
+ "Last-Translator: dgwt-wcas <admin@webtroter.pl>\n"
8
  "Language-Team: Polish\n"
9
  "Language: pl-PL\n"
10
  "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10 >= 2 && n%10<=4 "
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "X-Generator: Loco - https://localise.biz/"
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  #: includes/widget.php:21 includes/admin/admin-menus.php:23
18
  msgid "Woo Ajax Search"
19
  msgstr ""
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  #. Name of the plugin
22
  #: includes/admin/admin-menus.php:23 includes/admin/views/settings.php:9
23
  msgid "Ajax Search for WooCommerce"
24
  msgstr ""
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  #: includes/admin/settings/class-settings.php:110
27
  msgid "Maximum number of suggestions rows."
28
+ msgstr "Maksymalna liczba podpowiedzi."
29
 
30
  #: includes/admin/settings/class-settings.php:115
31
  msgid "Minimum characters"
32
+ msgstr "Minimalna liczba znaków"
33
 
34
  #: includes/admin/settings/class-settings.php:118
35
  msgid "Minimum number of characters required to trigger autosuggest."
36
  msgstr ""
37
+ "Minimalna liczba znaków, które należy wpisać aby pojawiły się podpowiedzi"
38
 
39
  #: includes/admin/settings/class-settings.php:123
40
  msgid "Show submit button"
41
+ msgstr "Pokaż przycisk \"Szukaj\""
42
 
43
  #: includes/admin/settings/class-settings.php:130
44
  msgid "Search submit button text"
45
+ msgstr "Własny tekst na przycisku wyszukiwania"
46
 
47
  #: includes/admin/settings/class-settings.php:132
48
  msgid "To display a loupe icon leave this field empty."
49
+ msgstr "Gdy zostawisz to pole puste to zostanie wyświetlona ikona lupy."
50
 
51
  #: includes/admin/settings/class-settings.php:133
52
  msgid "Search"
53
+ msgstr "Szukaj"
54
 
55
  #: includes/admin/settings/class-settings.php:137
56
  msgid "Search input placeholder"
57
+ msgstr "Placeholder dla pola wyszukiwania"
58
 
59
  #: includes/admin/settings/class-settings.php:143
60
  msgid "Show details box"
61
+ msgstr "Pokaż okno z dodatkowymi informacjami"
62
 
63
  #: includes/admin/settings/class-settings.php:146
64
  msgid ""
66
  "details are changed dynamically when you hover the mouse over one of the "
67
  "suggestions."
68
  msgstr ""
69
+ "Okno z dodatkowymi informacjami pojawia się po najechaniu kursorem na jedną "
70
+ "z wyświetlonych podpowiedzi."
71
 
72
  #: includes/admin/settings/class-settings.php:153
73
  msgid "Product search"
74
+ msgstr "Wyszukiwanie w produktach"
75
 
76
  #: includes/admin/settings/class-settings.php:158
77
  msgid "Search in products content"
78
+ msgstr "Szukaj w opisach produktów"
79
 
80
  #: includes/admin/settings/class-settings.php:164
81
  msgid "Search in products excerpt"
82
+ msgstr "Szukaj w zajawkach produktów"
83
 
84
  #: includes/admin/settings/class-settings.php:170
85
  msgid "Search in products SKU"
86
+ msgstr "Szukaj w SKU"
87
 
88
  #: includes/admin/settings/class-settings.php:176
89
  msgid "Exclude 'out of stock' products"
90
+ msgstr "Wyklucz produkty o zerowym stanie magazynowym"
91
 
92
  #: includes/admin/settings/class-settings.php:182
93
  msgid "Taxonomy search"
94
+ msgstr "Wyszukiwanie w taksonomiach"
95
 
96
  #: includes/admin/settings/class-settings.php:187
97
  msgid "Show matching categories"
98
+ msgstr "Pokaż kategorie pasujące do szukanej frazy"
99
 
100
  #: includes/admin/settings/class-settings.php:193
101
  msgid "Show matching tags"
102
+ msgstr "Pokaż tagi pasujące do szukanej frazy"
103
 
104
  #: includes/admin/settings/class-settings.php:199
105
  msgid "Suggestions output"
106
+ msgstr "Wygląd podpowiedzi"
107
 
108
  #: includes/admin/settings/class-settings.php:204
109
  msgid "Show product image"
110
+ msgstr "Pokaż zdjęcie produktu"
111
 
112
  #: includes/admin/settings/class-settings.php:210
113
  msgid "Show price"
114
+ msgstr "Pokaż cenę"
115
 
116
  #: includes/admin/settings/class-settings.php:216
117
  msgid "Show product description"
118
+ msgstr "Pokaż opis produktu"
119
 
120
  #: includes/admin/settings/class-settings.php:222
121
  msgid "Show SKU"
122
+ msgstr "Pokaż SKU"
123
 
124
  #: includes/admin/settings/class-settings.php:242
125
  msgid "Category and tag details:"
126
+ msgstr "Szczegóły kategorii i tagów"
127
 
128
  #: includes/admin/settings/class-settings.php:247
129
  msgid "Show"
130
+ msgstr "Pokaż"
131
 
132
  #: includes/admin/settings/class-settings.php:250
133
  msgid "All Product"
134
+ msgstr "Wszystkie produkty"
135
 
136
  #: includes/admin/settings/class-settings.php:251
137
  msgid "Featured Products"
138
+ msgstr "Produkty wyróżnione"
139
 
140
  #: includes/admin/settings/class-settings.php:252
141
  msgid "On-sale Products"
142
+ msgstr "Produkty oznaczone jako \"wyprzedaż\""
143
 
144
  #: includes/admin/settings/class-settings.php:258
145
  #: includes/admin/settings/class-settings.php:270
146
  msgid "Order by"
147
+ msgstr "Kolejność przez"
148
 
149
  #: includes/admin/settings/class-settings.php:261
150
  msgid "Date"
151
+ msgstr "Data"
152
 
153
  #: includes/admin/settings/class-settings.php:262
154
  msgid "Price"
155
+ msgstr "Cena"
156
 
157
  #: includes/admin/settings/class-settings.php:263
158
  msgid "Random"
159
+ msgstr "Losowo"
160
 
161
  #: includes/admin/settings/class-settings.php:264
162
  msgid "Sales"
163
+ msgstr "Sprzedaż"
164
 
165
  #: includes/admin/settings/class-settings.php:273
166
  msgid "DESC"
167
+ msgstr "Malejąco"
168
 
169
  #: includes/admin/settings/class-settings.php:274
170
  msgid "ASC"
171
+ msgstr "Rosnąco"
172
 
173
  #: includes/admin/settings/class-settings.php:280
174
  msgid "Other"
175
+ msgstr "Inne"
176
 
177
  #: includes/admin/settings/class-settings.php:285
178
  msgid "Details box position"
179
+ msgstr "Pozycja okna z dodatkowymi informacjami"
180
 
181
  #: includes/admin/settings/class-settings.php:287
182
  msgid ""
183
  "If your search form is very close to the right window screen, then select "
184
  "left."
185
  msgstr ""
186
+ "Wybierz \"Po lewej\" gdy formularz wyszukiwania jest bardzo blisko prawej "
187
+ "krawędzi okna."
188
 
189
  #: includes/admin/settings/class-settings.php:289
190
  msgid "Left"
191
+ msgstr "Po lewej"
192
 
193
  #: includes/admin/settings/class-settings.php:290
194
  msgid "Right"
195
+ msgstr "Po prawej"
196
 
197
  #: includes/admin/settings/class-settings.php:298
198
  msgid "Search form"
199
+ msgstr "Formularz wyszukiwania"
200
 
201
  #: includes/admin/settings/class-settings.php:303
202
  msgid "Search input background"
203
+ msgstr "Tło pola do wpisania frazy"
204
 
205
  #: includes/admin/settings/class-settings.php:309
206
  msgid "Search input text"
207
+ msgstr "Tekst "
208
 
209
  #: includes/admin/settings/class-settings.php:315
210
  msgid "Search input border"
299
  #. Author URI of the plugin
300
  msgid "http://damiangora.com"
301
  msgstr ""
302
+
303
+ #: ajax-search-for-woocommerce.php:87
304
+ msgid ""
305
+ "<b>Ajax Search for WooCommerce</b>: You need PHP version at least 5.3 to run "
306
+ "this plugin. You are currently using PHP version "
307
+ msgstr ""
308
+ "<b>Ajax Search for WooCommerce</b>: Wymagana wersja PHP do uruchomienia "
309
+ "wtyczki to 5.3 lub wyższa. Aktualnie używasz wersji "
310
+
311
+ #: includes/class-result-details.php:147
312
+ msgid "Category"
313
+ msgstr "Kategoria"
314
+
315
+ #: includes/class-result-details.php:149
316
+ msgid "Tag"
317
+ msgstr "Tag"
318
+
319
+ #: includes/class-search.php:163
320
+ msgid "No results"
321
+ msgstr "Brak wyników"
322
+
323
+ #: includes/class-search.php:259 includes/class-search.php:310
324
+ msgid "in"
325
+ msgstr "w"
326
+
327
+ #: includes/widget.php:19
328
+ msgid "Ajax (live) search form for WooCommerce"
329
+ msgstr "Ajaxowa wyszukiwarka produktów dla WooCommerce"
330
+
331
+ #: includes/widget.php:26
332
+ msgid "Title"
333
+ msgstr "Tytuł"
334
+
335
+ #: includes/register-scripts.php:28
336
+ msgctxt "For product badge: on sale"
337
+ msgid "sale"
338
+ msgstr "sprzedaż"
339
+
340
+ #: includes/register-scripts.php:29
341
+ msgctxt "For product badge: featured"
342
+ msgid "featured"
343
+ msgstr "wyróżniony"
344
+
345
+ #: includes/tmpl/search-form.php:19
346
+ msgid "Products search"
347
+ msgstr "Wyszukiwarka produktów"
348
+
349
+ #: includes/tmpl/search-form.php:27
350
+ #: includes/admin/settings/class-settings.php:139
351
+ msgid "Search for products..."
352
+ msgstr "Szukaj produktów"
353
+
354
+ #: includes/admin/settings/class-settings.php:69
355
+ msgid "Basic"
356
+ msgstr "Podstawowe"
357
+
358
+ #: includes/admin/settings/class-settings.php:73
359
+ msgid "Advanced"
360
+ msgstr "Zaawansowane"
361
+
362
+ #: includes/admin/settings/class-settings.php:77
363
+ msgid "Extra Details"
364
+ msgstr "Dodatkowe szczegóły"
365
+
366
+ #: includes/admin/settings/class-settings.php:81
367
+ msgid "Style"
368
+ msgstr "Styl"
369
+
370
+ #: includes/admin/settings/class-settings.php:101
371
+ msgid "How to use?"
372
+ msgstr "Jak używać?"
373
+
374
+ #: includes/admin/settings/class-settings.php:107
375
+ msgid "Suggestions limit"
376
+ msgstr "Limit podpowiedzi"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: AJAX, ajax search, autocomplete, category search, custom search, ecommerce, instant search, sive search, product search, products, search, search by sku, search highlight, search plugin, shop, woocommerce, woocommerce live search, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress search, wp ajax search, wp search, wp search plugin, wp tao
5
  Requires at least: 3.8
6
  Tested up to: 4.7.5
7
- Stable tag: 1.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -67,10 +67,13 @@ Any suggestions or comments are welcome. Feel free to contact me using this [con
67
 
68
  == Changelog ==
69
 
 
 
 
70
  = 1.1.1, June 6, 2017 =
71
  * ADD: Added Portable Object Template file
72
  * ADD: Added partial polish translation
73
- * FIX: WooCommerce 3.0 compatible
74
  * FIX: Menu items repeated in a search page
75
  * FIX: Other minor bugs
76
 
4
  Tags: AJAX, ajax search, autocomplete, category search, custom search, ecommerce, instant search, sive search, product search, products, search, search by sku, search highlight, search plugin, shop, woocommerce, woocommerce live search, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress search, wp ajax search, wp search, wp search plugin, wp tao
5
  Requires at least: 3.8
6
  Tested up to: 4.7.5
7
+ Stable tag: 1.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
67
 
68
  == Changelog ==
69
 
70
+ = 1.1.2, June 7, 2017 =
71
+ * FIX: Replace deprecated methods and functions in WC 3.0.x
72
+
73
  = 1.1.1, June 6, 2017 =
74
  * ADD: Added Portable Object Template file
75
  * ADD: Added partial polish translation
76
+ * FIX: WooCommerce 3.0.x compatible
77
  * FIX: Menu items repeated in a search page
78
  * FIX: Other minor bugs
79