WooCommerce Direct Checkout - Version 2.3.1

Version Description

  • Fix: WooCommerce Direct Checkout products ajax add to cart
Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WooCommerce Direct Checkout
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3.0 to 2.3.1

includes/controller/premium.php CHANGED
@@ -38,7 +38,7 @@ class QLWCDC_Controller_Premium {
38
 
39
  function add_menu() {
40
  add_menu_page(QLWCDC_PLUGIN_NAME, QLWCDC_PLUGIN_NAME, 'manage_woocommerce', QLWCDC_PREFIX, array($this, 'add_page'));
41
- add_submenu_page(QLWCDC_PREFIX, esc_html__('Premium', 'woocommerce-checkout-manager'), esc_html__('Premium', 'woocommerce-checkout-manager'), 'manage_woocommerce', QLWCDC_PREFIX, array($this, 'add_page'));
42
  }
43
 
44
  }
38
 
39
  function add_menu() {
40
  add_menu_page(QLWCDC_PLUGIN_NAME, QLWCDC_PLUGIN_NAME, 'manage_woocommerce', QLWCDC_PREFIX, array($this, 'add_page'));
41
+ add_submenu_page(QLWCDC_PREFIX, esc_html__('Premium', 'woocommerce-direct-checkout'), esc_html__('Premium', 'woocommerce-direct-checkout'), 'manage_woocommerce', QLWCDC_PREFIX, array($this, 'add_page'));
42
  }
43
 
44
  }
includes/controller/products.php CHANGED
@@ -157,6 +157,20 @@ class QLWCDC_Controller_Products {
157
  // Fields
158
  $this->product_fields = array(
159
  'start_group',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  array(
161
  'label' => esc_html__('Replace Add to cart text', 'woocommerce-direct-checkout'),
162
  'desc_tip' => true,
157
  // Fields
158
  $this->product_fields = array(
159
  'start_group',
160
+ array(
161
+ 'label' => esc_html__('Add ajax add to cart', 'woocommerce-direct-checkout'),
162
+ 'description' => esc_html__('Add products to cart via ajax.', 'woocommerce-direct-checkout'),
163
+ 'desc_tip' => true,
164
+ 'id' => 'qlwcdc_add_product_ajax',
165
+ 'type' => 'select',
166
+ 'options' => array(
167
+ 'yes' => esc_html__('Yes', 'woocommerce-direct-checkout'),
168
+ 'no' => esc_html__('No', 'woocommerce-direct-checkout'),
169
+ ),
170
+ 'value' => QLWCDC::instance()->get_product_option($thepostid, 'qlwcdc_add_product_ajax', 'no'),
171
+ ),
172
+ 'start_group',
173
+ 'end_group',
174
  array(
175
  'label' => esc_html__('Replace Add to cart text', 'woocommerce-direct-checkout'),
176
  'desc_tip' => true,
languages/woocommerce-direct-checkout.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Direct Checkout for WooCommerce\n"
5
- "POT-Creation-Date: 2019-11-28 20:17-0300\n"
6
  "PO-Revision-Date: 2019-08-09 07:24-0300\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -19,500 +19,407 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Poedit-SearchPathExcluded-0: *.js\n"
21
 
22
- #: includes/controller/archives.php:24 includes/controller/archives.php:32
23
- #: includes/view/frontend/archives.php:21
24
  msgid "Archives"
25
  msgstr ""
26
 
27
- #: includes/controller/archives.php:52 includes/controller/products.php:53
28
- #: includes/controller/products.php:161
29
  msgid "Replace Add to cart text"
30
  msgstr ""
31
 
32
- #: includes/controller/archives.php:53 includes/controller/products.php:54
33
- #: includes/controller/products.php:163
34
  msgid "Replace \"Add to cart\" text."
35
  msgstr ""
36
 
37
- #: includes/controller/archives.php:58 includes/controller/archives.php:92
38
- #: includes/controller/checkout.php:43 includes/controller/checkout.php:120
39
- #: includes/controller/checkout.php:132 includes/controller/checkout.php:144
40
- #: includes/controller/checkout.php:156 includes/controller/checkout.php:168
41
- #: includes/controller/checkout.php:180 includes/controller/checkout.php:192
42
- #: includes/controller/general.php:46 includes/controller/general.php:58
43
- #: includes/controller/general.php:72 includes/controller/products.php:47
44
- #: includes/controller/products.php:59 includes/controller/products.php:78
45
- #: includes/controller/products.php:116 includes/controller/products.php:167
46
- #: includes/controller/products.php:191
47
  msgid "Yes"
48
  msgstr ""
49
 
50
- #: includes/controller/archives.php:59 includes/controller/archives.php:93
51
- #: includes/controller/checkout.php:44 includes/controller/checkout.php:121
52
- #: includes/controller/checkout.php:133 includes/controller/checkout.php:145
53
- #: includes/controller/checkout.php:157 includes/controller/checkout.php:169
54
- #: includes/controller/checkout.php:181 includes/controller/checkout.php:193
55
- #: includes/controller/general.php:47 includes/controller/general.php:59
56
- #: includes/controller/general.php:70 includes/controller/products.php:48
57
- #: includes/controller/products.php:60 includes/controller/products.php:79
58
- #: includes/controller/products.php:117 includes/controller/products.php:168
59
- #: includes/controller/products.php:192
60
  msgid "No"
61
  msgstr ""
62
 
63
- #: includes/controller/archives.php:64
64
  msgid "Replace Add to cart text in"
65
  msgstr ""
66
 
67
- #: includes/controller/archives.php:65
68
  msgid "Replace \"Add to cart\" text in product types."
69
  msgstr ""
70
 
71
- #: includes/controller/archives.php:70
72
  msgid "Simple Products"
73
  msgstr ""
74
 
75
- #: includes/controller/archives.php:71
76
  msgid "Grouped Products"
77
  msgstr ""
78
 
79
- #: includes/controller/archives.php:72
80
  msgid "Virtual Products"
81
  msgstr ""
82
 
83
- #: includes/controller/archives.php:73
84
  msgid "Variable Products"
85
  msgstr ""
86
 
87
- #: includes/controller/archives.php:74
88
  msgid "Downloadable Products"
89
  msgstr ""
90
 
91
- #: includes/controller/archives.php:79 includes/controller/products.php:65
92
- #: includes/controller/products.php:173
93
  msgid "Replace Add to cart text content"
94
  msgstr ""
95
 
96
- #: includes/controller/archives.php:80 includes/controller/products.php:66
97
- #: includes/controller/products.php:175
98
  msgid "Replace \"Add to cart\" text with this text."
99
  msgstr ""
100
 
101
- #: includes/controller/archives.php:83 includes/controller/products.php:69
102
- #: includes/view/backend/pages/parts/header.php:8
103
  msgid "Purchase"
104
  msgstr ""
105
 
106
- #: includes/controller/archives.php:86
107
  msgid "Add quick view button"
108
  msgstr ""
109
 
110
- #: includes/controller/archives.php:87
111
  msgid "Add product quick view modal button."
112
  msgstr ""
113
 
114
- #: includes/controller/backend.php:31 includes/controller/backend.php:36
115
- #: includes/controller/products.php:233
116
- msgid "Direct Checkout"
117
- msgstr ""
118
-
119
- #: includes/controller/checkout.php:24 includes/controller/checkout.php:32
120
- #: includes/controller/general.php:107 includes/controller/products.php:98
121
- #: includes/controller/products.php:222 includes/view/frontend/general.php:29
122
- #: includes/view/frontend/general.php:41
123
  msgid "Checkout"
124
  msgstr ""
125
 
126
- #: includes/controller/checkout.php:37
127
  msgid "Add cart to checkout"
128
  msgstr ""
129
 
130
- #: includes/controller/checkout.php:38
131
  msgid ""
132
  "Simplifies the checkout process including the shopping cart page inside "
133
  "checkout."
134
  msgstr ""
135
 
136
- #: includes/controller/checkout.php:49
137
  msgid "Add cart to checkout fields"
138
  msgstr ""
139
 
140
- #: includes/controller/checkout.php:50
141
  msgid "Include this fields inside the checkout cart."
142
  msgstr ""
143
 
144
- #: includes/controller/checkout.php:55
145
  msgid "Remove"
146
  msgstr ""
147
 
148
- #: includes/controller/checkout.php:56
149
  msgid "Thumbnail"
150
  msgstr ""
151
 
152
- #: includes/controller/checkout.php:57
153
  msgid "Name"
154
  msgstr ""
155
 
156
- #: includes/controller/checkout.php:58
157
  msgid "Price"
158
  msgstr ""
159
 
160
- #: includes/controller/checkout.php:59
161
  msgid "Quantity"
162
  msgstr ""
163
 
164
- #: includes/controller/checkout.php:69
165
  msgid "Remove checkout coupon form"
166
  msgstr ""
167
 
168
- #: includes/controller/checkout.php:70
169
  msgid "Simplifies the checkout process removing the coupon form."
170
  msgstr ""
171
 
172
- #: includes/controller/checkout.php:75
173
  msgid "Leave coupon form"
174
  msgstr ""
175
 
176
- #: includes/controller/checkout.php:76
177
  msgid "Remove coupon form"
178
  msgstr ""
179
 
180
- #: includes/controller/checkout.php:77
181
  msgid "Remove coupon toggle"
182
  msgstr ""
183
 
184
- #: includes/controller/checkout.php:78
185
  msgid "Move to checkout order"
186
  msgstr ""
187
 
188
- #: includes/controller/checkout.php:83
189
  msgid "Add custom class to cart table"
190
  msgstr ""
191
 
192
- #: includes/controller/checkout.php:84
193
  msgid "Add a custom class to the cart table form in the checkot."
194
  msgstr ""
195
 
196
- #: includes/controller/checkout.php:90
197
- #: includes/view/backend/pages/premium.php:22
198
  msgid "Remove checkout fields"
199
  msgstr ""
200
 
201
- #: includes/controller/checkout.php:91
202
  msgid ""
203
  "Simplifies the checkout process removing the unnecessary checkout fields."
204
  msgstr ""
205
 
206
- #: includes/controller/checkout.php:96
207
  msgid "First Name"
208
  msgstr ""
209
 
210
- #: includes/controller/checkout.php:97
211
  msgid "Last Name"
212
  msgstr ""
213
 
214
- #: includes/controller/checkout.php:98
215
  msgid "Country"
216
  msgstr ""
217
 
218
- #: includes/controller/checkout.php:99
219
  msgid "State"
220
  msgstr ""
221
 
222
- #: includes/controller/checkout.php:100
223
  msgid "City"
224
  msgstr ""
225
 
226
- #: includes/controller/checkout.php:101
227
  msgid "Postcode"
228
  msgstr ""
229
 
230
- #: includes/controller/checkout.php:102
231
  msgid "Address 1"
232
  msgstr ""
233
 
234
- #: includes/controller/checkout.php:103
235
  msgid "Address 2"
236
  msgstr ""
237
 
238
- #: includes/controller/checkout.php:104
239
  msgid "Company"
240
  msgstr ""
241
 
242
- #: includes/controller/checkout.php:105
243
  msgid "Phone"
244
  msgstr ""
245
 
246
- #: includes/controller/checkout.php:114
247
  msgid "Remove checkout shipping address"
248
  msgstr ""
249
 
250
- #: includes/controller/checkout.php:115
251
  msgid "Simplifies the checkout process removing the shipping address."
252
  msgstr ""
253
 
254
- #: includes/controller/checkout.php:126
255
  msgid "Remove checkout order comments"
256
  msgstr ""
257
 
258
- #: includes/controller/checkout.php:127
259
  msgid "Simplifies the checkout process removing the order notes."
260
  msgstr ""
261
 
262
- #: includes/controller/checkout.php:138
263
  msgid "Remove checkout policy text"
264
  msgstr ""
265
 
266
- #: includes/controller/checkout.php:139
267
  msgid "Simplifies the checkout process removing the policy text."
268
  msgstr ""
269
 
270
- #: includes/controller/checkout.php:150
271
  msgid "Remove checkout terms and conditions"
272
  msgstr ""
273
 
274
- #: includes/controller/checkout.php:151
275
  msgid "Simplifies the checkout process removing the terms and conditions."
276
  msgstr ""
277
 
278
- #: includes/controller/checkout.php:162
279
  msgid "Remove checkout gateway icons"
280
  msgstr ""
281
 
282
- #: includes/controller/checkout.php:163
283
  msgid "Simplifies the checkout view by removing the payment gateway icons."
284
  msgstr ""
285
 
286
- #: includes/controller/checkout.php:174
287
- #: includes/view/backend/pages/premium.php:28
288
  msgid "Remove checkout columns"
289
  msgstr ""
290
 
291
- #: includes/controller/checkout.php:175
292
  msgid ""
293
  "Try to remove the columns and display the checkout form and order review in "
294
  "one column."
295
  msgstr ""
296
 
297
- #: includes/controller/checkout.php:186
298
  msgid "Remove order details address"
299
  msgstr ""
300
 
301
- #: includes/controller/checkout.php:187
302
  msgid "Remove the billing address of the customer in the order received page."
303
  msgstr ""
304
 
305
- #: includes/controller/general.php:26 includes/controller/general.php:34
306
  msgid "General"
307
  msgstr ""
308
 
309
- #: includes/controller/general.php:36
310
  msgid "Simplifies the checkout process."
311
  msgstr ""
312
 
313
- #: includes/controller/general.php:40
314
  msgid "Added to cart alert"
315
  msgstr ""
316
 
317
- #: includes/controller/general.php:41
318
  msgid "Replace \"View Cart\" alert with direct checkout."
319
  msgstr ""
320
 
321
- #: includes/controller/general.php:52
322
  msgid "Added to cart link"
323
  msgstr ""
324
 
325
- #: includes/controller/general.php:53
326
  msgid "Replace \"View Cart\" link with direct checkout."
327
  msgstr ""
328
 
329
- #: includes/controller/general.php:64
330
  msgid "Added to cart redirect"
331
  msgstr ""
332
 
333
- #: includes/controller/general.php:65
334
  msgid "Add to cart button behaviour."
335
  msgstr ""
336
 
337
- #: includes/controller/general.php:100
338
  msgid "Added to cart redirect to"
339
  msgstr ""
340
 
341
- #: includes/controller/general.php:101 includes/controller/general.php:114
342
  msgid "Redirect to the cart or checkout page after successful addition."
343
  msgstr ""
344
 
345
- #: includes/controller/general.php:106 includes/controller/products.php:97
346
- #: includes/controller/products.php:221
347
  msgid "Cart"
348
  msgstr ""
349
 
350
- #: includes/controller/general.php:108
351
  msgid "Custom URL"
352
  msgstr ""
353
 
354
- #: includes/controller/general.php:113
355
  msgid "Added to cart redirect to custom url"
356
  msgstr ""
357
 
358
- #: includes/controller/premium.php:41 includes/notices.php:84
359
- #: includes/view/backend/pages/parts/tabs.php:4
360
- #: includes/view/backend/pages/premium.php:6
361
- msgid "Premium"
362
  msgstr ""
363
 
364
- #: includes/controller/products.php:28 includes/controller/products.php:36
365
  msgid "Products"
366
  msgstr ""
367
 
368
- #: includes/controller/products.php:41
369
- msgid "Add ajax add to cart"
370
- msgstr ""
371
-
372
- #: includes/controller/products.php:42
373
- msgid "Add products to cart via ajax."
374
- msgstr ""
375
-
376
- #: includes/controller/products.php:72 includes/controller/products.php:184
377
  msgid "Add quick purchase button"
378
  msgstr ""
379
 
380
- #: includes/controller/products.php:73
381
  msgid "Add a quick purchase button to the products pages."
382
  msgstr ""
383
 
384
- #: includes/controller/products.php:84 includes/controller/products.php:197
385
  msgid "Add quick purchase class"
386
  msgstr ""
387
 
388
- #: includes/controller/products.php:85
389
  msgid "Add a custom class to the quick purchase button."
390
  msgstr ""
391
 
392
- #: includes/controller/products.php:91 includes/controller/products.php:215
393
  msgid "Redirect quick purchase to"
394
  msgstr ""
395
 
396
- #: includes/controller/products.php:92
397
  msgid "Redirect the quick purchase button to the cart or checkout page."
398
  msgstr ""
399
 
400
- #: includes/controller/products.php:103 includes/controller/products.php:206
401
  msgid "Add quick purchase text"
402
  msgstr ""
403
 
404
- #: includes/controller/products.php:104
405
  msgid "Add a custom text to the quick purchase button."
406
  msgstr ""
407
 
408
- #: includes/controller/products.php:107 includes/controller/products.php:273
409
- #: includes/view/backend/pages/premium.php:11
410
  msgid "Purchase Now"
411
  msgstr ""
412
 
413
- #: includes/controller/products.php:110
414
  msgid "Add default attributes in variable products"
415
  msgstr ""
416
 
417
- #: includes/controller/products.php:111
418
  msgid ""
419
  "Add default attributes in all variable products to avoid disabled Add to "
420
  "cart button."
421
  msgstr ""
422
 
423
- #: includes/controller/products.php:186
424
  msgid "Add quick purchase button to single product page."
425
  msgstr ""
426
 
427
- #: includes/controller/products.php:199
428
  msgid "Add quick purchase custom class."
429
  msgstr ""
430
 
431
- #: includes/controller/products.php:208
432
  msgid "Add quick purchase custom text."
433
  msgstr ""
434
 
435
- #: includes/controller/products.php:217
436
  msgid "Redirect quick purchase to the cart or checkout page."
437
  msgstr ""
438
 
439
- #: includes/controller/products.php:272
440
- #: includes/view/backend/pages/parts/header.php:9
441
- #: includes/view/backend/pages/parts/tabs.php:3
442
- msgid "Documentation"
443
- msgstr ""
444
-
445
- #: includes/controller/suggestions.php:29
446
- #: includes/view/backend/pages/parts/header.php:3
447
- msgid "Suggestions"
448
- msgstr ""
449
-
450
- #: includes/notices.php:45
451
- #, php-format
452
- msgid "Hello! Thank you for choosing the %s plugin!"
453
- msgstr ""
454
-
455
- #: includes/notices.php:47
456
- msgid ""
457
- "Could you please give it a 5-star rating on WordPress? We know its a big "
458
- "favor, but we've worked very much and very hard to release this great "
459
- "product. Your feedback will boost our motivation and help us promote and "
460
- "continue to improve this product."
461
- msgstr ""
462
-
463
- #: includes/notices.php:50
464
- msgid "Yes, of course!"
465
- msgstr ""
466
-
467
- #: includes/notices.php:53
468
- msgid "Report a bug"
469
- msgstr ""
470
-
471
- #: includes/notices.php:85
472
- msgid "Settings"
473
- msgstr ""
474
-
475
- #: includes/suggestions-list-table.php:109
476
- msgid "Search Results"
477
- msgstr ""
478
-
479
- #: includes/suggestions-list-table.php:112
480
- msgctxt "Plugin Installer"
481
- msgid "Beta Testing"
482
- msgstr ""
483
-
484
- #: includes/suggestions-list-table.php:114
485
- msgctxt "Plugin Installer"
486
- msgid "Featured"
487
- msgstr ""
488
-
489
- #: includes/suggestions-list-table.php:115
490
- msgctxt "Plugin Installer"
491
- msgid "Popular"
492
- msgstr ""
493
-
494
- #: includes/suggestions-list-table.php:116
495
- msgctxt "Plugin Installer"
496
- msgid "Recommended"
497
- msgstr ""
498
-
499
- #: includes/suggestions-list-table.php:117
500
- msgctxt "Plugin Installer"
501
- msgid "Favorites"
502
- msgstr ""
503
-
504
- #: includes/view/backend/pages/parts/header.php:5
505
- msgid ""
506
- "Thanks for using our product! We recommend these extensions that will add "
507
- "new features to stand out your business and improve your sales."
508
  msgstr ""
509
 
510
- #. Author of the plugin/theme
511
- #: includes/view/backend/pages/parts/header.php:25
512
- msgid "QuadLayers"
513
  msgstr ""
514
 
515
- #: includes/view/backend/pages/premium.php:8
516
  #, php-format
517
  msgid ""
518
  "%s allows you to simplifies the checkout process by skipping the shopping "
@@ -520,94 +427,119 @@ msgid ""
520
  "checkout page and includes the cart inside the checkout page."
521
  msgstr ""
522
 
523
- #: includes/view/backend/pages/premium.php:12
524
  msgid "Get Support"
525
  msgstr ""
526
 
527
- #: includes/view/backend/pages/premium.php:16
528
  msgid "One page checkout"
529
  msgstr ""
530
 
531
- #: includes/view/backend/pages/premium.php:18
532
  #, php-format
533
  msgid ""
534
  "%s allows you to include the cart form in the checkout page allowing your "
535
  "users to edit the cart and confirm the order on the same page."
536
  msgstr ""
537
 
538
- #: includes/view/backend/pages/premium.php:24
539
  msgid ""
540
  "Our checkout settings allow you to easily remove the unnecessary fields and "
541
  "reduce the user spend completing those fields like the order comments, "
542
  "shipping address, coupon form, policy text, and terms and conditions."
543
  msgstr ""
544
 
545
- #: includes/view/backend/pages/premium.php:30
546
  msgid ""
547
  "This option allows you to simplify the checkout page by removing the two "
548
  "columns in the checkout page."
549
  msgstr ""
550
 
551
- #: includes/view/backend/pages/premium.php:42
552
  msgid "Checkout redirect"
553
  msgstr ""
554
 
555
- #: includes/view/backend/pages/premium.php:44
556
  msgid ""
557
  "This option allows you to redirect your users directly to the checkout page "
558
  "reducing the total checkout process in one step."
559
  msgstr ""
560
 
561
- #: includes/view/backend/pages/premium.php:48
562
  msgid "Quick purchase on single products"
563
  msgstr ""
564
 
565
- #: includes/view/backend/pages/premium.php:50
566
  msgid ""
567
  "If you want to give the option to the user to make a direct purchase or the "
568
  "default add to cart product you can include a direct purchase button to the "
569
  "products page."
570
  msgstr ""
571
 
572
- #: includes/view/backend/pages/premium.php:54
573
  msgid "Quick view in product archives"
574
  msgstr ""
575
 
576
- #: includes/view/backend/pages/premium.php:56
577
  msgid ""
578
  "This option allows you to include a button which displays a quick view in "
579
  "the WooCommerce shop page and products categories."
580
  msgstr ""
581
 
582
- #: includes/view/backend/pages/premium.php:59
583
  msgid ""
584
  "This is especially useful for the variable products because it allows users "
585
  "to select the products attributes and include directly into the cart."
586
  msgstr ""
587
 
588
- #: includes/view/backend/pages/premium.php:64
589
  msgid "Quick purchase"
590
  msgstr ""
591
 
592
- #: includes/view/backend/pages/premium.php:66
593
  msgid ""
594
  "The Quick purchase button allows you to include a direct button in the "
595
  "single products, variable, grouped and virtual products wich redirects user "
596
  "to the checkout page."
597
  msgstr ""
598
 
599
- #: includes/view/frontend/general.php:41
600
- msgid "View cart"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
601
  msgstr ""
602
 
603
  #. Plugin Name of the plugin/theme
604
- msgid "WooCommerce Direct Checkout"
605
  msgstr ""
606
 
607
  #. Description of the plugin/theme
608
  msgid "Simplifies the checkout process to improve your sales rate."
609
  msgstr ""
610
 
 
 
 
 
611
  #. Author URI of the plugin/theme
612
  msgid "https://www.quadlayers.com"
613
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Direct Checkout for WooCommerce\n"
5
+ "POT-Creation-Date: 2019-08-09 07:24-0300\n"
6
  "PO-Revision-Date: 2019-08-09 07:24-0300\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Poedit-SearchPathExcluded-0: *.js\n"
21
 
22
+ #: includes/archives.php:23 includes/archives.php:36
 
23
  msgid "Archives"
24
  msgstr ""
25
 
26
+ #: includes/archives.php:97 includes/products.php:89 includes/products.php:239
 
27
  msgid "Replace Add to cart text"
28
  msgstr ""
29
 
30
+ #: includes/archives.php:98 includes/products.php:90 includes/products.php:241
 
31
  msgid "Replace \"Add to cart\" text."
32
  msgstr ""
33
 
34
+ #: includes/archives.php:103 includes/archives.php:137
35
+ #: includes/checkout.php:47 includes/checkout.php:124
36
+ #: includes/checkout.php:136 includes/checkout.php:148
37
+ #: includes/checkout.php:160 includes/checkout.php:172
38
+ #: includes/checkout.php:184 includes/checkout.php:196 includes/general.php:48
39
+ #: includes/general.php:60 includes/general.php:74 includes/products.php:95
40
+ #: includes/products.php:114 includes/products.php:152
41
+ #: includes/products.php:245 includes/products.php:269
 
 
42
  msgid "Yes"
43
  msgstr ""
44
 
45
+ #: includes/archives.php:104 includes/archives.php:138
46
+ #: includes/checkout.php:48 includes/checkout.php:125
47
+ #: includes/checkout.php:137 includes/checkout.php:149
48
+ #: includes/checkout.php:161 includes/checkout.php:173
49
+ #: includes/checkout.php:185 includes/checkout.php:197 includes/general.php:49
50
+ #: includes/general.php:61 includes/general.php:72 includes/products.php:96
51
+ #: includes/products.php:115 includes/products.php:153
52
+ #: includes/products.php:246 includes/products.php:270
 
 
53
  msgid "No"
54
  msgstr ""
55
 
56
+ #: includes/archives.php:109
57
  msgid "Replace Add to cart text in"
58
  msgstr ""
59
 
60
+ #: includes/archives.php:110
61
  msgid "Replace \"Add to cart\" text in product types."
62
  msgstr ""
63
 
64
+ #: includes/archives.php:115
65
  msgid "Simple Products"
66
  msgstr ""
67
 
68
+ #: includes/archives.php:116
69
  msgid "Grouped Products"
70
  msgstr ""
71
 
72
+ #: includes/archives.php:117
73
  msgid "Virtual Products"
74
  msgstr ""
75
 
76
+ #: includes/archives.php:118
77
  msgid "Variable Products"
78
  msgstr ""
79
 
80
+ #: includes/archives.php:119
81
  msgid "Downloadable Products"
82
  msgstr ""
83
 
84
+ #: includes/archives.php:124 includes/products.php:101
85
+ #: includes/products.php:251
86
  msgid "Replace Add to cart text content"
87
  msgstr ""
88
 
89
+ #: includes/archives.php:125 includes/products.php:102
90
+ #: includes/products.php:253
91
  msgid "Replace \"Add to cart\" text with this text."
92
  msgstr ""
93
 
94
+ #: includes/archives.php:128 includes/products.php:105
 
95
  msgid "Purchase"
96
  msgstr ""
97
 
98
+ #: includes/archives.php:131
99
  msgid "Add quick view button"
100
  msgstr ""
101
 
102
+ #: includes/archives.php:132
103
  msgid "Add product quick view modal button."
104
  msgstr ""
105
 
106
+ #: includes/checkout.php:23 includes/checkout.php:36 includes/general.php:109
107
+ #: includes/general.php:135 includes/general.php:147 includes/products.php:134
108
+ #: includes/products.php:300
 
 
 
 
 
 
109
  msgid "Checkout"
110
  msgstr ""
111
 
112
+ #: includes/checkout.php:41
113
  msgid "Add cart to checkout"
114
  msgstr ""
115
 
116
+ #: includes/checkout.php:42
117
  msgid ""
118
  "Simplifies the checkout process including the shopping cart page inside "
119
  "checkout."
120
  msgstr ""
121
 
122
+ #: includes/checkout.php:53
123
  msgid "Add cart to checkout fields"
124
  msgstr ""
125
 
126
+ #: includes/checkout.php:54
127
  msgid "Include this fields inside the checkout cart."
128
  msgstr ""
129
 
130
+ #: includes/checkout.php:59
131
  msgid "Remove"
132
  msgstr ""
133
 
134
+ #: includes/checkout.php:60
135
  msgid "Thumbnail"
136
  msgstr ""
137
 
138
+ #: includes/checkout.php:61
139
  msgid "Name"
140
  msgstr ""
141
 
142
+ #: includes/checkout.php:62
143
  msgid "Price"
144
  msgstr ""
145
 
146
+ #: includes/checkout.php:63
147
  msgid "Quantity"
148
  msgstr ""
149
 
150
+ #: includes/checkout.php:73
151
  msgid "Remove checkout coupon form"
152
  msgstr ""
153
 
154
+ #: includes/checkout.php:74
155
  msgid "Simplifies the checkout process removing the coupon form."
156
  msgstr ""
157
 
158
+ #: includes/checkout.php:79
159
  msgid "Leave coupon form"
160
  msgstr ""
161
 
162
+ #: includes/checkout.php:80
163
  msgid "Remove coupon form"
164
  msgstr ""
165
 
166
+ #: includes/checkout.php:81
167
  msgid "Remove coupon toggle"
168
  msgstr ""
169
 
170
+ #: includes/checkout.php:82
171
  msgid "Move to checkout order"
172
  msgstr ""
173
 
174
+ #: includes/checkout.php:87
175
  msgid "Add custom class to cart table"
176
  msgstr ""
177
 
178
+ #: includes/checkout.php:88
179
  msgid "Add a custom class to the cart table form in the checkot."
180
  msgstr ""
181
 
182
+ #: includes/checkout.php:94 includes/purchase.php:46
 
183
  msgid "Remove checkout fields"
184
  msgstr ""
185
 
186
+ #: includes/checkout.php:95
187
  msgid ""
188
  "Simplifies the checkout process removing the unnecessary checkout fields."
189
  msgstr ""
190
 
191
+ #: includes/checkout.php:100
192
  msgid "First Name"
193
  msgstr ""
194
 
195
+ #: includes/checkout.php:101
196
  msgid "Last Name"
197
  msgstr ""
198
 
199
+ #: includes/checkout.php:102
200
  msgid "Country"
201
  msgstr ""
202
 
203
+ #: includes/checkout.php:103
204
  msgid "State"
205
  msgstr ""
206
 
207
+ #: includes/checkout.php:104
208
  msgid "City"
209
  msgstr ""
210
 
211
+ #: includes/checkout.php:105
212
  msgid "Postcode"
213
  msgstr ""
214
 
215
+ #: includes/checkout.php:106
216
  msgid "Address 1"
217
  msgstr ""
218
 
219
+ #: includes/checkout.php:107
220
  msgid "Address 2"
221
  msgstr ""
222
 
223
+ #: includes/checkout.php:108
224
  msgid "Company"
225
  msgstr ""
226
 
227
+ #: includes/checkout.php:109
228
  msgid "Phone"
229
  msgstr ""
230
 
231
+ #: includes/checkout.php:118
232
  msgid "Remove checkout shipping address"
233
  msgstr ""
234
 
235
+ #: includes/checkout.php:119
236
  msgid "Simplifies the checkout process removing the shipping address."
237
  msgstr ""
238
 
239
+ #: includes/checkout.php:130
240
  msgid "Remove checkout order comments"
241
  msgstr ""
242
 
243
+ #: includes/checkout.php:131
244
  msgid "Simplifies the checkout process removing the order notes."
245
  msgstr ""
246
 
247
+ #: includes/checkout.php:142
248
  msgid "Remove checkout policy text"
249
  msgstr ""
250
 
251
+ #: includes/checkout.php:143
252
  msgid "Simplifies the checkout process removing the policy text."
253
  msgstr ""
254
 
255
+ #: includes/checkout.php:154
256
  msgid "Remove checkout terms and conditions"
257
  msgstr ""
258
 
259
+ #: includes/checkout.php:155
260
  msgid "Simplifies the checkout process removing the terms and conditions."
261
  msgstr ""
262
 
263
+ #: includes/checkout.php:166
264
  msgid "Remove checkout gateway icons"
265
  msgstr ""
266
 
267
+ #: includes/checkout.php:167
268
  msgid "Simplifies the checkout view by removing the payment gateway icons."
269
  msgstr ""
270
 
271
+ #: includes/checkout.php:178 includes/purchase.php:52
 
272
  msgid "Remove checkout columns"
273
  msgstr ""
274
 
275
+ #: includes/checkout.php:179
276
  msgid ""
277
  "Try to remove the columns and display the checkout form and order review in "
278
  "one column."
279
  msgstr ""
280
 
281
+ #: includes/checkout.php:190
282
  msgid "Remove order details address"
283
  msgstr ""
284
 
285
+ #: includes/checkout.php:191
286
  msgid "Remove the billing address of the customer in the order received page."
287
  msgstr ""
288
 
289
+ #: includes/general.php:23 includes/general.php:36
290
  msgid "General"
291
  msgstr ""
292
 
293
+ #: includes/general.php:38
294
  msgid "Simplifies the checkout process."
295
  msgstr ""
296
 
297
+ #: includes/general.php:42
298
  msgid "Added to cart alert"
299
  msgstr ""
300
 
301
+ #: includes/general.php:43
302
  msgid "Replace \"View Cart\" alert with direct checkout."
303
  msgstr ""
304
 
305
+ #: includes/general.php:54
306
  msgid "Added to cart link"
307
  msgstr ""
308
 
309
+ #: includes/general.php:55
310
  msgid "Replace \"View Cart\" link with direct checkout."
311
  msgstr ""
312
 
313
+ #: includes/general.php:66
314
  msgid "Added to cart redirect"
315
  msgstr ""
316
 
317
+ #: includes/general.php:67
318
  msgid "Add to cart button behaviour."
319
  msgstr ""
320
 
321
+ #: includes/general.php:102
322
  msgid "Added to cart redirect to"
323
  msgstr ""
324
 
325
+ #: includes/general.php:103 includes/general.php:116
326
  msgid "Redirect to the cart or checkout page after successful addition."
327
  msgstr ""
328
 
329
+ #: includes/general.php:108 includes/products.php:133
330
+ #: includes/products.php:299
331
  msgid "Cart"
332
  msgstr ""
333
 
334
+ #: includes/general.php:110
335
  msgid "Custom URL"
336
  msgstr ""
337
 
338
+ #: includes/general.php:115
339
  msgid "Added to cart redirect to custom url"
340
  msgstr ""
341
 
342
+ #: includes/general.php:147
343
+ msgid "View cart"
 
 
344
  msgstr ""
345
 
346
+ #: includes/products.php:15 includes/products.php:28
347
  msgid "Products"
348
  msgstr ""
349
 
350
+ #: includes/products.php:108 includes/products.php:262
 
 
 
 
 
 
 
 
351
  msgid "Add quick purchase button"
352
  msgstr ""
353
 
354
+ #: includes/products.php:109
355
  msgid "Add a quick purchase button to the products pages."
356
  msgstr ""
357
 
358
+ #: includes/products.php:120 includes/products.php:275
359
  msgid "Add quick purchase class"
360
  msgstr ""
361
 
362
+ #: includes/products.php:121
363
  msgid "Add a custom class to the quick purchase button."
364
  msgstr ""
365
 
366
+ #: includes/products.php:127 includes/products.php:293
367
  msgid "Redirect quick purchase to"
368
  msgstr ""
369
 
370
+ #: includes/products.php:128
371
  msgid "Redirect the quick purchase button to the cart or checkout page."
372
  msgstr ""
373
 
374
+ #: includes/products.php:139 includes/products.php:284
375
  msgid "Add quick purchase text"
376
  msgstr ""
377
 
378
+ #: includes/products.php:140
379
  msgid "Add a custom text to the quick purchase button."
380
  msgstr ""
381
 
382
+ #: includes/products.php:143 includes/purchase.php:35
 
383
  msgid "Purchase Now"
384
  msgstr ""
385
 
386
+ #: includes/products.php:146
387
  msgid "Add default attributes in variable products"
388
  msgstr ""
389
 
390
+ #: includes/products.php:147
391
  msgid ""
392
  "Add default attributes in all variable products to avoid disabled Add to "
393
  "cart button."
394
  msgstr ""
395
 
396
+ #: includes/products.php:264
397
  msgid "Add quick purchase button to single product page."
398
  msgstr ""
399
 
400
+ #: includes/products.php:277
401
  msgid "Add quick purchase custom class."
402
  msgstr ""
403
 
404
+ #: includes/products.php:286
405
  msgid "Add quick purchase custom text."
406
  msgstr ""
407
 
408
+ #: includes/products.php:295
409
  msgid "Redirect quick purchase to the cart or checkout page."
410
  msgstr ""
411
 
412
+ #: includes/products.php:311 woocommerce-direct-checkout.php:153
413
+ #: woocommerce-direct-checkout.php:349
414
+ msgid "Direct Checkout"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  msgstr ""
416
 
417
+ #: includes/purchase.php:14 includes/purchase.php:30
418
+ #: woocommerce-direct-checkout.php:129
419
+ msgid "Premium"
420
  msgstr ""
421
 
422
+ #: includes/purchase.php:32
423
  #, php-format
424
  msgid ""
425
  "%s allows you to simplifies the checkout process by skipping the shopping "
427
  "checkout page and includes the cart inside the checkout page."
428
  msgstr ""
429
 
430
+ #: includes/purchase.php:36
431
  msgid "Get Support"
432
  msgstr ""
433
 
434
+ #: includes/purchase.php:40
435
  msgid "One page checkout"
436
  msgstr ""
437
 
438
+ #: includes/purchase.php:42
439
  #, php-format
440
  msgid ""
441
  "%s allows you to include the cart form in the checkout page allowing your "
442
  "users to edit the cart and confirm the order on the same page."
443
  msgstr ""
444
 
445
+ #: includes/purchase.php:48
446
  msgid ""
447
  "Our checkout settings allow you to easily remove the unnecessary fields and "
448
  "reduce the user spend completing those fields like the order comments, "
449
  "shipping address, coupon form, policy text, and terms and conditions."
450
  msgstr ""
451
 
452
+ #: includes/purchase.php:54
453
  msgid ""
454
  "This option allows you to simplify the checkout page by removing the two "
455
  "columns in the checkout page."
456
  msgstr ""
457
 
458
+ #: includes/purchase.php:66
459
  msgid "Checkout redirect"
460
  msgstr ""
461
 
462
+ #: includes/purchase.php:68
463
  msgid ""
464
  "This option allows you to redirect your users directly to the checkout page "
465
  "reducing the total checkout process in one step."
466
  msgstr ""
467
 
468
+ #: includes/purchase.php:72
469
  msgid "Quick purchase on single products"
470
  msgstr ""
471
 
472
+ #: includes/purchase.php:74
473
  msgid ""
474
  "If you want to give the option to the user to make a direct purchase or the "
475
  "default add to cart product you can include a direct purchase button to the "
476
  "products page."
477
  msgstr ""
478
 
479
+ #: includes/purchase.php:78
480
  msgid "Quick view in product archives"
481
  msgstr ""
482
 
483
+ #: includes/purchase.php:80
484
  msgid ""
485
  "This option allows you to include a button which displays a quick view in "
486
  "the WooCommerce shop page and products categories."
487
  msgstr ""
488
 
489
+ #: includes/purchase.php:83
490
  msgid ""
491
  "This is especially useful for the variable products because it allows users "
492
  "to select the products attributes and include directly into the cart."
493
  msgstr ""
494
 
495
+ #: includes/purchase.php:88
496
  msgid "Quick purchase"
497
  msgstr ""
498
 
499
+ #: includes/purchase.php:90
500
  msgid ""
501
  "The Quick purchase button allows you to include a direct button in the "
502
  "single products, variable, grouped and virtual products wich redirects user "
503
  "to the checkout page."
504
  msgstr ""
505
 
506
+ #: woocommerce-direct-checkout.php:78
507
+ #, php-format
508
+ msgid "Hello! Thank you for choosing the %s plugin!"
509
+ msgstr ""
510
+
511
+ #: woocommerce-direct-checkout.php:80
512
+ msgid ""
513
+ "Could you please give it a 5-star rating on WordPress? We know its a big "
514
+ "favor, but we've worked very much and very hard to release this great "
515
+ "product. Your feedback will boost our motivation and help us promote and "
516
+ "continue to improve this product."
517
+ msgstr ""
518
+
519
+ #: woocommerce-direct-checkout.php:83
520
+ msgid "Yes, of course!"
521
+ msgstr ""
522
+
523
+ #: woocommerce-direct-checkout.php:86
524
+ msgid "Report a bug"
525
+ msgstr ""
526
+
527
+ #: woocommerce-direct-checkout.php:130
528
+ msgid "Settings"
529
  msgstr ""
530
 
531
  #. Plugin Name of the plugin/theme
532
+ msgid "Direct Checkout for WooCommerce"
533
  msgstr ""
534
 
535
  #. Description of the plugin/theme
536
  msgid "Simplifies the checkout process to improve your sales rate."
537
  msgstr ""
538
 
539
+ #. Author of the plugin/theme
540
+ msgid "QuadLayers"
541
+ msgstr ""
542
+
543
  #. Author URI of the plugin/theme
544
  msgid "https://www.quadlayers.com"
545
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://quadlayers.com/portfolio/woocommerce-direct-checkout/
4
  Tags: woocommerce, woocommerce ajax, woocommerce ajax cart, add to cart, woocommerce direct checkout, woocommerce quick buy, woocommerce remove checkout fields, woocommerce ajax single products, woocommerce one page checkout
5
  Requires at least: 4.6
6
  Tested up to: 5.3.0
7
- Stable tag: 2.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -53,6 +53,9 @@ The premium version of WooCommerce Direct Checkot allows to include a quick purc
53
 
54
  == Changelog ==
55
 
 
 
 
56
  = 2.3.0 =
57
  * Fix: code refactoring
58
 
4
  Tags: woocommerce, woocommerce ajax, woocommerce ajax cart, add to cart, woocommerce direct checkout, woocommerce quick buy, woocommerce remove checkout fields, woocommerce ajax single products, woocommerce one page checkout
5
  Requires at least: 4.6
6
  Tested up to: 5.3.0
7
+ Stable tag: 2.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
53
 
54
  == Changelog ==
55
 
56
+ = 2.3.1 =
57
+ * Fix: WooCommerce Direct Checkout products ajax add to cart
58
+
59
  = 2.3.0 =
60
  * Fix: code refactoring
61
 
woocommerce-direct-checkout.php CHANGED
@@ -3,7 +3,7 @@
3
  /**
4
  * Plugin Name: WooCommerce Direct Checkout
5
  * Description: Simplifies the checkout process to improve your sales rate.
6
- * Version: 2.3.0
7
  * Author: QuadLayers
8
  * Author URI: https://www.quadlayers.com
9
  * Copyright: 2019 QuadLayers (https://www.quadlayers.com)
@@ -16,7 +16,7 @@ if (!defined('QLWCDC_PLUGIN_NAME')) {
16
  define('QLWCDC_PLUGIN_NAME', 'WooCommerce Direct Checkout');
17
  }
18
  if (!defined('QLWCDC_PLUGIN_VERSION')) {
19
- define('QLWCDC_PLUGIN_VERSION', '2.3.0');
20
  }
21
  if (!defined('QLWCDC_PLUGIN_FILE')) {
22
  define('QLWCDC_PLUGIN_FILE', __FILE__);
3
  /**
4
  * Plugin Name: WooCommerce Direct Checkout
5
  * Description: Simplifies the checkout process to improve your sales rate.
6
+ * Version: 2.3.1
7
  * Author: QuadLayers
8
  * Author URI: https://www.quadlayers.com
9
  * Copyright: 2019 QuadLayers (https://www.quadlayers.com)
16
  define('QLWCDC_PLUGIN_NAME', 'WooCommerce Direct Checkout');
17
  }
18
  if (!defined('QLWCDC_PLUGIN_VERSION')) {
19
+ define('QLWCDC_PLUGIN_VERSION', '2.3.1');
20
  }
21
  if (!defined('QLWCDC_PLUGIN_FILE')) {
22
  define('QLWCDC_PLUGIN_FILE', __FILE__);