WooCommerce Germanized - Version 1.2.2

Version Description

  • Feature - Double Opt-In for customer accounts
  • Fix - No need to override payment.php any longer (WC 2.3)
Download this release

Release Info

Developer vendidero
Plugin Icon 128x128 WooCommerce Germanized
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2.1 to 1.2.2

assets/css/woocommerce-gzd-activation.css CHANGED
@@ -18,6 +18,17 @@
18
  margin-top: 2rem;
19
  margin-left: 5%;
20
  }
 
 
 
 
 
 
 
 
 
 
 
21
  .dashboard_page_wc-gzd-about h1 {
22
  width: 100%;
23
  margin-right: 0;
18
  margin-top: 2rem;
19
  margin-left: 5%;
20
  }
21
+ .wc-gzd-twitter, .wc-gzd-fb {
22
+ display: inline-block;
23
+ }
24
+ .wc-gzd-twitter iframe {
25
+ width: 130px !important;
26
+ }
27
+ .wc-gzd-fb iframe {
28
+ position: relative;
29
+ top: 5px;
30
+ display: inline-block;
31
+ }
32
  .dashboard_page_wc-gzd-about h1 {
33
  width: 100%;
34
  margin-right: 0;
assets/js/checkout.js CHANGED
@@ -2,4 +2,7 @@ jQuery( function( $ ) {
2
  $( document ).on( 'change', '.payment_methods input[name="payment_method"]', function() {
3
  $( 'body' ).trigger( 'update_checkout' );
4
  });
 
 
 
5
  });
2
  $( document ).on( 'change', '.payment_methods input[name="payment_method"]', function() {
3
  $( 'body' ).trigger( 'update_checkout' );
4
  });
5
+ $( 'body' ).bind( 'updated_checkout', function() {
6
+ $( '.place-order:not(.wc-gzd-place-order)' ).remove();
7
+ });
8
  });
i18n/languages/woocommerce-germanized-de_DE.mo CHANGED
Binary file
i18n/languages/woocommerce-germanized-de_DE.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WooCommerce Germanized v1.1.2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-09-29 12:26+0100\n"
6
- "PO-Revision-Date: 2015-02-09 13:56:16+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -85,7 +85,7 @@ msgstr "Über WooCommerce Germanized"
85
  msgid "Welcome to WooCommerce Germanized"
86
  msgstr "Willkommen bei WooCommerce Germanized"
87
 
88
- #: includes/admin/class-wc-gzd-admin-welcome.php:230
89
  #@ woocommerce-germanized
90
  msgid "Go to WooCommerce Germanized Settings"
91
  msgstr "zu den WooCommerce Germanized Einstellungen"
@@ -111,7 +111,8 @@ msgid "Add content which will be replacing default page content within emails."
111
  msgstr "Füllen Sie dieses Feld aus um einen abweichenden E-Mail Anhangstext für diese Seite zu bestimmen."
112
 
113
  #: includes/admin/class-wc-gzd-admin.php:72
114
- #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:76
 
115
  #@ woocommerce-germanized
116
  msgid "Optional Mini Description"
117
  msgstr "Warenkorb Kurzbeschreibung"
@@ -121,39 +122,46 @@ msgstr "Warenkorb Kurzbeschreibung"
121
  msgid "This content will be shown as short product description within checkout and emails."
122
  msgstr "Dieser Inhalt wird während des Bezahlvorganges und in den E-Mails als Produkt Kurzbeschreibung angezeigt."
123
 
124
- #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:34
 
125
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:25
126
  #@ woocommerce-germanized
127
  msgid "Unit"
128
  msgstr "Einheit"
129
 
130
- #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:36
131
- #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:64
 
 
132
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:53
133
  #: includes/class-wc-gzd-trusted-shops.php:350
134
  #@ woocommerce-germanized
135
  msgid "None"
136
  msgstr "Keine"
137
 
138
- #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:43
 
139
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:26
140
  #@ woocommerce-germanized
141
  msgid "Unit Base"
142
  msgstr "Anzahl Einheiten"
143
 
144
- #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:49
 
145
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:27
146
  #@ woocommerce-germanized
147
  msgid "Regular Unit Price"
148
  msgstr "Einheitspreis"
149
 
150
- #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:53
 
151
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:28
152
  #@ woocommerce-germanized
153
  msgid "Sale Unit Price"
154
  msgstr "Aktions-Einheitspreis"
155
 
156
- #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:59
 
157
  #@ woocommerce-germanized
158
  msgid "Delivery Time"
159
  msgstr "Lieferzeit"
@@ -181,27 +189,27 @@ msgstr "Germanized"
181
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:40
182
  #@ woocommerce-germanized
183
  msgid "General Options"
184
- msgstr "Allgemeine Optionen"
185
 
186
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:41
187
  #@ woocommerce-germanized
188
  msgid "Display Options"
189
- msgstr "Anzeige Optionen"
190
 
191
- #: includes/class-wc-gzd-trusted-shops.php:496
192
  #@ woocommerce-germanized
193
  msgctxt "trusted-shops"
194
  msgid "Trusted Shops Options"
195
- msgstr "Trusted Shops Optionen"
196
 
197
- #: includes/class-wc-gzd-ekomi.php:375
198
  #@ woocommerce-germanized
199
  msgctxt "ekomi"
200
  msgid "eKomi Options"
201
- msgstr "eKomi Optionen"
202
 
203
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:66
204
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:344
205
  #@ woocommerce-germanized
206
  msgid "General"
207
  msgstr "Allgemein"
@@ -362,202 +370,202 @@ msgstr "Dieser Text wird genutzt um die Kunden im Frontend über u.U. anfallende
362
  msgid "plus {link}Shipping Costs{/link}"
363
  msgstr "zzgl. {link}Versandkosten{/link}"
364
 
365
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:266
366
  #@ woocommerce-germanized
367
  msgid "Right of Recission"
368
  msgstr "Widerrufsrecht"
369
 
370
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:269
371
  #@ woocommerce-germanized
372
  msgid "Revocation Address"
373
  msgstr "Widerruf richten an"
374
 
375
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:270
376
  #@ woocommerce-germanized
377
  msgid "Type in an address, telephone/telefax number, email address which is to be used as revocation address"
378
  msgstr "Geben Sie hier Ihre Adresse, Telefon- und Faxnummer, E-Mail Adresse usw. an, an die Ihre Kunden Ihren Widerruf richten sollen"
379
 
380
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:279
381
  #@ woocommerce-germanized
382
  msgid "E-Mails"
383
  msgstr "E-Mails"
384
 
385
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:282
386
  #@ woocommerce-germanized
387
  msgid "Attach Imprint"
388
  msgstr "Impressum"
389
 
390
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:283
391
  #@ woocommerce-germanized
392
  msgid "Attach Imprint to the following email templates"
393
  msgstr "Hier können Sie die E-Mail Templates auswählen, an die das Impressum angehängt werden soll (Inhalt der oben ausgewählten Impressum-Seite bzw. des optionalen E-Mail Inhaltes dieser Seite)"
394
 
395
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:292
396
  #@ woocommerce-germanized
397
  msgid "Attach Terms & Conditions"
398
  msgstr "AGB"
399
 
400
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:293
401
  #@ woocommerce-germanized
402
  msgid "Attach Terms & Conditions to the following email templates"
403
  msgstr "Hier können Sie die E-Mail Templates auswählen, an die die AGB angehängt werden soll (Inhalt der in den WooCommerce-Einstellungen ausgewählten AGB-Seite bzw. des optionalen E-Mail Inhaltes dieser Seite)"
404
 
405
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:302
406
  #@ woocommerce-germanized
407
  msgid "Attach Power of Recission"
408
  msgstr "Widerrufsbelehrung"
409
 
410
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:303
411
  #@ woocommerce-germanized
412
  msgid "Attach Power of Recission to the following email templates"
413
  msgstr "Hier können Sie die E-Mail Templates auswählen, an die die Widerrufsbelehrung angehängt werden soll (Inhalt der oben ausgewählten Widerrufsbelehrungs-Seite bzw. des optionalen E-Mail Inhaltes dieser Seite). Standardmäßig sollte hier zumindest \"Bestellung in Abwicklung\" ausgewählt werden."
414
 
415
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:313
416
  #@ woocommerce-germanized
417
  msgid "Attach Data Security"
418
  msgstr "Datenschutzbelehrung"
419
 
420
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:314
421
  #@ woocommerce-germanized
422
  msgid "Attach Data Security Statement to the following email templates"
423
  msgstr "Hier können Sie die E-Mail Templates auswählen, an die die Datenschutzbelehrung angehängt werden soll (Inhalt der oben ausgewählten Datenschutzbelehrungs-Seite bzw. des optionalen E-Mail Inhaltes dieser Seite)"
424
 
425
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:347
426
  #@ woocommerce-germanized
427
  msgid "Add to Cart"
428
  msgstr "Zum Warenkorb Button"
429
 
430
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:348
431
  #@ woocommerce-germanized
432
  msgid "Show add to cart button on listings?"
433
  msgstr "Den zum Warenkorb Button in Produktlisten darstellen?"
434
 
435
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:352
436
  #@ woocommerce-germanized
437
  msgid "unset this option if you don't want to show the add to cart button within the product listings"
438
  msgstr "Deaktivieren Sie diese Option, wenn Sie den zum Warenkorb Button nicht innerhalb von Produktauflistungen darstellen möchten"
439
 
440
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:374
441
  #@ woocommerce-germanized
442
  msgid "Notice Footer"
443
  msgstr "Hinweise im Footer"
444
 
445
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:375
446
  #@ woocommerce-germanized
447
  msgid "Show a global VAT notice within footer"
448
  msgstr "Einen seitenübergreifenden Hinweis bzgl. der MwSt. im Footer darstellen"
449
 
450
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:383
451
  #@ woocommerce-germanized
452
  msgid "Show a global sale price notice within footer"
453
  msgstr "Einen seitenübergreifenden Hinweis bzgl. reduzierter Preise im Footer darstellen"
454
 
455
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:392
456
  #@ woocommerce-germanized
457
  msgid "Products"
458
  msgstr "Produkt"
459
 
460
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:395
461
  #@ woocommerce-germanized
462
  msgid "Show within Product Listings"
463
  msgstr "In Produktlisten"
464
 
465
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:396
466
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:429
467
  #@ woocommerce-germanized
468
  msgid "Shipping Costs notice"
469
  msgstr "Versandkosten-Hinweis"
470
 
471
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:252
472
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:412
473
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:445
474
  #@ woocommerce-germanized
475
  msgid "Unit Price"
476
  msgstr "Einheitspreis"
477
 
478
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:420
479
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:453
480
  #@ woocommerce-germanized
481
  msgid "Delivery Time Notice"
482
  msgstr "Lieferzeiten-Hinweis"
483
 
484
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:428
485
  #@ woocommerce-germanized
486
  msgid "Show on Product Detail Page"
487
  msgstr "Auf der Produktseite"
488
 
489
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:404
490
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:437
491
  #@ woocommerce-germanized
492
  msgid "Tax Info"
493
  msgstr "MwSt. Hinweis"
494
 
495
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:470
496
  #@ woocommerce-germanized
497
  msgid "Checkout & Cart"
498
  msgstr "Checkout & Warenkorb"
499
 
500
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:517
501
  #@ woocommerce-germanized
502
  msgid "Checkout Legal Display"
503
  msgstr "Checkbox oder Text"
504
 
505
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:518
506
  #@ woocommerce-germanized
507
  msgid "Use Text without Checkbox"
508
  msgstr "Rechtshinweis ohne Checkbox"
509
 
510
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:520
511
  #@ woocommerce-germanized
512
  msgid "This version will remove checkboxes from Checkout and display a text instead. This seems to be legally compliant (Zalando & Co are using this option)."
513
  msgstr "Diese Option nutzt anstatt einer Checkbox einen ausformulierten Text direkt überhalb des Kauf abschließen Buttons (Zalando und Andere Shops verwenden diese Form)"
514
 
515
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:526
516
  #@ woocommerce-germanized
517
  msgid "Legal Text"
518
  msgstr "Rechtlicher Hinweistext"
519
 
520
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:527
521
  #@ woocommerce-germanized
522
  msgid "Choose a Plain Text which will be shown right above checkout submit button. Use {term_link}{/term_link}, {data_security_link}{/data_security_link}, {revocation_link}{/revocation_link} as Placeholders for the links to legal pages."
523
  msgstr "Geben Sie hier den Text ein, den Sie als Hinweistext überhalb des \"Kaufen\" - Buttons darstellen möchten. Nutzen Sie die Platzhalter {term_link}{/term_link}, {data_security_link}{/data_security_link}, {revocation_link}{/revocation_link} um die jeweiligen Links zu den Seiten einzufügen."
524
 
525
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:529
526
  #@ woocommerce-germanized
527
  msgid "With your order, you agree to have read and understood our {term_link}Terms and Conditions{/term_link} and your {revocation_link}Right of Recission{/revocation_link}."
528
  msgstr "Mit Ihrer Bestellung erklären Sie sich mit unseren {term_link}Allgemeinen Geschäftsbedingungen{/term_link} und {revocation_link}Widerrufsbestimmungen{/revocation_link} einverstanden."
529
 
530
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:536
531
  #@ woocommerce-germanized
532
  msgid "Legal Text Error"
533
  msgstr "Fehlermeldung der Checkbox"
534
 
535
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:537
536
  #@ woocommerce-germanized
537
  msgid "If you have chosen to use checkbox validation please choose a error message which will be shown if the user doesn't check checkbox. Use {term_link}{/term_link}, {data_security_link}{/data_security_link}, {revocation_link}{/revocation_link} as Placeholders for the links to legal pages."
538
  msgstr "Falls Sie sich dazu entschieden haben, eine Checkbox zu nutzen, können Sie hier die Fehlermeldung eingeben, die angezeigt wird, wenn ein Benutzer die Checkbox nicht aktiviert hat. Nutzen Sie die Platzhalter um Links zu den jeweiligen Hinweisseiten einzufügen: {term_link}{/term_link}, {data_security_link}{/data_security_link}, {revocation_link}{/revocation_link}"
539
 
540
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:539
541
  #@ woocommerce-germanized
542
  msgid "To finish the order you have to accept to our {term_link}Terms and Conditions{/term_link} and {revocation_link}Right of Recission{/revocation_link}."
543
  msgstr "Bitte akzeptieren Sie unsere {term_link}Allgemeinen Geschäftsbedingungen{/term_link} und {revocation_link}Widerrufsbestimmungen{/revocation_link}."
544
 
545
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:565
546
  #@ woocommerce-germanized
547
  msgid "Order Success Text"
548
  msgstr "Bestellung eingegangen"
549
 
550
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:566
551
  #@ woocommerce-germanized
552
  msgid "Choose a custom text to display on order success page."
553
  msgstr "Hier können Sie einen individuellen kurzen Text eingeben, der nach der Bestellung ausgegeben wird."
554
 
555
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:574
556
  #@ woocommerce-germanized
557
  msgid "Order Success Data"
558
  msgstr "Bestellbestätigungs-Daten"
559
 
560
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:575
561
  #@ woocommerce-germanized
562
  msgid "Hide product table and customer data on order success page"
563
  msgstr "Zusätzliche Produktdetails (Tabelle, Kundeninformationen) von der Bestellbestätigungs-Seite entfernen"
@@ -730,7 +738,7 @@ msgctxt "ekomi"
730
  msgid "Number of days between an order being marked as completed and review email to customer."
731
  msgstr "Anzahl der Tage zwischen dem Datum an dem die Bestellung als \"abgeschlossen\" (completed) markiert wurde und dem Absenden der Bewertungseinladung an den Kunden"
732
 
733
- #: includes/class-wc-gzd-emails.php:127
734
  #@ woocommerce-germanized
735
  msgctxt "revocation-form"
736
  msgid "Forward your Revocation online"
@@ -742,73 +750,73 @@ msgstr "Ihren Widerruf online erklären"
742
  msgid "Please install <a href=\"%s\" target=\"_blank\">WooCommerce</a> before installing WooCommerce Germanized. Thank you!"
743
  msgstr "Bitte installieren Sie <a href=\"%s\" target=\"_blank\">WooCommerce</a> bevor Sie WooCommerce Germanized installieren. Vielen Dank!"
744
 
745
- #: includes/class-wc-gzd-install.php:313
746
  #@ woocommerce-germanized
747
  msgctxt "Page slug"
748
  msgid "data-security"
749
  msgstr "datenschutzbelehrung"
750
 
751
- #: includes/class-wc-gzd-install.php:314
752
  #@ woocommerce-germanized
753
  msgctxt "Page title"
754
  msgid "Data Security Statement"
755
  msgstr "Datenschutzbelehrung"
756
 
757
- #: includes/class-wc-gzd-install.php:318
758
  #@ woocommerce-germanized
759
  msgctxt "Page slug"
760
  msgid "imprint"
761
  msgstr "impressum"
762
 
763
- #: includes/class-wc-gzd-install.php:319
764
  #@ woocommerce-germanized
765
  msgctxt "Page title"
766
  msgid "Imprint"
767
  msgstr "Impressum"
768
 
769
- #: includes/class-wc-gzd-install.php:323
770
  #@ woocommerce-germanized
771
  msgctxt "Page slug"
772
  msgid "terms"
773
  msgstr "agb"
774
 
775
- #: includes/class-wc-gzd-install.php:324
776
  #@ woocommerce-germanized
777
  msgctxt "Page title"
778
  msgid "Terms & Conditions"
779
  msgstr "AGB"
780
 
781
- #: includes/class-wc-gzd-install.php:328
782
  #@ woocommerce-germanized
783
  msgctxt "Page slug"
784
  msgid "revocation"
785
  msgstr "widerrufsbelehrung"
786
 
787
- #: includes/class-wc-gzd-install.php:329
788
  #@ woocommerce-germanized
789
  msgctxt "Page title"
790
  msgid "Power of Revocation"
791
  msgstr "Widerrufsbelehrung"
792
 
793
- #: includes/class-wc-gzd-install.php:338
794
  #@ woocommerce-germanized
795
  msgctxt "Page slug"
796
  msgid "payment-methods"
797
  msgstr "bezahlmoeglichkeiten"
798
 
799
- #: includes/class-wc-gzd-install.php:339
800
  #@ woocommerce-germanized
801
  msgctxt "Page title"
802
  msgid "Payment Methods"
803
  msgstr "Zahlungsmethoden"
804
 
805
- #: includes/class-wc-gzd-install.php:333
806
  #@ woocommerce-germanized
807
  msgctxt "Page slug"
808
  msgid "shipping-methods"
809
  msgstr "versandmethoden"
810
 
811
- #: includes/class-wc-gzd-install.php:334
812
  #@ woocommerce-germanized
813
  msgctxt "Page title"
814
  msgid "Shipping Methods"
@@ -1019,7 +1027,7 @@ msgctxt "trusted-shops"
1019
  msgid "Trusted Shops Integration"
1020
  msgstr "Trusted Shops Integration"
1021
 
1022
- #: includes/class-wc-gzd-trusted-shops.php:450
1023
  #, php-format
1024
  #@ woocommerce-germanized
1025
  msgctxt "trusted-shops"
@@ -1092,9 +1100,9 @@ msgstr "Mwst. berechnen?"
1092
  msgid "Payment charge"
1093
  msgstr "Zahlungsgebühr"
1094
 
1095
- #: includes/abstracts/abstract-wc-gzd-product.php:93
1096
  #: includes/wc-gzd-cart-functions.php:102
1097
- #: woocommerce-germanized.php:773
1098
  #, php-format
1099
  #@ woocommerce-germanized
1100
  msgid "incl. %s%% VAT"
@@ -1110,7 +1118,7 @@ msgstr "Bestellung bearbeiten"
1110
  msgid "Choose a Payment Gateway"
1111
  msgstr "Zahlungsmethode auswählen"
1112
 
1113
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:558
1114
  #: includes/wc-gzd-cart-functions.php:137
1115
  #@ woocommerce-germanized
1116
  msgid "I want immediate access to the digital content and I acknowledge that thereby I lose my right to cancel once the service has begun."
@@ -1156,19 +1164,17 @@ msgstr "Gesamtsumme"
1156
  msgid "Product"
1157
  msgstr "Produkt"
1158
 
1159
- #: templates/checkout/payment.php:29
1160
  #: templates/checkout/review-order-2-2.php:51
1161
  #@ woocommerce
1162
  msgid "Please fill in your details above to see available payment methods."
1163
  msgstr "Bitte geben Sie Ihre Informationen ein, damit Sie die zu Verfügung stehenden Zahlungsmethoden sehen können."
1164
 
1165
- #: templates/checkout/payment.php:31
1166
  #: templates/checkout/review-order-2-2.php:53
1167
  #@ woocommerce
1168
  msgid "Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements."
1169
  msgstr "Es tut uns Leid! Leider gibt es für Sie aktuell keine passende Zahlungsmethode. Bitte nehmen Sie mit uns Kontakt auf, damit wir Ihnen eine individuelle Lösung anbieten können."
1170
 
1171
- #: includes/wc-gzd-template-functions.php:317
1172
  #: templates/checkout/form-pay-2-2.php:52
1173
  #: templates/checkout/form-pay.php:53
1174
  #: templates/checkout/review-order-2-2.php:63
@@ -1176,27 +1182,27 @@ msgstr "Es tut uns Leid! Leider gibt es für Sie aktuell keine passende Zahlungs
1176
  msgid "Your order"
1177
  msgstr "Ihre Bestellung"
1178
 
1179
- #: templates/checkout/order-submit.php:4
1180
  #: templates/checkout/review-order-2-2.php:181
1181
  #@ woocommerce
1182
  msgid "Since your browser does not support JavaScript, or it is disabled, please ensure you click the <em>Update Totals</em> button before placing your order. You may be charged more than the amount stated above if you fail to do so."
1183
  msgstr "Da Ihr Browser kein JavaScript erlaubt, denken Sie bitte daran, auf \"Gesamtsumme aktualisieren\" zu klicken, bevor Sie den Auftrag absenden. "
1184
 
1185
- #: templates/checkout/order-submit.php:4
1186
  #: templates/checkout/review-order-2-2.php:181
1187
  #@ woocommerce
1188
  msgid "Update totals"
1189
  msgstr "Gesamtsumme aktualisieren"
1190
 
1191
- #: templates/checkout/order-submit.php:14
1192
  #: templates/checkout/review-order-2-2.php:197
1193
  #, php-format
1194
  #@ woocommerce
1195
  msgid "I&rsquo;ve read and accept the <a href=\"%s\" target=\"_blank\">terms &amp; conditions</a>"
1196
  msgstr "Ich habe die <a href=\"%s\" target=\"_blank\">Allgemeinen Geschäftsbedingungen</a> gelesen und akzeptiert."
1197
 
1198
- #: includes/wc-gzd-template-functions.php:308
1199
- #: templates/checkout/order-submit.php:10
1200
  #: templates/checkout/review-order-2-2.php:188
1201
  #@ woocommerce
1202
  msgid "Place order"
@@ -1283,12 +1289,12 @@ msgstr "Widerruf erklären"
1283
  msgid "VAT free based on &#167;19 UStG"
1284
  msgstr "Kein Mehrwertsteuerausweis, da Kleinunternehmer nach §19 (1) UStG."
1285
 
1286
- #: woocommerce-germanized.php:558
1287
  #@ woocommerce
1288
  msgid "Settings"
1289
  msgstr "Einstellungen"
1290
 
1291
- #: woocommerce-germanized.php:746
1292
  #@ woocommerce
1293
  msgid "Order Total:"
1294
  msgstr "Gesamtsumme"
@@ -1446,13 +1452,13 @@ msgctxt "trusted-shops"
1446
  msgid "This option will update your reviews received via Trusted Shops once per day and enables a Widget to show your reviews as Rich Snippets."
1447
  msgstr "Diese Option bewirkt, dass deine über Trusted Shops empfangenen Bewertungen als Rich Snippets im Shop als Widget verfügbar sind. "
1448
 
1449
- #: includes/class-wc-gzd-trusted-shops.php:420
1450
  #@ woocommerce-germanized
1451
  msgctxt "trusted-shops"
1452
  msgid "Assign payment methods"
1453
  msgstr "Zahlungsmethoden zuweisen"
1454
 
1455
- #: includes/class-wc-gzd-trusted-shops.php:469
1456
  #@ woocommerce-germanized
1457
  msgctxt "trusted-shops"
1458
  msgid "About Trusted Shops"
@@ -1483,12 +1489,12 @@ msgctxt "trusted-shops"
1483
  msgid "%s of %s based on %s <a href=\"%s\" target=\"_blank\">ratings</a>."
1484
  msgstr "%s von %s basierend auf %s <a href=\"%s\" target=\"_blank\">Bewertungen</a>."
1485
 
1486
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:509
1487
  #@ woocommerce-germanized
1488
  msgid "Checkout Table Color"
1489
  msgstr "Hintergrundfarbe der Tabelle"
1490
 
1491
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:511
1492
  #@ woocommerce-germanized
1493
  msgid "Choose the color of your checkout product table. This table should be highlighted within your checkout page."
1494
  msgstr "Wähle die Farbe des Hintergrundes deiner Produkt-Tabelle im Checkout. Die Tabelle sollte sich farblich vom Rest des Inhalts abheben."
@@ -1527,42 +1533,42 @@ msgstr "Wir haben festgestellt, dass dein Theme scheinbar noch nicht für WooCom
1527
  msgid "Check if fee is taxable."
1528
  msgstr "MwSt.-Berechnung für Gebühr aktivieren."
1529
 
1530
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:555
1531
  #@ woocommerce-germanized
1532
  msgid "Legal Digital Text"
1533
  msgstr "Hinweis Digital"
1534
 
1535
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:556
1536
  #@ woocommerce-germanized
1537
  msgid "Choose a Plain Text which will be shown right above checkout submit button if a user has picked a digital product. See legal text option for possible placeholders."
1538
  msgstr "Passen Sie hier optional den Hinweistext an, der angezeigt wird, wenn ein Kunde ein digitales Produkt im Warenkorb hat. Sie können hier die gleichen Platzhalter verwenden wie beim Rechtlichen Hinweistext"
1539
 
1540
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:356
1541
  #@ woocommerce-germanized
1542
  msgid "Link to Details"
1543
  msgstr "Verlinkung zu Produktdetails"
1544
 
1545
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:357
1546
  #@ woocommerce-germanized
1547
  msgid "Want to link to product details page instead of add to cart within listings?"
1548
  msgstr "Anstatt des zum Warenkorb Buttons einen Button zur Produktdetail-Seite einfügen?"
1549
 
1550
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:361
1551
  #@ woocommerce-germanized
1552
  msgid "Decide whether you like to link to your product's details page instead of displaying an add to cart button within product listings."
1553
  msgstr "Wenn du lieber einen Link zu deiner Produktseite anstatt eines zum Warenkorb Buttons innerhalb von Produktauflistungen haben möchtest, dann setze einfach diese Option."
1554
 
1555
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:365
1556
  #@ woocommerce-germanized
1557
  msgid "Product Details Text"
1558
  msgstr "Produktdetails Text"
1559
 
1560
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:367
1561
  #@ woocommerce-germanized
1562
  msgid "Details"
1563
  msgstr "Details"
1564
 
1565
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:369
1566
  #@ woocommerce-germanized
1567
  msgid "If you have chosen to link to product details page instead of add to cart URL you may want to change the button text."
1568
  msgstr "Wenn du dich dazu entschlossen hast, lieber auf die Produktseite zu verlinken anstatt den zum Warenkorb Button einzublenden, kannst du hier einen Button-Text vergeben."
@@ -1661,44 +1667,44 @@ msgstr "jetzt Bewertung verfassen"
1661
  msgid "Found Bugs?"
1662
  msgstr "Bugs oder Wünsche melden"
1663
 
1664
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:461
1665
  #@ woocommerce-germanized
1666
  msgid "Shipping Costs for Virtual"
1667
  msgstr "Versandkosten virtuell"
1668
 
1669
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:462
1670
  #@ woocommerce-germanized
1671
  msgid "Select this option if you want to display shipping costs notice for virtual products."
1672
  msgstr "Versandkosten-Hinweis auch für virtuelle Produkte aktivieren?"
1673
 
1674
- #: includes/abstracts/abstract-wc-gzd-product.php:92
1675
  #: includes/wc-gzd-cart-functions.php:102
1676
- #: woocommerce-germanized.php:773
1677
  #@ woocommerce-germanized
1678
  msgid "incl. VAT"
1679
  msgstr "inkl. MwSt."
1680
 
1681
- #: includes/abstracts/abstract-wc-gzd-product.php:92
1682
  #@ woocommerce-germanized
1683
  msgid "excl. VAT"
1684
  msgstr "exkl. MwSt."
1685
 
1686
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:324
1687
  #@ woocommerce-germanized
1688
  msgid "Virtual VAT"
1689
  msgstr "USt. Änderung 2015"
1690
 
1691
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:327
1692
  #@ woocommerce-germanized
1693
  msgid "Enable Virtual VAT"
1694
  msgstr "USt. Anpassung aktivieren"
1695
 
1696
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:328
1697
  #@ woocommerce-germanized
1698
  msgid "Enable if you want to charge your customer's countries' VAT for virtual products."
1699
  msgstr "Aktiviere diese Option um für virtuelle Produkte den USt.-Satz des Dienstleistungsempfängers zu berechnen."
1700
 
1701
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:332
1702
  #, php-format
1703
  #@ woocommerce-germanized
1704
  msgid "New EU VAT rule applies on 01.01.2015. Make sure that every digital or virtual product has chosen the right tax class (Virtual Rate or Virtual Reduced Rate). Gross prices will not differ from the prices you have chosen for affected products. In fact the net price will differ depending on the VAT rate of your customers' country. Shop settings will be adjusted to show prices including tax. More information can be found <a href=\"%s\" target=\"_blank\">here</a>."
@@ -1731,22 +1737,22 @@ msgstr "Wir übernehmen das Einfügen der unterschiedlichen EU MwSt.-Sätze für
1731
  msgid "Update WooCommerce Germanized"
1732
  msgstr "WooCommerce Germanized aktualisieren"
1733
 
1734
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:255
1735
  #@ woocommerce-germanized
1736
  msgid "Unit Price Text"
1737
  msgstr "Einheitspreis Text"
1738
 
1739
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:256
1740
  #@ woocommerce-germanized
1741
  msgid "This text will be used to display the unit price. Use {price} to insert the price."
1742
  msgstr "Dieser Text wird verwendet um den Einheitspreis darzustellen. Nutze {price} als Platzhalter für den eigentlichen Preis."
1743
 
1744
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:261
1745
  #@ woocommerce-germanized
1746
  msgid "{price}"
1747
  msgstr "{price}"
1748
 
1749
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:694
1750
  #@ woocommerce-germanized
1751
  msgid "Sorry, but the new Virtual VAT rules cannot be applied to small business."
1752
  msgstr "Sorry aber die neuen USt-Regelungen für virtuelle Produkte lassen sich leider nicht mit dem Kleinunternehmer vereinbaren. Bitte kontaktiere deinen Steuerberater für weitere Informationen."
@@ -1761,83 +1767,83 @@ msgstr "Anrede im Checkout"
1761
  msgid "Add a title field to the address within checkout?"
1762
  msgstr "Fügt ein Feld \"Anrede\" im Checkout hinzu."
1763
 
1764
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:546
1765
  #@ woocommerce-germanized
1766
  msgid "Show digital notice"
1767
  msgstr "Checkbox digitale Produkte"
1768
 
1769
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:547
1770
  #@ woocommerce-germanized
1771
  msgid "Show checkbox for digital products."
1772
  msgstr "Checkbox bei digitalen Produkten anzeigen"
1773
 
1774
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:548
1775
  #@ woocommerce-germanized
1776
  msgid "Disable this option if you want your customers to obtain their right of recission even if digital products are being bought."
1777
  msgstr "Diese Option setzt im Checkout eine Checkbox falls sich im Warenkorb digitale Produkte befinden. Hier können Kunden darauf aufmerksam gemacht werden, dass im Falle von digitalen Produkten das Widerrufsrecht erlischt."
1778
 
1779
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:482
1780
  #@ woocommerce-germanized
1781
  msgid "Show Thumbnails"
1782
  msgstr "Thumbnails anzeigen"
1783
 
1784
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:483
1785
  #@ woocommerce-germanized
1786
  msgid "Show product thumbnails on checkout page?"
1787
  msgstr "Produktbilder im Checkout darstellen?"
1788
 
1789
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:487
1790
  #@ woocommerce-germanized
1791
  msgid "Uncheck if you don't want to show your product thumbnails within checkout table."
1792
  msgstr "Deaktiviere diese Option, wenn du keine Produkbilder im Checkout angezeigt bekommen möchtest."
1793
 
1794
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:491
1795
  #@ woocommerce-germanized
1796
  msgid "Hide Shipping Select"
1797
  msgstr "Versandmethoden Auswahl"
1798
 
1799
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:492
1800
  #@ woocommerce-germanized
1801
  msgid "Hide shipping rate selection from checkout?"
1802
  msgstr "Die Auswahl von Versandmethoden im Checkout deaktivieren?"
1803
 
1804
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:496
1805
  #@ woocommerce-germanized
1806
  msgid "This option will hide shipping rate selection from checkout. By then customers will only be able to change their shipping rate on cart page."
1807
  msgstr "Diese Option deaktiviert die Darstellung der Versandmethoden Auswahl im Checkout. Kunden können von nun an nur noch über den Warenkorb die Versandmethode ändern."
1808
 
1809
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:473
1810
  #@ woocommerce-germanized
1811
  msgid "Hide taxes estimated"
1812
  msgstr "Hinweis \"Steuern geschätzt\""
1813
 
1814
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:474
1815
  #@ woocommerce-germanized
1816
  msgid "Do you want to hide the \"taxes and shipping estimated\" text from your cart?"
1817
  msgstr "Den Hinweis \"Versandkosten und Steuern werden geschätzt\" entfernen?"
1818
 
1819
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:478
1820
  #@ woocommerce-germanized
1821
  msgid "By default WooCommerce adds a \"taxes and shipping estimated\" text to your cart. This might puzzle your customers and may not meet german law."
1822
  msgstr "Der Hinweistext im Warenkorb zur Schätzung von Steuern und Versandkosten kann für Verwirrung beim Kunden sorgen und scheint nicht für den deutschen Markt geeignet."
1823
 
1824
- #: includes/abstracts/abstract-wc-gzd-product.php:93
1825
  #, php-format
1826
  #@ woocommerce-germanized
1827
  msgid "excl. %s%% VAT"
1828
  msgstr "exkl. %s%% MwSt."
1829
 
1830
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:500
1831
  #@ woocommerce-germanized
1832
  msgid "Show back to cart button"
1833
  msgstr "Bestellung bearbeiten"
1834
 
1835
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:501
1836
  #@ woocommerce-germanized
1837
  msgid "Show back to cart button within your checkout table?"
1838
  msgstr "Einen \"Bestellung bearbeiten\" Button in der Bestellübersicht anzeigen?"
1839
 
1840
- #: includes/admin/settings/class-wc-gzd-settings-germanized.php:505
1841
  #@ woocommerce-germanized
1842
  msgid "This button may let your customer edit their order before submitting. Some people state that this button should be hidden to avoid legal problems."
1843
  msgstr "Dieser Button ermöglicht es deinen Kunden etwaige Falscheingaben (d.h. fälschlich ausgewählte Produkte) zu korrigieren und zurück zum Warenkorb zu gelangen. Je nach Darstellung in deinem Theme könnte es allerdings auch das Risiko für Abmahnungen erhöhen, da zwischen Pflichtangaben und Kaufen-Button keine weitere Informationen abgedruckt werden sollten."
@@ -1904,12 +1910,6 @@ msgstr "Berechnung der Steuern für Gebühren erzwingen?"
1904
  msgid "This option will overwrite settings for each individual fee to force tax calculation (instead of only calculating tax for those fees which are taxeable)."
1905
  msgstr "Diese Option überschreibt die Einstellungen aller Gebühren und erzwingt die Steuerberechnung."
1906
 
1907
- #. translators: plugin header field 'Version'
1908
- #: woocommerce-germanized.php:0
1909
- #@ woocommerce-germanized
1910
- msgid "1.1.2"
1911
- msgstr "1.1.2"
1912
-
1913
  #: templates/checkout/review-order.php:21
1914
  #@ woocommerce-germanized
1915
  msgid "Total Sum"
@@ -1926,3 +1926,114 @@ msgstr "Es sieht so aus als wenn dein aktuelles Theme versucht rechtlich relevan
1926
  msgid "Total"
1927
  msgstr ""
1928
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WooCommerce Germanized v1.2.1\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2014-09-29 12:26+0100\n"
6
+ "PO-Revision-Date: 2015-02-17 13:28:26+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
85
  msgid "Welcome to WooCommerce Germanized"
86
  msgstr "Willkommen bei WooCommerce Germanized"
87
 
88
+ #: includes/admin/class-wc-gzd-admin-welcome.php:231
89
  #@ woocommerce-germanized
90
  msgid "Go to WooCommerce Germanized Settings"
91
  msgstr "zu den WooCommerce Germanized Einstellungen"
111
  msgstr "Füllen Sie dieses Feld aus um einen abweichenden E-Mail Anhangstext für diese Seite zu bestimmen."
112
 
113
  #: includes/admin/class-wc-gzd-admin.php:72
114
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:86
115
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:145
116
  #@ woocommerce-germanized
117
  msgid "Optional Mini Description"
118
  msgstr "Warenkorb Kurzbeschreibung"
122
  msgid "This content will be shown as short product description within checkout and emails."
123
  msgstr "Dieser Inhalt wird während des Bezahlvorganges und in den E-Mails als Produkt Kurzbeschreibung angezeigt."
124
 
125
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:46
126
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:103
127
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:25
128
  #@ woocommerce-germanized
129
  msgid "Unit"
130
  msgstr "Einheit"
131
 
132
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:48
133
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:74
134
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:105
135
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:133
136
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:53
137
  #: includes/class-wc-gzd-trusted-shops.php:350
138
  #@ woocommerce-germanized
139
  msgid "None"
140
  msgstr "Keine"
141
 
142
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:55
143
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:112
144
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:26
145
  #@ woocommerce-germanized
146
  msgid "Unit Base"
147
  msgstr "Anzahl Einheiten"
148
 
149
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:59
150
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:118
151
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:27
152
  #@ woocommerce-germanized
153
  msgid "Regular Unit Price"
154
  msgstr "Einheitspreis"
155
 
156
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:63
157
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:122
158
  #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php:28
159
  #@ woocommerce-germanized
160
  msgid "Sale Unit Price"
161
  msgstr "Aktions-Einheitspreis"
162
 
163
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:69
164
+ #: includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:128
165
  #@ woocommerce-germanized
166
  msgid "Delivery Time"
167
  msgstr "Lieferzeit"
189
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:40
190
  #@ woocommerce-germanized
191
  msgid "General Options"
192
+ msgstr "Allgemein"
193
 
194
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:41
195
  #@ woocommerce-germanized
196
  msgid "Display Options"
197
+ msgstr "Anzeige"
198
 
199
+ #: includes/class-wc-gzd-trusted-shops.php:497
200
  #@ woocommerce-germanized
201
  msgctxt "trusted-shops"
202
  msgid "Trusted Shops Options"
203
+ msgstr "Trusted Shops"
204
 
205
+ #: includes/class-wc-gzd-ekomi.php:376
206
  #@ woocommerce-germanized
207
  msgctxt "ekomi"
208
  msgid "eKomi Options"
209
+ msgstr "eKomi"
210
 
211
  #: includes/admin/settings/class-wc-gzd-settings-germanized.php:66
212
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:367
213
  #@ woocommerce-germanized
214
  msgid "General"
215
  msgstr "Allgemein"
370
  msgid "plus {link}Shipping Costs{/link}"
371
  msgstr "zzgl. {link}Versandkosten{/link}"
372
 
373
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:289
374
  #@ woocommerce-germanized
375
  msgid "Right of Recission"
376
  msgstr "Widerrufsrecht"
377
 
378
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:292
379
  #@ woocommerce-germanized
380
  msgid "Revocation Address"
381
  msgstr "Widerruf richten an"
382
 
383
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:293
384
  #@ woocommerce-germanized
385
  msgid "Type in an address, telephone/telefax number, email address which is to be used as revocation address"
386
  msgstr "Geben Sie hier Ihre Adresse, Telefon- und Faxnummer, E-Mail Adresse usw. an, an die Ihre Kunden Ihren Widerruf richten sollen"
387
 
388
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:302
389
  #@ woocommerce-germanized
390
  msgid "E-Mails"
391
  msgstr "E-Mails"
392
 
393
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:305
394
  #@ woocommerce-germanized
395
  msgid "Attach Imprint"
396
  msgstr "Impressum"
397
 
398
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:306
399
  #@ woocommerce-germanized
400
  msgid "Attach Imprint to the following email templates"
401
  msgstr "Hier können Sie die E-Mail Templates auswählen, an die das Impressum angehängt werden soll (Inhalt der oben ausgewählten Impressum-Seite bzw. des optionalen E-Mail Inhaltes dieser Seite)"
402
 
403
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:315
404
  #@ woocommerce-germanized
405
  msgid "Attach Terms & Conditions"
406
  msgstr "AGB"
407
 
408
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:316
409
  #@ woocommerce-germanized
410
  msgid "Attach Terms & Conditions to the following email templates"
411
  msgstr "Hier können Sie die E-Mail Templates auswählen, an die die AGB angehängt werden soll (Inhalt der in den WooCommerce-Einstellungen ausgewählten AGB-Seite bzw. des optionalen E-Mail Inhaltes dieser Seite)"
412
 
413
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:325
414
  #@ woocommerce-germanized
415
  msgid "Attach Power of Recission"
416
  msgstr "Widerrufsbelehrung"
417
 
418
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:326
419
  #@ woocommerce-germanized
420
  msgid "Attach Power of Recission to the following email templates"
421
  msgstr "Hier können Sie die E-Mail Templates auswählen, an die die Widerrufsbelehrung angehängt werden soll (Inhalt der oben ausgewählten Widerrufsbelehrungs-Seite bzw. des optionalen E-Mail Inhaltes dieser Seite). Standardmäßig sollte hier zumindest \"Bestellung in Abwicklung\" ausgewählt werden."
422
 
423
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:336
424
  #@ woocommerce-germanized
425
  msgid "Attach Data Security"
426
  msgstr "Datenschutzbelehrung"
427
 
428
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:337
429
  #@ woocommerce-germanized
430
  msgid "Attach Data Security Statement to the following email templates"
431
  msgstr "Hier können Sie die E-Mail Templates auswählen, an die die Datenschutzbelehrung angehängt werden soll (Inhalt der oben ausgewählten Datenschutzbelehrungs-Seite bzw. des optionalen E-Mail Inhaltes dieser Seite)"
432
 
433
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:370
434
  #@ woocommerce-germanized
435
  msgid "Add to Cart"
436
  msgstr "Zum Warenkorb Button"
437
 
438
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:371
439
  #@ woocommerce-germanized
440
  msgid "Show add to cart button on listings?"
441
  msgstr "Den zum Warenkorb Button in Produktlisten darstellen?"
442
 
443
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:375
444
  #@ woocommerce-germanized
445
  msgid "unset this option if you don't want to show the add to cart button within the product listings"
446
  msgstr "Deaktivieren Sie diese Option, wenn Sie den zum Warenkorb Button nicht innerhalb von Produktauflistungen darstellen möchten"
447
 
448
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:397
449
  #@ woocommerce-germanized
450
  msgid "Notice Footer"
451
  msgstr "Hinweise im Footer"
452
 
453
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:398
454
  #@ woocommerce-germanized
455
  msgid "Show a global VAT notice within footer"
456
  msgstr "Einen seitenübergreifenden Hinweis bzgl. der MwSt. im Footer darstellen"
457
 
458
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:406
459
  #@ woocommerce-germanized
460
  msgid "Show a global sale price notice within footer"
461
  msgstr "Einen seitenübergreifenden Hinweis bzgl. reduzierter Preise im Footer darstellen"
462
 
463
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:415
464
  #@ woocommerce-germanized
465
  msgid "Products"
466
  msgstr "Produkt"
467
 
468
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:418
469
  #@ woocommerce-germanized
470
  msgid "Show within Product Listings"
471
  msgstr "In Produktlisten"
472
 
473
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:419
474
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:452
475
  #@ woocommerce-germanized
476
  msgid "Shipping Costs notice"
477
  msgstr "Versandkosten-Hinweis"
478
 
479
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:275
480
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:435
481
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:468
482
  #@ woocommerce-germanized
483
  msgid "Unit Price"
484
  msgstr "Einheitspreis"
485
 
486
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:443
487
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:476
488
  #@ woocommerce-germanized
489
  msgid "Delivery Time Notice"
490
  msgstr "Lieferzeiten-Hinweis"
491
 
492
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:451
493
  #@ woocommerce-germanized
494
  msgid "Show on Product Detail Page"
495
  msgstr "Auf der Produktseite"
496
 
497
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:427
498
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:460
499
  #@ woocommerce-germanized
500
  msgid "Tax Info"
501
  msgstr "MwSt. Hinweis"
502
 
503
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:493
504
  #@ woocommerce-germanized
505
  msgid "Checkout & Cart"
506
  msgstr "Checkout & Warenkorb"
507
 
508
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:540
509
  #@ woocommerce-germanized
510
  msgid "Checkout Legal Display"
511
  msgstr "Checkbox oder Text"
512
 
513
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:541
514
  #@ woocommerce-germanized
515
  msgid "Use Text without Checkbox"
516
  msgstr "Rechtshinweis ohne Checkbox"
517
 
518
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:543
519
  #@ woocommerce-germanized
520
  msgid "This version will remove checkboxes from Checkout and display a text instead. This seems to be legally compliant (Zalando & Co are using this option)."
521
  msgstr "Diese Option nutzt anstatt einer Checkbox einen ausformulierten Text direkt überhalb des Kauf abschließen Buttons (Zalando und Andere Shops verwenden diese Form)"
522
 
523
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:549
524
  #@ woocommerce-germanized
525
  msgid "Legal Text"
526
  msgstr "Rechtlicher Hinweistext"
527
 
528
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:550
529
  #@ woocommerce-germanized
530
  msgid "Choose a Plain Text which will be shown right above checkout submit button. Use {term_link}{/term_link}, {data_security_link}{/data_security_link}, {revocation_link}{/revocation_link} as Placeholders for the links to legal pages."
531
  msgstr "Geben Sie hier den Text ein, den Sie als Hinweistext überhalb des \"Kaufen\" - Buttons darstellen möchten. Nutzen Sie die Platzhalter {term_link}{/term_link}, {data_security_link}{/data_security_link}, {revocation_link}{/revocation_link} um die jeweiligen Links zu den Seiten einzufügen."
532
 
533
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:552
534
  #@ woocommerce-germanized
535
  msgid "With your order, you agree to have read and understood our {term_link}Terms and Conditions{/term_link} and your {revocation_link}Right of Recission{/revocation_link}."
536
  msgstr "Mit Ihrer Bestellung erklären Sie sich mit unseren {term_link}Allgemeinen Geschäftsbedingungen{/term_link} und {revocation_link}Widerrufsbestimmungen{/revocation_link} einverstanden."
537
 
538
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:559
539
  #@ woocommerce-germanized
540
  msgid "Legal Text Error"
541
  msgstr "Fehlermeldung der Checkbox"
542
 
543
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:560
544
  #@ woocommerce-germanized
545
  msgid "If you have chosen to use checkbox validation please choose a error message which will be shown if the user doesn't check checkbox. Use {term_link}{/term_link}, {data_security_link}{/data_security_link}, {revocation_link}{/revocation_link} as Placeholders for the links to legal pages."
546
  msgstr "Falls Sie sich dazu entschieden haben, eine Checkbox zu nutzen, können Sie hier die Fehlermeldung eingeben, die angezeigt wird, wenn ein Benutzer die Checkbox nicht aktiviert hat. Nutzen Sie die Platzhalter um Links zu den jeweiligen Hinweisseiten einzufügen: {term_link}{/term_link}, {data_security_link}{/data_security_link}, {revocation_link}{/revocation_link}"
547
 
548
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:562
549
  #@ woocommerce-germanized
550
  msgid "To finish the order you have to accept to our {term_link}Terms and Conditions{/term_link} and {revocation_link}Right of Recission{/revocation_link}."
551
  msgstr "Bitte akzeptieren Sie unsere {term_link}Allgemeinen Geschäftsbedingungen{/term_link} und {revocation_link}Widerrufsbestimmungen{/revocation_link}."
552
 
553
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:588
554
  #@ woocommerce-germanized
555
  msgid "Order Success Text"
556
  msgstr "Bestellung eingegangen"
557
 
558
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:589
559
  #@ woocommerce-germanized
560
  msgid "Choose a custom text to display on order success page."
561
  msgstr "Hier können Sie einen individuellen kurzen Text eingeben, der nach der Bestellung ausgegeben wird."
562
 
563
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:597
564
  #@ woocommerce-germanized
565
  msgid "Order Success Data"
566
  msgstr "Bestellbestätigungs-Daten"
567
 
568
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:598
569
  #@ woocommerce-germanized
570
  msgid "Hide product table and customer data on order success page"
571
  msgstr "Zusätzliche Produktdetails (Tabelle, Kundeninformationen) von der Bestellbestätigungs-Seite entfernen"
738
  msgid "Number of days between an order being marked as completed and review email to customer."
739
  msgstr "Anzahl der Tage zwischen dem Datum an dem die Bestellung als \"abgeschlossen\" (completed) markiert wurde und dem Absenden der Bewertungseinladung an den Kunden"
740
 
741
+ #: includes/class-wc-gzd-emails.php:159
742
  #@ woocommerce-germanized
743
  msgctxt "revocation-form"
744
  msgid "Forward your Revocation online"
750
  msgid "Please install <a href=\"%s\" target=\"_blank\">WooCommerce</a> before installing WooCommerce Germanized. Thank you!"
751
  msgstr "Bitte installieren Sie <a href=\"%s\" target=\"_blank\">WooCommerce</a> bevor Sie WooCommerce Germanized installieren. Vielen Dank!"
752
 
753
+ #: includes/class-wc-gzd-install.php:316
754
  #@ woocommerce-germanized
755
  msgctxt "Page slug"
756
  msgid "data-security"
757
  msgstr "datenschutzbelehrung"
758
 
759
+ #: includes/class-wc-gzd-install.php:317
760
  #@ woocommerce-germanized
761
  msgctxt "Page title"
762
  msgid "Data Security Statement"
763
  msgstr "Datenschutzbelehrung"
764
 
765
+ #: includes/class-wc-gzd-install.php:321
766
  #@ woocommerce-germanized
767
  msgctxt "Page slug"
768
  msgid "imprint"
769
  msgstr "impressum"
770
 
771
+ #: includes/class-wc-gzd-install.php:322
772
  #@ woocommerce-germanized
773
  msgctxt "Page title"
774
  msgid "Imprint"
775
  msgstr "Impressum"
776
 
777
+ #: includes/class-wc-gzd-install.php:326
778
  #@ woocommerce-germanized
779
  msgctxt "Page slug"
780
  msgid "terms"
781
  msgstr "agb"
782
 
783
+ #: includes/class-wc-gzd-install.php:327
784
  #@ woocommerce-germanized
785
  msgctxt "Page title"
786
  msgid "Terms & Conditions"
787
  msgstr "AGB"
788
 
789
+ #: includes/class-wc-gzd-install.php:331
790
  #@ woocommerce-germanized
791
  msgctxt "Page slug"
792
  msgid "revocation"
793
  msgstr "widerrufsbelehrung"
794
 
795
+ #: includes/class-wc-gzd-install.php:332
796
  #@ woocommerce-germanized
797
  msgctxt "Page title"
798
  msgid "Power of Revocation"
799
  msgstr "Widerrufsbelehrung"
800
 
801
+ #: includes/class-wc-gzd-install.php:341
802
  #@ woocommerce-germanized
803
  msgctxt "Page slug"
804
  msgid "payment-methods"
805
  msgstr "bezahlmoeglichkeiten"
806
 
807
+ #: includes/class-wc-gzd-install.php:342
808
  #@ woocommerce-germanized
809
  msgctxt "Page title"
810
  msgid "Payment Methods"
811
  msgstr "Zahlungsmethoden"
812
 
813
+ #: includes/class-wc-gzd-install.php:336
814
  #@ woocommerce-germanized
815
  msgctxt "Page slug"
816
  msgid "shipping-methods"
817
  msgstr "versandmethoden"
818
 
819
+ #: includes/class-wc-gzd-install.php:337
820
  #@ woocommerce-germanized
821
  msgctxt "Page title"
822
  msgid "Shipping Methods"
1027
  msgid "Trusted Shops Integration"
1028
  msgstr "Trusted Shops Integration"
1029
 
1030
+ #: includes/class-wc-gzd-trusted-shops.php:451
1031
  #, php-format
1032
  #@ woocommerce-germanized
1033
  msgctxt "trusted-shops"
1100
  msgid "Payment charge"
1101
  msgstr "Zahlungsgebühr"
1102
 
1103
+ #: includes/abstracts/abstract-wc-gzd-product.php:82
1104
  #: includes/wc-gzd-cart-functions.php:102
1105
+ #: woocommerce-germanized.php:827
1106
  #, php-format
1107
  #@ woocommerce-germanized
1108
  msgid "incl. %s%% VAT"
1118
  msgid "Choose a Payment Gateway"
1119
  msgstr "Zahlungsmethode auswählen"
1120
 
1121
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:581
1122
  #: includes/wc-gzd-cart-functions.php:137
1123
  #@ woocommerce-germanized
1124
  msgid "I want immediate access to the digital content and I acknowledge that thereby I lose my right to cancel once the service has begun."
1164
  msgid "Product"
1165
  msgstr "Produkt"
1166
 
 
1167
  #: templates/checkout/review-order-2-2.php:51
1168
  #@ woocommerce
1169
  msgid "Please fill in your details above to see available payment methods."
1170
  msgstr "Bitte geben Sie Ihre Informationen ein, damit Sie die zu Verfügung stehenden Zahlungsmethoden sehen können."
1171
 
 
1172
  #: templates/checkout/review-order-2-2.php:53
1173
  #@ woocommerce
1174
  msgid "Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements."
1175
  msgstr "Es tut uns Leid! Leider gibt es für Sie aktuell keine passende Zahlungsmethode. Bitte nehmen Sie mit uns Kontakt auf, damit wir Ihnen eine individuelle Lösung anbieten können."
1176
 
1177
+ #: includes/wc-gzd-template-functions.php:329
1178
  #: templates/checkout/form-pay-2-2.php:52
1179
  #: templates/checkout/form-pay.php:53
1180
  #: templates/checkout/review-order-2-2.php:63
1182
  msgid "Your order"
1183
  msgstr "Ihre Bestellung"
1184
 
1185
+ #: templates/checkout/order-submit.php:17
1186
  #: templates/checkout/review-order-2-2.php:181
1187
  #@ woocommerce
1188
  msgid "Since your browser does not support JavaScript, or it is disabled, please ensure you click the <em>Update Totals</em> button before placing your order. You may be charged more than the amount stated above if you fail to do so."
1189
  msgstr "Da Ihr Browser kein JavaScript erlaubt, denken Sie bitte daran, auf \"Gesamtsumme aktualisieren\" zu klicken, bevor Sie den Auftrag absenden. "
1190
 
1191
+ #: templates/checkout/order-submit.php:17
1192
  #: templates/checkout/review-order-2-2.php:181
1193
  #@ woocommerce
1194
  msgid "Update totals"
1195
  msgstr "Gesamtsumme aktualisieren"
1196
 
1197
+ #: templates/checkout/order-submit.php:28
1198
  #: templates/checkout/review-order-2-2.php:197
1199
  #, php-format
1200
  #@ woocommerce
1201
  msgid "I&rsquo;ve read and accept the <a href=\"%s\" target=\"_blank\">terms &amp; conditions</a>"
1202
  msgstr "Ich habe die <a href=\"%s\" target=\"_blank\">Allgemeinen Geschäftsbedingungen</a> gelesen und akzeptiert."
1203
 
1204
+ #: includes/wc-gzd-template-functions.php:317
1205
+ #: templates/checkout/order-submit.php:24
1206
  #: templates/checkout/review-order-2-2.php:188
1207
  #@ woocommerce
1208
  msgid "Place order"
1289
  msgid "VAT free based on &#167;19 UStG"
1290
  msgstr "Kein Mehrwertsteuerausweis, da Kleinunternehmer nach §19 (1) UStG."
1291
 
1292
+ #: woocommerce-germanized.php:564
1293
  #@ woocommerce
1294
  msgid "Settings"
1295
  msgstr "Einstellungen"
1296
 
1297
+ #: woocommerce-germanized.php:800
1298
  #@ woocommerce
1299
  msgid "Order Total:"
1300
  msgstr "Gesamtsumme"
1452
  msgid "This option will update your reviews received via Trusted Shops once per day and enables a Widget to show your reviews as Rich Snippets."
1453
  msgstr "Diese Option bewirkt, dass deine über Trusted Shops empfangenen Bewertungen als Rich Snippets im Shop als Widget verfügbar sind. "
1454
 
1455
+ #: includes/class-wc-gzd-trusted-shops.php:421
1456
  #@ woocommerce-germanized
1457
  msgctxt "trusted-shops"
1458
  msgid "Assign payment methods"
1459
  msgstr "Zahlungsmethoden zuweisen"
1460
 
1461
+ #: includes/class-wc-gzd-trusted-shops.php:470
1462
  #@ woocommerce-germanized
1463
  msgctxt "trusted-shops"
1464
  msgid "About Trusted Shops"
1489
  msgid "%s of %s based on %s <a href=\"%s\" target=\"_blank\">ratings</a>."
1490
  msgstr "%s von %s basierend auf %s <a href=\"%s\" target=\"_blank\">Bewertungen</a>."
1491
 
1492
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:532
1493
  #@ woocommerce-germanized
1494
  msgid "Checkout Table Color"
1495
  msgstr "Hintergrundfarbe der Tabelle"
1496
 
1497
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:534
1498
  #@ woocommerce-germanized
1499
  msgid "Choose the color of your checkout product table. This table should be highlighted within your checkout page."
1500
  msgstr "Wähle die Farbe des Hintergrundes deiner Produkt-Tabelle im Checkout. Die Tabelle sollte sich farblich vom Rest des Inhalts abheben."
1533
  msgid "Check if fee is taxable."
1534
  msgstr "MwSt.-Berechnung für Gebühr aktivieren."
1535
 
1536
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:578
1537
  #@ woocommerce-germanized
1538
  msgid "Legal Digital Text"
1539
  msgstr "Hinweis Digital"
1540
 
1541
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:579
1542
  #@ woocommerce-germanized
1543
  msgid "Choose a Plain Text which will be shown right above checkout submit button if a user has picked a digital product. See legal text option for possible placeholders."
1544
  msgstr "Passen Sie hier optional den Hinweistext an, der angezeigt wird, wenn ein Kunde ein digitales Produkt im Warenkorb hat. Sie können hier die gleichen Platzhalter verwenden wie beim Rechtlichen Hinweistext"
1545
 
1546
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:379
1547
  #@ woocommerce-germanized
1548
  msgid "Link to Details"
1549
  msgstr "Verlinkung zu Produktdetails"
1550
 
1551
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:380
1552
  #@ woocommerce-germanized
1553
  msgid "Want to link to product details page instead of add to cart within listings?"
1554
  msgstr "Anstatt des zum Warenkorb Buttons einen Button zur Produktdetail-Seite einfügen?"
1555
 
1556
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:384
1557
  #@ woocommerce-germanized
1558
  msgid "Decide whether you like to link to your product's details page instead of displaying an add to cart button within product listings."
1559
  msgstr "Wenn du lieber einen Link zu deiner Produktseite anstatt eines zum Warenkorb Buttons innerhalb von Produktauflistungen haben möchtest, dann setze einfach diese Option."
1560
 
1561
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:388
1562
  #@ woocommerce-germanized
1563
  msgid "Product Details Text"
1564
  msgstr "Produktdetails Text"
1565
 
1566
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:390
1567
  #@ woocommerce-germanized
1568
  msgid "Details"
1569
  msgstr "Details"
1570
 
1571
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:392
1572
  #@ woocommerce-germanized
1573
  msgid "If you have chosen to link to product details page instead of add to cart URL you may want to change the button text."
1574
  msgstr "Wenn du dich dazu entschlossen hast, lieber auf die Produktseite zu verlinken anstatt den zum Warenkorb Button einzublenden, kannst du hier einen Button-Text vergeben."
1667
  msgid "Found Bugs?"
1668
  msgstr "Bugs oder Wünsche melden"
1669
 
1670
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:484
1671
  #@ woocommerce-germanized
1672
  msgid "Shipping Costs for Virtual"
1673
  msgstr "Versandkosten virtuell"
1674
 
1675
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:485
1676
  #@ woocommerce-germanized
1677
  msgid "Select this option if you want to display shipping costs notice for virtual products."
1678
  msgstr "Versandkosten-Hinweis auch für virtuelle Produkte aktivieren?"
1679
 
1680
+ #: includes/abstracts/abstract-wc-gzd-product.php:81
1681
  #: includes/wc-gzd-cart-functions.php:102
1682
+ #: woocommerce-germanized.php:827
1683
  #@ woocommerce-germanized
1684
  msgid "incl. VAT"
1685
  msgstr "inkl. MwSt."
1686
 
1687
+ #: includes/abstracts/abstract-wc-gzd-product.php:81
1688
  #@ woocommerce-germanized
1689
  msgid "excl. VAT"
1690
  msgstr "exkl. MwSt."
1691
 
1692
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:347
1693
  #@ woocommerce-germanized
1694
  msgid "Virtual VAT"
1695
  msgstr "USt. Änderung 2015"
1696
 
1697
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:350
1698
  #@ woocommerce-germanized
1699
  msgid "Enable Virtual VAT"
1700
  msgstr "USt. Anpassung aktivieren"
1701
 
1702
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:351
1703
  #@ woocommerce-germanized
1704
  msgid "Enable if you want to charge your customer's countries' VAT for virtual products."
1705
  msgstr "Aktiviere diese Option um für virtuelle Produkte den USt.-Satz des Dienstleistungsempfängers zu berechnen."
1706
 
1707
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:355
1708
  #, php-format
1709
  #@ woocommerce-germanized
1710
  msgid "New EU VAT rule applies on 01.01.2015. Make sure that every digital or virtual product has chosen the right tax class (Virtual Rate or Virtual Reduced Rate). Gross prices will not differ from the prices you have chosen for affected products. In fact the net price will differ depending on the VAT rate of your customers' country. Shop settings will be adjusted to show prices including tax. More information can be found <a href=\"%s\" target=\"_blank\">here</a>."
1737
  msgid "Update WooCommerce Germanized"
1738
  msgstr "WooCommerce Germanized aktualisieren"
1739
 
1740
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:278
1741
  #@ woocommerce-germanized
1742
  msgid "Unit Price Text"
1743
  msgstr "Einheitspreis Text"
1744
 
1745
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:279
1746
  #@ woocommerce-germanized
1747
  msgid "This text will be used to display the unit price. Use {price} to insert the price."
1748
  msgstr "Dieser Text wird verwendet um den Einheitspreis darzustellen. Nutze {price} als Platzhalter für den eigentlichen Preis."
1749
 
1750
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:284
1751
  #@ woocommerce-germanized
1752
  msgid "{price}"
1753
  msgstr "{price}"
1754
 
1755
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:717
1756
  #@ woocommerce-germanized
1757
  msgid "Sorry, but the new Virtual VAT rules cannot be applied to small business."
1758
  msgstr "Sorry aber die neuen USt-Regelungen für virtuelle Produkte lassen sich leider nicht mit dem Kleinunternehmer vereinbaren. Bitte kontaktiere deinen Steuerberater für weitere Informationen."
1767
  msgid "Add a title field to the address within checkout?"
1768
  msgstr "Fügt ein Feld \"Anrede\" im Checkout hinzu."
1769
 
1770
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:569
1771
  #@ woocommerce-germanized
1772
  msgid "Show digital notice"
1773
  msgstr "Checkbox digitale Produkte"
1774
 
1775
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:570
1776
  #@ woocommerce-germanized
1777
  msgid "Show checkbox for digital products."
1778
  msgstr "Checkbox bei digitalen Produkten anzeigen"
1779
 
1780
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:571
1781
  #@ woocommerce-germanized
1782
  msgid "Disable this option if you want your customers to obtain their right of recission even if digital products are being bought."
1783
  msgstr "Diese Option setzt im Checkout eine Checkbox falls sich im Warenkorb digitale Produkte befinden. Hier können Kunden darauf aufmerksam gemacht werden, dass im Falle von digitalen Produkten das Widerrufsrecht erlischt."
1784
 
1785
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:505
1786
  #@ woocommerce-germanized
1787
  msgid "Show Thumbnails"
1788
  msgstr "Thumbnails anzeigen"
1789
 
1790
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:506
1791
  #@ woocommerce-germanized
1792
  msgid "Show product thumbnails on checkout page?"
1793
  msgstr "Produktbilder im Checkout darstellen?"
1794
 
1795
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:510
1796
  #@ woocommerce-germanized
1797
  msgid "Uncheck if you don't want to show your product thumbnails within checkout table."
1798
  msgstr "Deaktiviere diese Option, wenn du keine Produkbilder im Checkout angezeigt bekommen möchtest."
1799
 
1800
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:514
1801
  #@ woocommerce-germanized
1802
  msgid "Hide Shipping Select"
1803
  msgstr "Versandmethoden Auswahl"
1804
 
1805
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:515
1806
  #@ woocommerce-germanized
1807
  msgid "Hide shipping rate selection from checkout?"
1808
  msgstr "Die Auswahl von Versandmethoden im Checkout deaktivieren?"
1809
 
1810
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:519
1811
  #@ woocommerce-germanized
1812
  msgid "This option will hide shipping rate selection from checkout. By then customers will only be able to change their shipping rate on cart page."
1813
  msgstr "Diese Option deaktiviert die Darstellung der Versandmethoden Auswahl im Checkout. Kunden können von nun an nur noch über den Warenkorb die Versandmethode ändern."
1814
 
1815
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:496
1816
  #@ woocommerce-germanized
1817
  msgid "Hide taxes estimated"
1818
  msgstr "Hinweis \"Steuern geschätzt\""
1819
 
1820
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:497
1821
  #@ woocommerce-germanized
1822
  msgid "Do you want to hide the \"taxes and shipping estimated\" text from your cart?"
1823
  msgstr "Den Hinweis \"Versandkosten und Steuern werden geschätzt\" entfernen?"
1824
 
1825
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:501
1826
  #@ woocommerce-germanized
1827
  msgid "By default WooCommerce adds a \"taxes and shipping estimated\" text to your cart. This might puzzle your customers and may not meet german law."
1828
  msgstr "Der Hinweistext im Warenkorb zur Schätzung von Steuern und Versandkosten kann für Verwirrung beim Kunden sorgen und scheint nicht für den deutschen Markt geeignet."
1829
 
1830
+ #: includes/abstracts/abstract-wc-gzd-product.php:82
1831
  #, php-format
1832
  #@ woocommerce-germanized
1833
  msgid "excl. %s%% VAT"
1834
  msgstr "exkl. %s%% MwSt."
1835
 
1836
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:523
1837
  #@ woocommerce-germanized
1838
  msgid "Show back to cart button"
1839
  msgstr "Bestellung bearbeiten"
1840
 
1841
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:524
1842
  #@ woocommerce-germanized
1843
  msgid "Show back to cart button within your checkout table?"
1844
  msgstr "Einen \"Bestellung bearbeiten\" Button in der Bestellübersicht anzeigen?"
1845
 
1846
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:528
1847
  #@ woocommerce-germanized
1848
  msgid "This button may let your customer edit their order before submitting. Some people state that this button should be hidden to avoid legal problems."
1849
  msgstr "Dieser Button ermöglicht es deinen Kunden etwaige Falscheingaben (d.h. fälschlich ausgewählte Produkte) zu korrigieren und zurück zum Warenkorb zu gelangen. Je nach Darstellung in deinem Theme könnte es allerdings auch das Risiko für Abmahnungen erhöhen, da zwischen Pflichtangaben und Kaufen-Button keine weitere Informationen abgedruckt werden sollten."
1910
  msgid "This option will overwrite settings for each individual fee to force tax calculation (instead of only calculating tax for those fees which are taxeable)."
1911
  msgstr "Diese Option überschreibt die Einstellungen aller Gebühren und erzwingt die Steuerberechnung."
1912
 
 
 
 
 
 
 
1913
  #: templates/checkout/review-order.php:21
1914
  #@ woocommerce-germanized
1915
  msgid "Total Sum"
1926
  msgid "Total"
1927
  msgstr ""
1928
 
1929
+ #: includes/admin/class-wc-gzd-admin-customer.php:46
1930
+ #@ woocommerce-germanized
1931
+ msgid "Double opt in"
1932
+ msgstr "Double Opt-In"
1933
+
1934
+ #: includes/admin/class-wc-gzd-admin-customer.php:50
1935
+ #@ woocommerce-germanized
1936
+ msgid "Yes, customer opted in"
1937
+ msgstr "Ja, Kunde wurde per Double Opt-In bestätigt."
1938
+
1939
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:252
1940
+ #@ woocommerce-germanized
1941
+ msgid "Customers"
1942
+ msgstr "Kunden"
1943
+
1944
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:255
1945
+ #@ woocommerce-germanized
1946
+ msgid "Customer Double Opt In"
1947
+ msgstr "Double Opt-In"
1948
+
1949
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:256
1950
+ #@ woocommerce-germanized
1951
+ msgid "Enable customer double opt in on registration?"
1952
+ msgstr "Double Opt-In Verfahren für Kundenkonten aktivieren?"
1953
+
1954
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:257
1955
+ #, php-format
1956
+ #@ woocommerce-germanized
1957
+ msgid "If customer chooses to create a customer account an email with an activation link will be sent by mail. Customer account will be marked as activated if user clicks on the link within the email. More information on this topic can be found <a href=\"%s\" target=\"_blank\">here</a>."
1958
+ msgstr "Wenn ein Kunde sich dazu entscheidet ein Benutzerkonto zu erstellen, erhält dieser eine E-Mail mit einem Bestätigungslink. Insofern der Kunde diesen Bestätigungslink anklickt, wird das Konto als bestätigt markiert. Dieses Verfahren ist laut Amtsgericht Berlin Pankow/Weißensee notwendig. Mehr Informationen findest du <a href=\\\"%s\\\" target=\\\"_blank\\\">hier</a>."
1959
+
1960
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:264
1961
+ #@ woocommerce-germanized
1962
+ msgid "Delete Unactivated After"
1963
+ msgstr "Unaktivierte löschen nach"
1964
+
1965
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:265
1966
+ #@ woocommerce-germanized
1967
+ msgid "This will make sure unactivated customer accounts will be deleted after X days. Set to 0 if you don't want to automatically delete unactivated customers."
1968
+ msgstr "Diese Option sorgt dafür, dass unaktivierte Kundenkonten nach X Tagen automatisch gelöscht werden. Falls du die Löschung verhindern möchtest, setze den Wert auf 0."
1969
+
1970
+ #: includes/emails/class-wc-gzd-email-customer-new-account-activation.php:38
1971
+ #@ woocommerce-germanized
1972
+ msgid "New account activation"
1973
+ msgstr "Kundenkonto Aktivierung"
1974
+
1975
+ #: includes/emails/class-wc-gzd-email-customer-new-account-activation.php:39
1976
+ #@ woocommerce-germanized
1977
+ msgid "Customer \"new account activation\" emails are sent to the customer when a customer signs up via checkout or account pages. This mail is being used as double opt in for new customer accounts."
1978
+ msgstr "Die E-Mail \"Aktivierung des Benutzerkontos\" wird versendet, wenn ein Kunde sich dazu entscheidet ein Kundenkonto zu eröffnen. Es wird automatisch ein Bestätigungslink generiert."
1979
+
1980
+ #: includes/emails/class-wc-gzd-email-customer-new-account-activation.php:44
1981
+ #@ woocommerce-germanized
1982
+ msgid "Activate your account on {site_title}"
1983
+ msgstr "Aktivieren Sie Ihr Benutzerkonto auf {site_title}"
1984
+
1985
+ #: includes/emails/class-wc-gzd-email-customer-new-account-activation.php:45
1986
+ #@ woocommerce-germanized
1987
+ msgid "Account activation {site_title}"
1988
+ msgstr "Ihr Konto bei {site_title}"
1989
+
1990
+ #: templates/emails/customer-new-account-activation.php:18
1991
+ #, php-format
1992
+ #@ woocommerce-germanized
1993
+ msgid "Thanks for creating an account on %s. Your username is <strong>%s</strong>. Please follow the activation link to activate your account:"
1994
+ msgstr "Es wurde für Sie ein Benutzerkonto bei %s angelegt. Ihr Benutzername lautet <strong>%s</strong>. Bitte folgen Sie dem Link, um Ihr Benutzerkonto zu bestätigen:"
1995
+
1996
+ #: templates/emails/customer-new-account-activation.php:20
1997
+ #@ woocommerce-germanized
1998
+ msgid "Activate your account"
1999
+ msgstr "Benutzerkonto aktivieren"
2000
+
2001
+ #: templates/emails/customer-new-account-activation.php:24
2002
+ #, php-format
2003
+ #@ woocommerce
2004
+ msgid "Your password has been automatically generated: <strong>%s</strong>"
2005
+ msgstr ""
2006
+
2007
+ #: templates/emails/customer-new-account-activation.php:28
2008
+ #, php-format
2009
+ #@ woocommerce-germanized
2010
+ msgid "If you haven't created an account on %s please ignore this email."
2011
+ msgstr "Wenn Sie bei %s kein Benutzerkonto eröffnet haben, ignorieren Sie diese E-Mail bitte."
2012
+
2013
+ #: templates/emails/customer-new-account-activation.php:30
2014
+ #, php-format
2015
+ #@ woocommerce-germanized
2016
+ msgid "If you cannot follow the link above please copy this url and paste it to your browser bar: %s"
2017
+ msgstr "Falls Sie dem Link nicht folgen können, kopieren Sie bitte folgende URL in die Adresszeile Ihres Browsers: %s"
2018
+
2019
+ #. translators: plugin header field 'Version'
2020
+ #: woocommerce-germanized.php:0
2021
+ #@ woocommerce-germanized
2022
+ msgid "1.2.1"
2023
+ msgstr "1.2.1"
2024
+
2025
+ #: woocommerce-germanized.php:725
2026
+ #@ woocommerce-germanized
2027
+ msgid "Thank you. You have successfully activated your account."
2028
+ msgstr "Vielen Dank. Ihr Benutzerkonto wurde erfolgreich aktiviert."
2029
+
2030
+ #: woocommerce-germanized.php:729
2031
+ #@ woocommerce-germanized
2032
+ msgid "Sorry, but this activation code cannot be found."
2033
+ msgstr "Sorry, dieser Aktivierungscode ist uns leider nicht bekannt."
2034
+
2035
+ #: includes/admin/settings/class-wc-gzd-settings-germanized.php:266
2036
+ #@ woocommerce-germanized
2037
+ msgid "days"
2038
+ msgstr "Tagen"
2039
+
includes/admin/class-wc-gzd-admin-customer.php ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Add extra profile fields for users in admin.
4
+ *
5
+ * @author WooThemes
6
+ * @category Admin
7
+ * @package WooCommerce/Admin
8
+ * @version 2.1.0
9
+ */
10
+
11
+ if ( ! defined( 'ABSPATH' ) )
12
+ exit; // Exit if accessed directly
13
+
14
+ class WC_GZD_Admin_Customer {
15
+
16
+ protected static $_instance = null;
17
+
18
+ public static function instance() {
19
+ if ( is_null( self::$_instance ) )
20
+ self::$_instance = new self();
21
+ return self::$_instance;
22
+ }
23
+
24
+ public function __construct() {
25
+ // Admin profile
26
+ add_action( 'show_user_profile', array( $this, 'profile_add_activation_field' ) );
27
+ add_action( 'edit_user_profile', array( $this, 'profile_add_activation_field' ) );
28
+ add_action( 'personal_options_update', array( $this, 'profile_save_activation_field' ) );
29
+ add_action( 'edit_user_profile_update', array( $this, 'profile_save_activation_field' ) );
30
+ }
31
+
32
+ /**
33
+ * Adds customer activation option to profile
34
+ *
35
+ * @param object $user
36
+ */
37
+ public function profile_add_activation_field( $user ) {
38
+ if ( ! current_user_can( 'manage_woocommerce' ) || ! in_array( 'customer', $user->roles ) || get_option( 'woocommerce_gzd_customer_activation' ) != 'yes' )
39
+ return;
40
+
41
+ if ( current_user_can( 'edit_user', $user->ID ) ) {
42
+ ?>
43
+ <table class="form-table">
44
+ <tbody>
45
+ <tr>
46
+ <th><label for="woocommerce_activation"><?php _e( 'Double opt in', 'woocommerce-germanized' ); ?></label></th>
47
+ <td>
48
+ <label for="woocommerce_activation">
49
+ <input name="_woocommerce_activation" type="checkbox" id="_woocommerce_activation" value="1" <?php checked( wc_gzd_is_customer_activated( $user->ID ), 1 ); ?> />
50
+ <?php _e( 'Yes, customer opted in', 'woocommerce-germanized' ); ?>
51
+ </label>
52
+ </td>
53
+ </tr>
54
+ </tbody>
55
+ </table>
56
+ <?php
57
+ }
58
+ }
59
+
60
+ /**
61
+ * Delete activation key if user has been marked as opted in
62
+ *
63
+ * @param int $user_id
64
+ */
65
+ public function profile_save_activation_field( $user_id ) {
66
+ if ( current_user_can( 'edit_user', $user_id ) ) {
67
+ $user = get_userdata( $user_id );
68
+ if ( isset( $_POST[ '_woocommerce_activation' ] ) )
69
+ delete_user_meta( $user_id, '_woocommerce_activation' );
70
+ }
71
+ }
72
+
73
+ /**
74
+ * Check for customer that didn't activate their accounts within a couple of time and delete them
75
+ */
76
+ public function account_cleanup() {
77
+ if ( ! get_option( 'woocommerce_gzd_customer_cleanup_interval' ) || get_option( 'woocommerce_gzd_customer_cleanup_interval' ) == 0 )
78
+ return;
79
+
80
+ $user_query = new WP_User_Query(
81
+ array( 'role' => 'Customer', 'meta_query' =>
82
+ array(
83
+ array(
84
+ 'key' => '_woocommerce_activation',
85
+ 'compare' => 'EXISTS',
86
+ ),
87
+ ),
88
+ )
89
+ );
90
+ if ( ! empty( $user_query->results ) ) {
91
+ foreach ( $user_query->results as $user ) {
92
+ // Check date interval
93
+ $registered = $user->data->user_registered;
94
+ $date_diff = WC_germanized()->get_date_diff( $registered, date( 'Y-m-d' ) );
95
+ if ( $date_diff[ 'd' ] >= (int) get_option( 'woocommerce_gzd_customer_cleanup_interval' ) ) {
96
+ require_once( ABSPATH . 'wp-admin/includes/user.php' );
97
+ wp_delete_user( $user->ID );
98
+ }
99
+ }
100
+ }
101
+ }
102
+
103
+ }
104
+
105
+ WC_GZD_Admin_Customer::instance();
includes/admin/class-wc-gzd-admin-welcome.php CHANGED
@@ -117,8 +117,13 @@ class WC_GZD_Admin_Welcome {
117
  <p class="woocommerce-actions wc-gzd-actions">
118
  <a href="<?php echo admin_url('admin.php?page=wc-settings&tab=germanized'); ?>" class="button button-primary">Einstellungen</a>
119
  <a class="vendidero button button-primary" href="<?php echo esc_url( 'http://vendidero.de/support', 'woocommerce-germanized' ); ?>">Hilfe & Support</a>
120
- <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://vendidero.de/woocommerce-germanized" data-text="WooCommerce Germanized passt deinen Online-Shop an deutsche Rechtsgrundlagen an. Wir helfen Dir Abmahnungen zu verhindern. Kostenlos!" data-via="Vendidero" data-size="large" data-hashtags="WooCommerce Germanized">Tweet</a>
121
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
 
 
 
 
 
122
  </p>
123
  <div class="changelog vendipro">
124
  <h3>VendiPro - Das WooCommerce Theme für den deutschen Markt</h3>
@@ -155,6 +160,13 @@ class WC_GZD_Admin_Welcome {
155
  <div class="changelog">
156
  <h3>Neu in WooCommerce Germanized 1.2</h3>
157
  <div class="wc-feature feature-section col three-col" style="margin-bottom: -30px">
 
 
 
 
 
 
 
158
  <div>
159
  <h4><i class="fa fa-truck"></i> Steuern für Versandkosten</h4>
160
  <p>
@@ -163,20 +175,13 @@ class WC_GZD_Admin_Welcome {
163
  für Versandkosten und Gebühren basierend auf den MwSt.-Anteilen im Warenkorb. Hier findest du mehr <a href="http://www.it-recht-kanzlei.de/umsatzsteuer-versandkosten-mehrwertsteuer.html" target="_blank">Informationen</a>.
164
  </p>
165
  </div>
166
- <div>
167
  <h4><i class="fa fa-hand-o-up"></i> WC 2.3 - Kompatibilität</h4>
168
  <p>
169
  Mit dieser Version unterstützt WC Germanized auch die neueste WooCommerce Version (2.3), die in Kürze erscheint.
170
  WC Germanized bleibt aber vorerst auch rückwärtskompatibel und unterstützt weiterhin 2.2.
171
  </p>
172
  </div>
173
- <div class="last-feature">
174
- <h4><i class="fa fa-check"></i> Plugin Kompatibilität</h4>
175
- <p>
176
- Mit dieser Version unterstützen wir noch besser Plugins von Drittanbietern. Templates von WooCommerce Germanized
177
- können nun in einem Theme-Ordner überschrieben werden (mein-theme/woocommerce-germanized).
178
- </p>
179
- </div>
180
  </div>
181
  </div>
182
  <div class="changelog">
117
  <p class="woocommerce-actions wc-gzd-actions">
118
  <a href="<?php echo admin_url('admin.php?page=wc-settings&tab=germanized'); ?>" class="button button-primary">Einstellungen</a>
119
  <a class="vendidero button button-primary" href="<?php echo esc_url( 'http://vendidero.de/support', 'woocommerce-germanized' ); ?>">Hilfe & Support</a>
120
+ <span class="wc-gzd-twitter">
121
+ <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://vendidero.de/woocommerce-germanized" data-text="WooCommerce Germanized passt deinen Online-Shop an deutsche Rechtsgrundlagen an. Wir helfen Dir Abmahnungen zu verhindern. Kostenlos!" data-via="Vendidero" data-size="large" data-hashtags="WooCommerce Germanized">Tweet</a>
122
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
123
+ </span>
124
+ <span class="wc-gzd-fb">
125
+ <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fvendidero.de%2Fwoocommerce-germanized&amp;width&amp;layout=button&amp;action=recommend&amp;show_faces=false&amp;share=false&amp;height=20" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:20px;" allowTransparency="true"></iframe>
126
+ </span>
127
  </p>
128
  <div class="changelog vendipro">
129
  <h3>VendiPro - Das WooCommerce Theme für den deutschen Markt</h3>
160
  <div class="changelog">
161
  <h3>Neu in WooCommerce Germanized 1.2</h3>
162
  <div class="wc-feature feature-section col three-col" style="margin-bottom: -30px">
163
+ <div>
164
+ <h4><i class="fa fa-envelope"></i> Double Opt-In</h4>
165
+ <p>
166
+ Von nun an kannst du optional das Double Opt-In Verfahren für Benutzerkonten aktivieren.
167
+ Dazu gab es vor kurzem ein Urteil des Amtsgericht Berlin Pankow/Weißensee. Mehr dazu <a href="http://t3n.de/news/urteil-anmeldebestatigungen-double-opt-in-pflicht-592304/" target="_blank">hier</a>.
168
+ </p>
169
+ </div>
170
  <div>
171
  <h4><i class="fa fa-truck"></i> Steuern für Versandkosten</h4>
172
  <p>
175
  für Versandkosten und Gebühren basierend auf den MwSt.-Anteilen im Warenkorb. Hier findest du mehr <a href="http://www.it-recht-kanzlei.de/umsatzsteuer-versandkosten-mehrwertsteuer.html" target="_blank">Informationen</a>.
176
  </p>
177
  </div>
178
+ <div class="last-feature">
179
  <h4><i class="fa fa-hand-o-up"></i> WC 2.3 - Kompatibilität</h4>
180
  <p>
181
  Mit dieser Version unterstützt WC Germanized auch die neueste WooCommerce Version (2.3), die in Kürze erscheint.
182
  WC Germanized bleibt aber vorerst auch rückwärtskompatibel und unterstützt weiterhin 2.2.
183
  </p>
184
  </div>
 
 
 
 
 
 
 
185
  </div>
186
  </div>
187
  <div class="changelog">
includes/admin/settings/class-wc-gzd-settings-germanized.php CHANGED
@@ -249,6 +249,29 @@ class WC_GZD_Settings_Germanized extends WC_Settings_Page {
249
 
250
  array( 'type' => 'sectionend', 'id' => 'fees_options' ),
251
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
252
  array( 'title' => __( 'Unit Price', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'unit_price_options' ),
253
 
254
  array(
249
 
250
  array( 'type' => 'sectionend', 'id' => 'fees_options' ),
251
 
252
+ array( 'title' => __( 'Customers', 'woocommerce-germanized' ), 'type' => 'title', 'desc' => '', 'id' => 'customer_options' ),
253
+
254
+ array(
255
+ 'title' => __( 'Customer Double Opt In', 'woocommerce-germanized' ),
256
+ 'desc' => __( 'Enable customer double opt in on registration?', 'woocommerce-germanized' ),
257
+ 'desc_tip' => sprintf( __( 'If customer chooses to create a customer account an email with an activation link will be sent by mail. Customer account will be marked as activated if user clicks on the link within the email. More information on this topic can be found <a href="%s" target="_blank">here</a>.', 'woocommerce-germanized' ), 'http://t3n.de/news/urteil-anmeldebestatigungen-double-opt-in-pflicht-592304/' ),
258
+ 'id' => 'woocommerce_gzd_customer_activation',
259
+ 'default' => 'yes',
260
+ 'type' => 'checkbox',
261
+ ),
262
+
263
+ array(
264
+ 'title' => __( 'Delete Unactivated After', 'woocommerce-germanized' ),
265
+ 'desc_tip' => __( 'This will make sure unactivated customer accounts will be deleted after X days. Set to 0 if you don\'t want to automatically delete unactivated customers.', 'woocommerce-germanized' ),
266
+ 'desc' => __( 'days', 'woocommerce-germanized' ),
267
+ 'id' => 'woocommerce_gzd_customer_cleanup_interval',
268
+ 'type' => 'number',
269
+ 'custom_attributes' => array( 'min' => 0, 'step' => 1 ),
270
+ 'default' => 7,
271
+ ),
272
+
273
+ array( 'type' => 'sectionend', 'id' => 'customer_options' ),
274
+
275
  array( 'title' => __( 'Unit Price', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'unit_price_options' ),
276
 
277
  array(
includes/class-wc-gzd-ekomi.php CHANGED
@@ -362,6 +362,7 @@ class WC_GZD_Ekomi {
362
  'desc_tip' => true,
363
  'id' => 'woocommerce_gzd_ekomi_day_diff',
364
  'type' => 'number',
 
365
  'default' => 7,
366
  ),
367
 
362
  'desc_tip' => true,
363
  'id' => 'woocommerce_gzd_ekomi_day_diff',
364
  'type' => 'number',
365
+ 'custom_attributes' => array( 'min' => 0, 'step' => 1 ),
366
  'default' => 7,
367
  ),
368
 
includes/class-wc-gzd-emails.php CHANGED
@@ -26,6 +26,12 @@ class WC_GZD_Emails {
26
  'woocommerce_gzd_mail_attach_imprint' => woocommerce_get_page_id ( 'imprint' ),
27
  );
28
 
 
 
 
 
 
 
29
  // Hook before WooCommerce Footer is applied
30
  remove_action( 'woocommerce_email_footer', array( WC()->mailer(), 'email_footer' ) );
31
  add_action( 'woocommerce_email_footer', array( $this, 'add_template_footers' ), 0 );
@@ -42,6 +48,32 @@ class WC_GZD_Emails {
42
  }
43
  }
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  /**
46
  * Adds product description to order item if available
47
  *
26
  'woocommerce_gzd_mail_attach_imprint' => woocommerce_get_page_id ( 'imprint' ),
27
  );
28
 
29
+ // Add new customer activation
30
+ if ( get_option( 'woocommerce_gzd_customer_activation' ) == 'yes' ) {
31
+ remove_action( 'woocommerce_created_customer_notification', array( WC()->mailer(), 'customer_new_account' ), 10 );
32
+ add_action( 'woocommerce_created_customer_notification', array( $this, 'customer_new_account_activation' ), 9, 3 );
33
+ }
34
+
35
  // Hook before WooCommerce Footer is applied
36
  remove_action( 'woocommerce_email_footer', array( WC()->mailer(), 'email_footer' ) );
37
  add_action( 'woocommerce_email_footer', array( $this, 'add_template_footers' ), 0 );
48
  }
49
  }
50
 
51
+ /**
52
+ * Customer new account activation email.
53
+ *
54
+ * @param int $customer_id
55
+ * @param array $new_customer_data
56
+ */
57
+ public function customer_new_account_activation( $customer_id, $new_customer_data = array(), $password_generated = false ) {
58
+ global $wp_hasher;
59
+
60
+ if ( ! $customer_id )
61
+ return;
62
+
63
+ $user_pass = ! empty( $new_customer_data['user_pass'] ) ? $new_customer_data['user_pass'] : '';
64
+
65
+ if ( empty( $wp_hasher ) ) {
66
+ require_once ABSPATH . WPINC . '/class-phpass.php';
67
+ $wp_hasher = new PasswordHash( 8, true );
68
+ }
69
+ $user_activation = $wp_hasher->HashPassword( wp_generate_password( 20 ) );
70
+ $user_activation_url = apply_filters( 'woocommerce_gzd_customer_activation_url', add_query_arg( 'activate', $user_activation, get_permalink( wc_get_page_id( 'myaccount' ) ) ) );
71
+ add_user_meta( $customer_id, '_woocommerce_activation', $user_activation );
72
+
73
+ $email = WC()->mailer()->emails['WC_GZD_Email_Customer_New_Account_Activation'];
74
+ $email->trigger( $customer_id, $user_activation, $user_activation_url, $user_pass, $password_generated );
75
+ }
76
+
77
  /**
78
  * Adds product description to order item if available
79
  *
includes/class-wc-gzd-install.php CHANGED
@@ -168,6 +168,9 @@ class WC_GZD_Install {
168
  */
169
  private function create_cron_jobs() {
170
  // Cron jobs
 
 
 
171
  wp_clear_scheduled_hook( 'woocommerce_gzd_trusted_shops_reviews' );
172
  wp_schedule_event( time(), 'twicedaily', 'woocommerce_gzd_trusted_shops_reviews' );
173
 
168
  */
169
  private function create_cron_jobs() {
170
  // Cron jobs
171
+ wp_clear_scheduled_hook( 'woocommerce_gzd_customer_cleanup' );
172
+ wp_schedule_event( time(), 'daily', 'woocommerce_gzd_customer_cleanup' );
173
+
174
  wp_clear_scheduled_hook( 'woocommerce_gzd_trusted_shops_reviews' );
175
  wp_schedule_event( time(), 'twicedaily', 'woocommerce_gzd_trusted_shops_reviews' );
176
 
includes/class-wc-gzd-trusted-shops.php CHANGED
@@ -413,6 +413,7 @@ class WC_GZD_Trusted_Shops {
413
  'default' => 7,
414
  'id' => 'woocommerce_gzd_trusted_review_reminder_days',
415
  'type' => 'number',
 
416
  ),
417
 
418
  array( 'type' => 'sectionend', 'id' => 'trusted_shops_reviews_options' ),
413
  'default' => 7,
414
  'id' => 'woocommerce_gzd_trusted_review_reminder_days',
415
  'type' => 'number',
416
+ 'custom_attributes' => array( 'min' => 0, 'step' => 1 ),
417
  ),
418
 
419
  array( 'type' => 'sectionend', 'id' => 'trusted_shops_reviews_options' ),
includes/emails/class-wc-gzd-email-customer-new-account-activation.php ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit; // Exit if accessed directly
5
+ }
6
+
7
+ if ( ! class_exists( 'WC_GZD_Email_Customer_New_Account_Activation' ) ) :
8
+
9
+ /**
10
+ * Customer New Account
11
+ *
12
+ * An email sent to the customer when they create an account.
13
+ *
14
+ * @class WC_Email_Customer_New_Account
15
+ * @version 2.3.0
16
+ * @package WooCommerce/Classes/Emails
17
+ * @author WooThemes
18
+ * @extends WC_Email
19
+ */
20
+ class WC_GZD_Email_Customer_New_Account_Activation extends WC_Email {
21
+
22
+ public $user_login;
23
+ public $user_email;
24
+ public $user_activation;
25
+ public $user_activation_url;
26
+ public $user_pass;
27
+ public $password_generated;
28
+
29
+ /**
30
+ * Constructor
31
+ *
32
+ * @access public
33
+ * @return void
34
+ */
35
+ function __construct() {
36
+
37
+ $this->id = 'customer_new_account_activation';
38
+ $this->title = __( 'New account activation', 'woocommerce-germanized' );
39
+ $this->description = __( 'Customer "new account activation" emails are sent to the customer when a customer signs up via checkout or account pages. This mail is being used as double opt in for new customer accounts.', 'woocommerce-germanized' );
40
+
41
+ $this->template_html = 'emails/customer-new-account-activation.php';
42
+ //$this->template_plain = 'emails/plain/customer-new-account-activation.php';
43
+
44
+ $this->subject = __( 'Activate your account on {site_title}', 'woocommerce-germanized');
45
+ $this->heading = __( 'Account activation {site_title}', 'woocommerce-germanized');
46
+
47
+ // Call parent constuctor
48
+ parent::__construct();
49
+ }
50
+
51
+ /**
52
+ * trigger function.
53
+ *
54
+ * @access public
55
+ * @return void
56
+ */
57
+ function trigger( $user_id, $user_activation, $user_activation_url, $user_pass = '', $password_generated = false ) {
58
+
59
+ if ( $user_id ) {
60
+ $this->object = new WP_User( $user_id );
61
+
62
+ $this->user_pass = $user_pass;
63
+ $this->user_activation = $user_activation;
64
+ $this->user_activation_url = $user_activation_url;
65
+ $this->user_login = stripslashes( $this->object->user_login );
66
+ $this->user_email = stripslashes( $this->object->user_email );
67
+ $this->recipient = $this->user_email;
68
+ $this->password_generated = $password_generated;
69
+ }
70
+
71
+ if ( ! $this->is_enabled() || ! $this->get_recipient() )
72
+ return;
73
+
74
+ $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
75
+ }
76
+
77
+ /**
78
+ * get_content_html function.
79
+ *
80
+ * @access public
81
+ * @return string
82
+ */
83
+ function get_content_html() {
84
+ ob_start();
85
+ wc_get_template( $this->template_html, array(
86
+ 'email_heading' => $this->get_heading(),
87
+ 'user_login' => $this->user_login,
88
+ 'user_activation' => $this->user_activation,
89
+ 'user_activation_url' => $this->user_activation_url,
90
+ 'user_pass' => $this->user_pass,
91
+ 'password_generated' => $this->password_generated,
92
+ 'blogname' => $this->get_blogname(),
93
+ 'sent_to_admin' => false,
94
+ 'plain_text' => false
95
+ ) );
96
+ return ob_get_clean();
97
+ }
98
+
99
+ /**
100
+ * get_content_plain function.
101
+ *
102
+ * @access public
103
+ * @return string
104
+ */
105
+ function get_content_plain() {
106
+ ob_start();
107
+ wc_get_template( $this->template_plain, array(
108
+ 'email_heading' => $this->get_heading(),
109
+ 'user_login' => $this->user_login,
110
+ 'user_activation' => $this->user_activation,
111
+ 'user_activation_url' => $this->user_activation_url,
112
+ 'user_pass' => $this->user_pass,
113
+ 'password_generated' => $this->password_generated,
114
+ 'blogname' => $this->get_blogname(),
115
+ 'sent_to_admin' => false,
116
+ 'plain_text' => true
117
+ ) );
118
+ return ob_get_clean();
119
+ }
120
+ }
121
+
122
+ endif;
123
+
124
+ return new WC_GZD_Email_Customer_New_Account_Activation();
includes/wc-gzd-core-functions.php CHANGED
@@ -19,4 +19,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
19
  */
20
  function wc_gzd_format_tax_rate_percentage( $rate, $percent = false ) {
21
  return str_replace( '.', ',', wc_format_decimal( str_replace( '%', '', $rate ), true, true ) ) . ( $percent ? '%' : '' );
 
 
 
 
22
  }
19
  */
20
  function wc_gzd_format_tax_rate_percentage( $rate, $percent = false ) {
21
  return str_replace( '.', ',', wc_format_decimal( str_replace( '%', '', $rate ), true, true ) ) . ( $percent ? '%' : '' );
22
+ }
23
+
24
+ function wc_gzd_is_customer_activated( $user_id ) {
25
+ return ( get_user_meta( $user_id, '_woocommerce_activation' ) ? false : true );
26
  }
includes/wc-gzd-template-functions.php CHANGED
@@ -282,6 +282,9 @@ if ( ! function_exists( 'woocommerce_gzd_add_variation_options' ) ) {
282
 
283
  if ( ! function_exists( 'woocommerce_gzd_template_order_success_text' ) ) {
284
 
 
 
 
285
  function woocommerce_gzd_template_order_success_text( $text ) {
286
  return ( get_option( 'woocommerce_gzd_order_success_text' ) ? get_option( 'woocommerce_gzd_order_success_text' ) : $text );
287
  }
@@ -290,6 +293,9 @@ if ( ! function_exists( 'woocommerce_gzd_template_order_success_text' ) ) {
290
 
291
  if ( ! function_exists( 'woocommerce_gzd_template_loop_add_to_cart' ) ) {
292
 
 
 
 
293
  function woocommerce_gzd_template_loop_add_to_cart( $text, $product ) {
294
  return sprintf(
295
  '<a href="%s" class="button">%s</a>',
@@ -302,6 +308,9 @@ if ( ! function_exists( 'woocommerce_gzd_template_loop_add_to_cart' ) ) {
302
 
303
  if ( ! function_exists( 'woocommerce_gzd_template_order_submit' ) ) {
304
 
 
 
 
305
  function woocommerce_gzd_template_order_submit() {
306
  wc_get_template( 'checkout/order-submit.php', array(
307
  'checkout' => WC()->checkout(),
@@ -313,10 +322,46 @@ if ( ! function_exists( 'woocommerce_gzd_template_order_submit' ) ) {
313
 
314
  if ( ! function_exists( 'woocommerce_gzd_template_checkout_review_title' ) ) {
315
 
 
 
 
316
  function woocommerce_gzd_template_checkout_review_title() { ?>
317
  <h3 id="wc_gzd_order_review_heading"><?php _e( 'Your order', 'woocommerce' ); ?></h3>
318
  <?php }
319
 
320
  }
321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  ?>
282
 
283
  if ( ! function_exists( 'woocommerce_gzd_template_order_success_text' ) ) {
284
 
285
+ /**
286
+ * Manipulate order success text
287
+ */
288
  function woocommerce_gzd_template_order_success_text( $text ) {
289
  return ( get_option( 'woocommerce_gzd_order_success_text' ) ? get_option( 'woocommerce_gzd_order_success_text' ) : $text );
290
  }
293
 
294
  if ( ! function_exists( 'woocommerce_gzd_template_loop_add_to_cart' ) ) {
295
 
296
+ /**
297
+ * Custom add to cart button
298
+ */
299
  function woocommerce_gzd_template_loop_add_to_cart( $text, $product ) {
300
  return sprintf(
301
  '<a href="%s" class="button">%s</a>',
308
 
309
  if ( ! function_exists( 'woocommerce_gzd_template_order_submit' ) ) {
310
 
311
+ /**
312
+ * Adds custom order submit template (at the end of checkout)
313
+ */
314
  function woocommerce_gzd_template_order_submit() {
315
  wc_get_template( 'checkout/order-submit.php', array(
316
  'checkout' => WC()->checkout(),
322
 
323
  if ( ! function_exists( 'woocommerce_gzd_template_checkout_review_title' ) ) {
324
 
325
+ /**
326
+ * Add order review heading
327
+ */
328
  function woocommerce_gzd_template_checkout_review_title() { ?>
329
  <h3 id="wc_gzd_order_review_heading"><?php _e( 'Your order', 'woocommerce' ); ?></h3>
330
  <?php }
331
 
332
  }
333
 
334
+ if ( ! function_exists( 'woocommerce_gzd_template_set_order_button_remove_filter' ) ) {
335
+
336
+ /**
337
+ * Temporarily add a filter which removes order button html (that's how we get the order button at the end of checkout since WC 2.3)
338
+ */
339
+ function woocommerce_gzd_template_set_order_button_remove_filter() {
340
+ add_filter( 'woocommerce_order_button_html', 'woocommerce_gzd_template_button_temporary_hide', PHP_INT_MAX );
341
+ }
342
+
343
+ }
344
+
345
+ if ( ! function_exists( 'woocommerce_gzd_template_button_temporary_hide' ) ) {
346
+
347
+ /**
348
+ * Filter which temporarily sets order button html to false (stop displaying)
349
+ */
350
+ function woocommerce_gzd_template_button_temporary_hide( $text ) {
351
+ return false;
352
+ }
353
+
354
+ }
355
+
356
+ if ( ! function_exists( 'woocommerce_gzd_template_set_order_button_show_filter' ) ) {
357
+
358
+ /**
359
+ * Remove the order button html filter after payment.php has been parsed
360
+ */
361
+ function woocommerce_gzd_template_set_order_button_show_filter() {
362
+ remove_filter( 'woocommerce_order_button_html', 'woocommerce_gzd_template_button_temporary_hide', PHP_INT_MAX );
363
+ }
364
+
365
+ }
366
+
367
  ?>
includes/wc-gzd-template-hooks.php CHANGED
@@ -58,6 +58,10 @@ if ( version_compare( WC()->version, '2.3', '>=' ) ) {
58
  add_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_template_checkout_review_title', 1 );
59
  add_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_template_checkout_legal', 2 );
60
  add_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_template_checkout_set_terms_manually', 3 );
 
 
 
 
61
  if ( get_option( 'woocommerce_gzd_checkout_legal_digital_checkbox' ) == 'yes' )
62
  add_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_digital_checkbox', 4 );
63
  } else {
58
  add_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_template_checkout_review_title', 1 );
59
  add_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_template_checkout_legal', 2 );
60
  add_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_template_checkout_set_terms_manually', 3 );
61
+ // Temporarily remove order button from payment.php - then add again to show after product table
62
+ add_action( 'woocommerce_review_order_before_submit', 'woocommerce_gzd_template_set_order_button_remove_filter', PHP_INT_MAX );
63
+ add_action( 'woocommerce_review_order_after_submit', 'woocommerce_gzd_template_set_order_button_show_filter', PHP_INT_MAX );
64
+ add_action( 'woocommerce_gzd_review_order_before_submit', 'woocommerce_gzd_template_set_order_button_show_filter', PHP_INT_MAX );
65
  if ( get_option( 'woocommerce_gzd_checkout_legal_digital_checkbox' ) == 'yes' )
66
  add_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_digital_checkbox', 4 );
67
  } else {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: woocommerce, german market, german, germany, deutsch, deutschland, de, de_
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=info@vendidero.de&item_name=Donation+for+WooCommerce+Germanized
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
- Stable tag: 1.2.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -29,33 +29,37 @@ Zudem haben wir einige Anpassungen am Bezahlvorgang vorgenommen, damit dieser de
29
  Mit der neuesten Version unterstützt WC Germanized von nun an die in Kürze erscheinende Version 2.3 von WooCommerce. Vorerst ist WC Germanized weiterhin rückwärtskompatibel und unterstützt zusätzlich die alte Version (2.2).
30
 
31
  = Trusted Shops vorzertifiziert =
32
- WooCommerce Germanized wurde von Trusted Shops vorzertifiziert und bietet damit die optimalen technischen Voraussetzungen für einen rechtssicheren Online-Shop mit WooCommerce in Deutschland.
33
- Trusted Shops zertifiziert Online-Shops nach sorgfältig ausgewählten Qualitätskriterien und hat WooCommerce Germanized genau unter die Lupe genommen.
34
- Selbstverständlich können Trusted Shops Kunden mit nur wenigen Einstellungen das Gütesiegel und die Trusted Shops Produkte mit WooCommerce Germanized nutzen.
35
 
36
  = Sauber implementiert =
37
- Bei der Entwicklung von WooCommerce Germanized haben wir besonderes Augenmerk auf die nahtlose Integration in WooCommerce gelegt.
38
  Die meisten Änderungen erfolgen über Hooks & Filter - nur im äußersten Notfall wird ein Template direkt überschrieben.
39
 
40
  = Steuern für Versandkosten und Gebühren =
41
  WC Germanized unterstützt mit der aktuellen Version die komplizierte Besteuerung von Versandkosten bei "gemischten" Warenkörben (d.h. es befinden sich unterschiedliche MwSt.-Sätze im Warenkorb).
42
  In diesem Fall muss die Mehrwertsteuer der Versandkosten anteilig (basierend auf den Anteil der jeweiligen MwSt.-Rate an der Gesamtbestellung), basierend auf den unterschiedlichen MwSt.-Raten berechnet werden.
43
 
 
 
 
 
44
  = Neue Umsatzsteuer-Regelung 2015 für virtuelle Produkte =
45
- Mit der neuesten Version unterstützt WooCommerce Germanized die neuen Umsatzsteuer-Regelungen (B2C-Geschäfte, gültig ab 01.01.2015) zum Verkauf von virtuellen Produkten in die Europäische Union.
46
  Dabei wird bei virtuellen Produkten der Brutto-Preis beibehalten und lediglich der Netto-Preis, je nach Herkunftsland des Dienstleistungsempfängers, angepasst.
47
  Insofern du von den Regelungen betroffen sein solltest, empfehlen wir dir unbedingt mit deinem Steuerberater Rücksprache zu halten.
48
 
49
  = eKomi Integration =
50
- Mit nur wenigen Klicks lässt sich eKomi als Bewertungsmanagement-Dienstleister in WooCommerce Germanized einstellen.
51
  Damit kann dein Online-Shop ganz einfach von den Vorteilen des externen Dienstleisters profitieren und unabhängige Kundenbewertungen veröffentlichen.
52
 
53
  = Premium Support =
54
- Kunden von VendiPro genießen einen kompetenten Ticket-Support zu Fragen rund um VendiPro und WooCommerce Germanized. Natürlich versuchen wir über das WordPress Support-Forum auch einen guten Support zu gewährleisten.
55
- Gerne übernehmen wir die von dir gewünschten Individualisierungen und Anpassungen an WordPress, WooCommerce und WooCommerce Germanized - und unterbreiten dir gerne ein [individuelles Angebot](http://vendidero.de/individualisierung) basierend auf deinen Vorstellungen.
56
 
57
  = About WooCommerce Germanized =
58
- WooCommerce Germanized extends WooCommerce to become a legally compliant Online-Shop for the german market. This does not replace legal advice - we do only offer technical implementations to meet german law.
59
  Overview of what WooCommerce Germanized offers:
60
 
61
  * small-enterprise regulation (§19 UStG)
@@ -130,6 +134,10 @@ Bugs sowie Hilfe bei der Arbeit an WooCommerce Germanized werden gerne über uns
130
 
131
  == Changelog ==
132
 
 
 
 
 
133
  = 1.2.1 =
134
  * Fix - Variations admin edit custom attributes (unit price etc.)
135
  * Fix - Fallback for non-wc-compliant Plugins to inject gzd_product
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=info@vendidero.de&item_name=Donation+for+WooCommerce+Germanized
5
  Requires at least: 3.8
6
  Tested up to: 4.1
7
+ Stable tag: 1.2.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
29
  Mit der neuesten Version unterstützt WC Germanized von nun an die in Kürze erscheinende Version 2.3 von WooCommerce. Vorerst ist WC Germanized weiterhin rückwärtskompatibel und unterstützt zusätzlich die alte Version (2.2).
30
 
31
  = Trusted Shops vorzertifiziert =
32
+ WC Germanized wurde von Trusted Shops vorzertifiziert und bietet damit die optimalen technischen Voraussetzungen für einen rechtssicheren Online-Shop mit WooCommerce in Deutschland.
33
+ Trusted Shops zertifiziert Online-Shops nach sorgfältig ausgewählten Qualitätskriterien und hat WC Germanized genau unter die Lupe genommen.
34
+ Selbstverständlich können Trusted Shops Kunden mit nur wenigen Einstellungen das Gütesiegel und die Trusted Shops Produkte mit WC Germanized nutzen.
35
 
36
  = Sauber implementiert =
37
+ Bei der Entwicklung von WC Germanized haben wir besonderes Augenmerk auf die nahtlose Integration in WooCommerce gelegt.
38
  Die meisten Änderungen erfolgen über Hooks & Filter - nur im äußersten Notfall wird ein Template direkt überschrieben.
39
 
40
  = Steuern für Versandkosten und Gebühren =
41
  WC Germanized unterstützt mit der aktuellen Version die komplizierte Besteuerung von Versandkosten bei "gemischten" Warenkörben (d.h. es befinden sich unterschiedliche MwSt.-Sätze im Warenkorb).
42
  In diesem Fall muss die Mehrwertsteuer der Versandkosten anteilig (basierend auf den Anteil der jeweiligen MwSt.-Rate an der Gesamtbestellung), basierend auf den unterschiedlichen MwSt.-Raten berechnet werden.
43
 
44
+ = Double Opt-In Verfahren für Benutzerkonten =
45
+ Ein Urteil des Amtsgerichts Berlin Pankow/Weißensee macht das Double Opt-In Verfahren für die Erstellung von Benutzerkonten in Online-Shops zur "Pflichtsache". In WC Germanized ist das kein Problem.
46
+ Nach Erstellung eines Kontos wird automatisch eine Bestätigungsmail mit Bestätigungslink an den Kunden versendet. Unaktivierte Konten können nach einem bestimmten Interval automatisch gelöscht werden.
47
+
48
  = Neue Umsatzsteuer-Regelung 2015 für virtuelle Produkte =
49
+ Mit der neuesten Version unterstützt WC Germanized die neuen Umsatzsteuer-Regelungen (B2C-Geschäfte, gültig ab 01.01.2015) zum Verkauf von virtuellen Produkten in die Europäische Union.
50
  Dabei wird bei virtuellen Produkten der Brutto-Preis beibehalten und lediglich der Netto-Preis, je nach Herkunftsland des Dienstleistungsempfängers, angepasst.
51
  Insofern du von den Regelungen betroffen sein solltest, empfehlen wir dir unbedingt mit deinem Steuerberater Rücksprache zu halten.
52
 
53
  = eKomi Integration =
54
+ Mit nur wenigen Klicks lässt sich eKomi als Bewertungsmanagement-Dienstleister in WC Germanized einstellen.
55
  Damit kann dein Online-Shop ganz einfach von den Vorteilen des externen Dienstleisters profitieren und unabhängige Kundenbewertungen veröffentlichen.
56
 
57
  = Premium Support =
58
+ Kunden von VendiPro genießen einen kompetenten Ticket-Support zu Fragen rund um VendiPro und WC Germanized. Natürlich versuchen wir über das WordPress Support-Forum auch einen guten Support zu gewährleisten.
59
+ Gerne übernehmen wir die von dir gewünschten Individualisierungen und Anpassungen an WordPress, WooCommerce und WC Germanized - und unterbreiten dir gerne ein [individuelles Angebot](http://vendidero.de/individualisierung) basierend auf deinen Vorstellungen.
60
 
61
  = About WooCommerce Germanized =
62
+ WC Germanized extends WooCommerce to become a legally compliant Online-Shop for the german market. This does not replace legal advice - we do only offer technical implementations to meet german law.
63
  Overview of what WooCommerce Germanized offers:
64
 
65
  * small-enterprise regulation (§19 UStG)
134
 
135
  == Changelog ==
136
 
137
+ = 1.2.2 =
138
+ * Feature - Double Opt-In for customer accounts
139
+ * Fix - No need to override payment.php any longer (WC 2.3)
140
+
141
  = 1.2.1 =
142
  * Fix - Variations admin edit custom attributes (unit price etc.)
143
  * Fix - Fallback for non-wc-compliant Plugins to inject gzd_product
templates/checkout/order-submit.php CHANGED
@@ -12,13 +12,14 @@ if ( ! defined( 'ABSPATH' ) ) {
12
  }
13
  ?>
14
  <div class="wc-gzd-order-submit">
15
- <div class="form-row place-order">
16
 
17
  <noscript><?php _e( 'Since your browser does not support JavaScript, or it is disabled, please ensure you click the <em>Update Totals</em> button before placing your order. You may be charged more than the amount stated above if you fail to do so.', 'woocommerce' ); ?><br/><input type="submit" class="button alt" name="woocommerce_checkout_update_totals" value="<?php _e( 'Update totals', 'woocommerce' ); ?>" /></noscript>
18
 
19
  <?php wp_nonce_field( 'woocommerce-process_checkout' ); ?>
20
 
21
  <?php do_action( 'woocommerce_review_order_before_submit' ); ?>
 
22
 
23
  <?php echo apply_filters( 'woocommerce_order_button_html', '<input type="submit" class="button alt" name="woocommerce_checkout_place_order" id="place_order" value="' . esc_attr( apply_filters( 'woocommerce_order_button_text', __( 'Place order', 'woocommerce' ) ) ) . '" data-value="' . esc_attr( apply_filters( 'woocommerce_order_button_text', __( 'Place order', 'woocommerce' ) ) ) . '" />' ); ?>
24
 
12
  }
13
  ?>
14
  <div class="wc-gzd-order-submit">
15
+ <div class="form-row place-order wc-gzd-place-order">
16
 
17
  <noscript><?php _e( 'Since your browser does not support JavaScript, or it is disabled, please ensure you click the <em>Update Totals</em> button before placing your order. You may be charged more than the amount stated above if you fail to do so.', 'woocommerce' ); ?><br/><input type="submit" class="button alt" name="woocommerce_checkout_update_totals" value="<?php _e( 'Update totals', 'woocommerce' ); ?>" /></noscript>
18
 
19
  <?php wp_nonce_field( 'woocommerce-process_checkout' ); ?>
20
 
21
  <?php do_action( 'woocommerce_review_order_before_submit' ); ?>
22
+ <?php do_action( 'woocommerce_gzd_review_order_before_submit' ); ?>
23
 
24
  <?php echo apply_filters( 'woocommerce_order_button_html', '<input type="submit" class="button alt" name="woocommerce_checkout_place_order" id="place_order" value="' . esc_attr( apply_filters( 'woocommerce_order_button_text', __( 'Place order', 'woocommerce' ) ) ) . '" data-value="' . esc_attr( apply_filters( 'woocommerce_order_button_text', __( 'Place order', 'woocommerce' ) ) ) . '" />' ); ?>
25
 
templates/checkout/payment.php DELETED
@@ -1,45 +0,0 @@
1
- <?php
2
- /**
3
- * Checkout Payment Section
4
- *
5
- * @author WooThemes
6
- * @package WooCommerce/Templates
7
- * @version 2.3.0
8
- */
9
-
10
- if ( ! defined( 'ABSPATH' ) ) {
11
- exit;
12
- }
13
- ?>
14
-
15
- <?php if ( ! is_ajax() ) : ?>
16
- <?php do_action( 'woocommerce_review_order_before_payment' ); ?>
17
- <?php endif; ?>
18
-
19
- <div id="payment" class="woocommerce-checkout-payment">
20
- <?php if ( WC()->cart->needs_payment() ) : ?>
21
- <ul class="payment_methods methods">
22
- <?php
23
- if ( ! empty( $available_gateways ) ) {
24
- foreach ( $available_gateways as $gateway ) {
25
- wc_get_template( 'checkout/payment-method.php', array( 'gateway' => $gateway ) );
26
- }
27
- } else {
28
- if ( ! WC()->customer->get_country() ) {
29
- $no_gateways_message = __( 'Please fill in your details above to see available payment methods.', 'woocommerce' );
30
- } else {
31
- $no_gateways_message = __( 'Sorry, it seems that there are no available payment methods for your state. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' );
32
- }
33
-
34
- echo '<p>' . apply_filters( 'woocommerce_no_available_payment_methods_message', $no_gateways_message ) . '</p>';
35
- }
36
- ?>
37
- </ul>
38
- <?php endif; ?>
39
-
40
- <div class="clear"></div>
41
- </div>
42
-
43
- <?php if ( ! is_ajax() ) : ?>
44
- <?php do_action( 'woocommerce_review_order_after_payment' ); ?>
45
- <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
templates/emails/customer-new-account-activation.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Customer new account email
4
+ *
5
+ * @author WooThemes
6
+ * @package WooCommerce/Templates/Emails
7
+ * @version 1.6.4
8
+ */
9
+
10
+ if ( ! defined( 'ABSPATH' ) ) {
11
+ exit; // Exit if accessed directly
12
+ }
13
+
14
+ ?>
15
+
16
+ <?php do_action( 'woocommerce_email_header', $email_heading ); ?>
17
+
18
+ <p><?php printf( __( "Thanks for creating an account on %s. Your username is <strong>%s</strong>. Please follow the activation link to activate your account:", 'woocommerce-germanized' ), esc_html( $blogname ), esc_html( $user_login ) ); ?></p>
19
+
20
+ <p><a class="wc-button button" href="<?php echo esc_attr( $user_activation_url );?>"><?php _e( 'Activate your account', 'woocommerce-germanized' );?></a></p>
21
+
22
+ <?php if ( get_option( 'woocommerce_registration_generate_password' ) == 'yes' && $password_generated ) : ?>
23
+
24
+ <p><?php printf( __( "Your password has been automatically generated: <strong>%s</strong>", 'woocommerce' ), esc_html( $user_pass ) ); ?></p>
25
+
26
+ <?php endif; ?>
27
+
28
+ <p><?php printf( __( "If you haven't created an account on %s please ignore this email.", "woocommerce-germanized" ),esc_html( $blogname ) );?></p>
29
+
30
+ <p><?php printf( __( 'If you cannot follow the link above please copy this url and paste it to your browser bar: %s', 'woocommerce-germanized' ), $user_activation_url ); ?></p>
31
+
32
+ <?php do_action( 'woocommerce_email_footer' ); ?>
woocommerce-germanized.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce Germanized
4
  * Plugin URI: http://www.vendidero.de/woocommerce-germanized
5
  * Description: Extends WooCommerce to become a legally compliant store for the german market.
6
- * Version: 1.2.1
7
  * Author: Vendidero
8
  * Author URI: http://vendidero.de
9
  * Requires at least: 3.8
@@ -26,7 +26,7 @@ final class WooCommerce_Germanized {
26
  *
27
  * @var string
28
  */
29
- public $version = '1.2.1';
30
 
31
  /**
32
  * Single instance of WooCommerce Germanized Main Class
@@ -167,8 +167,6 @@ final class WooCommerce_Germanized {
167
  add_filter( 'woocommerce_locate_template', array( $this, 'filter_templates' ), PHP_INT_MAX, 3 );
168
  if ( version_compare( WC()->version, '2.3', '<' ) )
169
  add_filter( 'woocommerce_gzd_default_plugin_template', array( $this, 'filter_templates_old_version' ), 0, 2 );
170
- else
171
- add_filter( 'woocommerce_gzd_important_templates', array( $this, 'set_critical_templates_new_version' ), 0 );
172
  add_filter( 'woocommerce_product_class', array( $this, 'filter_product_classes' ), PHP_INT_MAX, 4 );
173
  add_filter( 'woocommerce_get_settings_pages', array( $this, 'add_settings' ) );
174
  add_filter( 'woocommerce_enqueue_styles', array( $this, 'add_styles' ) );
@@ -200,6 +198,10 @@ final class WooCommerce_Germanized {
200
  add_filter( 'woocommerce_payment_successful_result', array( $this, 'send_order_confirmation_mails' ), 0, 2 );
201
  add_filter( 'woocommerce_checkout_no_payment_needed_redirect', array( $this, 'send_order_confirmation_mails' ), 0, 2 );
202
 
 
 
 
 
203
  // Remove processing + on-hold default order confirmation mails
204
  $mailer = WC()->mailer();
205
  $mails = $mailer->get_emails();
@@ -258,6 +260,8 @@ final class WooCommerce_Germanized {
258
 
259
  if ( strpos( $class, 'wc_gzd_gateway_' ) === 0 )
260
  $path = $this->plugin_path() . '/includes/gateways/' . trailingslashit( substr( str_replace( '_', '-', $class ), 15 ) );
 
 
261
 
262
  if ( version_compare( get_option( 'woocommerce_version' ), '2.3', '<' ) ) {
263
  $old_file = str_replace( '.php', '-2-2.php', $file );
@@ -327,6 +331,7 @@ final class WooCommerce_Germanized {
327
  include_once( 'includes/admin/class-wc-gzd-admin.php' );
328
  include_once( 'includes/admin/class-wc-gzd-admin-welcome.php' );
329
  include_once( 'includes/admin/class-wc-gzd-admin-notices.php' );
 
330
  include_once( 'includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php' );
331
  include_once( 'includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php' );
332
  }
@@ -426,16 +431,6 @@ final class WooCommerce_Germanized {
426
  return apply_filters( 'woocommerce_gzd_important_templates', array( 'checkout/form-pay.php', 'checkout/review-order.php' ) );
427
  }
428
 
429
- /**
430
- * Add payment.php template to critical if Woo 2.3 is acticated
431
- *
432
- * @param array $templates
433
- */
434
- public function set_critical_templates_new_version( $templates ) {
435
- array_push( $templates, 'checkout/payment.php' );
436
- return $templates;
437
- }
438
-
439
  /**
440
  * Inject WC_GZD_Product into WC_Product by filtering postmeta - fallback if not using wc_get_product
441
  *
@@ -677,9 +672,10 @@ final class WooCommerce_Germanized {
677
  * @return array
678
  */
679
  public function add_emails( $mails ) {
680
- $mails[ 'WC_GZD_Email_Customer_Revocation' ] = include 'includes/emails/class-wc-gzd-email-customer-revocation.php';
681
- $mails[ 'WC_GZD_Email_Customer_Ekomi' ] = include 'includes/emails/class-wc-gzd-email-customer-ekomi.php';
682
- $mails[ 'WC_GZD_Email_Customer_Trusted_Shops' ] = include 'includes/emails/class-wc-gzd-email-customer-trusted-shops.php';
 
683
  return $mails;
684
  }
685
 
@@ -715,6 +711,53 @@ final class WooCommerce_Germanized {
715
  return $return;
716
  }
717
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
718
  /**
719
  * Stop WooCommerce from adding additional VAT to virtual products within Checkout.
720
  *
3
  * Plugin Name: WooCommerce Germanized
4
  * Plugin URI: http://www.vendidero.de/woocommerce-germanized
5
  * Description: Extends WooCommerce to become a legally compliant store for the german market.
6
+ * Version: 1.2.2
7
  * Author: Vendidero
8
  * Author URI: http://vendidero.de
9
  * Requires at least: 3.8
26
  *
27
  * @var string
28
  */
29
+ public $version = '1.2.2';
30
 
31
  /**
32
  * Single instance of WooCommerce Germanized Main Class
167
  add_filter( 'woocommerce_locate_template', array( $this, 'filter_templates' ), PHP_INT_MAX, 3 );
168
  if ( version_compare( WC()->version, '2.3', '<' ) )
169
  add_filter( 'woocommerce_gzd_default_plugin_template', array( $this, 'filter_templates_old_version' ), 0, 2 );
 
 
170
  add_filter( 'woocommerce_product_class', array( $this, 'filter_product_classes' ), PHP_INT_MAX, 4 );
171
  add_filter( 'woocommerce_get_settings_pages', array( $this, 'add_settings' ) );
172
  add_filter( 'woocommerce_enqueue_styles', array( $this, 'add_styles' ) );
198
  add_filter( 'woocommerce_payment_successful_result', array( $this, 'send_order_confirmation_mails' ), 0, 2 );
199
  add_filter( 'woocommerce_checkout_no_payment_needed_redirect', array( $this, 'send_order_confirmation_mails' ), 0, 2 );
200
 
201
+ // Check for customer activation
202
+ add_action( 'template_redirect', array( $this, 'customer_account_activation_check' ) );
203
+ add_action( 'woocommerce_gzd_customer_cleanup', array( WC_GZD_Admin_Customer::instance(), 'account_cleanup' ) );
204
+
205
  // Remove processing + on-hold default order confirmation mails
206
  $mailer = WC()->mailer();
207
  $mails = $mailer->get_emails();
260
 
261
  if ( strpos( $class, 'wc_gzd_gateway_' ) === 0 )
262
  $path = $this->plugin_path() . '/includes/gateways/' . trailingslashit( substr( str_replace( '_', '-', $class ), 15 ) );
263
+ else if ( strpos( $class, 'wc_gzd_admin_' ) === 0 )
264
+ $path = $this->plugin_path() . '/includes/admin/';
265
 
266
  if ( version_compare( get_option( 'woocommerce_version' ), '2.3', '<' ) ) {
267
  $old_file = str_replace( '.php', '-2-2.php', $file );
331
  include_once( 'includes/admin/class-wc-gzd-admin.php' );
332
  include_once( 'includes/admin/class-wc-gzd-admin-welcome.php' );
333
  include_once( 'includes/admin/class-wc-gzd-admin-notices.php' );
334
+ include_once( 'includes/admin/class-wc-gzd-admin-customer.php' );
335
  include_once( 'includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data.php' );
336
  include_once( 'includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php' );
337
  }
431
  return apply_filters( 'woocommerce_gzd_important_templates', array( 'checkout/form-pay.php', 'checkout/review-order.php' ) );
432
  }
433
 
 
 
 
 
 
 
 
 
 
 
434
  /**
435
  * Inject WC_GZD_Product into WC_Product by filtering postmeta - fallback if not using wc_get_product
436
  *
672
  * @return array
673
  */
674
  public function add_emails( $mails ) {
675
+ $mails[ 'WC_GZD_Email_Customer_New_Account_Activation' ] = include 'includes/emails/class-wc-gzd-email-customer-new-account-activation.php';
676
+ $mails[ 'WC_GZD_Email_Customer_Revocation' ] = include 'includes/emails/class-wc-gzd-email-customer-revocation.php';
677
+ $mails[ 'WC_GZD_Email_Customer_Ekomi' ] = include 'includes/emails/class-wc-gzd-email-customer-ekomi.php';
678
+ $mails[ 'WC_GZD_Email_Customer_Trusted_Shops' ] = include 'includes/emails/class-wc-gzd-email-customer-trusted-shops.php';
679
  return $mails;
680
  }
681
 
711
  return $return;
712
  }
713
 
714
+ /**
715
+ * Check for activation codes on my account page
716
+ */
717
+ public function customer_account_activation_check() {
718
+ if ( is_account_page() ) {
719
+ if ( isset( $_GET[ 'activate' ] ) ) {
720
+ $activation_code = sanitize_text_field( $_GET[ 'activate' ] );
721
+ if ( ! empty( $activation_code ) ) {
722
+ if ( $this->customer_account_activate( $activation_code ) ) {
723
+ wc_add_notice( __( 'Thank you. You have successfully activated your account.', 'woocommerce-germanized' ) );
724
+ return;
725
+ }
726
+ }
727
+ wc_add_notice( __( 'Sorry, but this activation code cannot be found.', 'woocommerce-germanized' ), 'error' );
728
+ }
729
+ }
730
+ }
731
+
732
+ /**
733
+ * Activate customer account based on activation code
734
+ *
735
+ * @param string $activation_code hashed activation code
736
+ * @return boolean
737
+ */
738
+ public function customer_account_activate( $activation_code ) {
739
+ $user_query = new WP_User_Query(
740
+ array( 'role' => 'Customer', 'number' => 1, 'meta_query' =>
741
+ array(
742
+ array(
743
+ 'key' => '_woocommerce_activation',
744
+ 'value' => $activation_code,
745
+ 'compare' => '=',
746
+ ),
747
+ ),
748
+ )
749
+ );
750
+ if ( ! empty( $user_query->results ) ) {
751
+ foreach ( $user_query->results as $user ) {
752
+ do_action( 'woocommerce_gzd_customer_opted_in', $user );
753
+ delete_user_meta( $user->ID, '_woocommerce_activation' );
754
+ WC()->mailer()->customer_new_account( $user->ID );
755
+ return true;
756
+ }
757
+ }
758
+ return false;
759
+ }
760
+
761
  /**
762
  * Stop WooCommerce from adding additional VAT to virtual products within Checkout.
763
  *