waschhalle
Forum Replies Created
-
Forum: Plugins
In reply to: [Seraphinite Accelerator] menu not workingYes, was the first thing ??
Ah s**t – I clicked on “delete servers cache”. Now i tried Delete Cache and it’s working now….sorry!
- This reply was modified 3 months, 2 weeks ago by waschhalle.
I got the solution.
Go to Cookiebot – Prior Consent – Jetpack
There you find “Visitor cookies”. Disable the “Display a placeholder”.
Same trouble here….any solution?
I also receive every hour an email fro Cron Deamon.- This reply was modified 4 years, 2 months ago by waschhalle.
Forum: Plugins
In reply to: [Germanized for WooCommerce] Validierung eines EingabefeldesTats?chlich klappt es nur so. Benutze ich
woocommerce_after_checkout_validation
funktioniert die Validierung nicht.Forum: Plugins
In reply to: [Germanized for WooCommerce] ?nderung der aktiven Bezahlmethodeah, jetzt kapiert….danke. Problem gel?st.
Forum: Plugins
In reply to: [Germanized for WooCommerce] ?nderung der aktiven BezahlmethodeHallo,
das mit der Reihenfolge ist gekl?rt. Von einem neutralen Rechner aus ist dann tats?chlich Paypal zuerst aktiv.
Den “speziellen Germanized-Pfad” finde ich eben nicht… kannst du mir gen genauer nennen?
Grü?e
GeorgForum: Plugins
In reply to: [Germanized for WooCommerce] Validierung eines EingabefeldesIch habe in der Datei function.php im Child-Theme folgendes integriert.
Ich habe jedoch checkout_process als Hock verwendet. W?re after_checkout_validation besser?
add_action( 'woocommerce_checkout_process', 'validate_ean13'); function validate_ean13($post_id) { $barcode = $_POST['additional_kartennummer']; if (!preg_match("/^[0-9]{13}$/", $barcode)) { wc_add_notice( __( 'Die Kartennummer ist zu kurz.'), 'error'); wc_add_notice( __( 'Die Kartennummer muss aus 13 Ziffern bestehen.' ), 'error'); wc_add_notice( __( 'Sie finden die Nummer auf der Rückseite Ihrer Kundenkarte' ), 'error'); wc_add_notice( __( 'Die Kartennummer beginnt mit 109201...'), 'error'); return false; } $digits = $barcode; // 1. Add the values of the digits in the // even-numbered positions: 2, 4, 6, etc. $even_sum = $digits[1] + $digits[3] + $digits[5] + $digits[7] + $digits[9] + $digits[11]; // 2. Multiply this result by 3. $even_sum_three = $even_sum * 3; // 3. Add the values of the digits in the // odd-numbered positions: 1, 3, 5, etc. $odd_sum = $digits[0] + $digits[2] + $digits[4] + $digits[6] + $digits[8] + $digits[10]; // 4. Sum the results of steps 2 and 3. $total_sum = $even_sum_three + $odd_sum; // 5. The check character is the smallest number which, // when added to the result in step 4, produces a multiple of 10. $next_ten = (ceil($total_sum / 10)) * 10; $check_digit = $next_ten - $total_sum; // if the check digit and the last digit of the // barcode are OK return true; if ($check_digit == $digits[12]) { return true; } wc_add_notice( __( 'Die Kartennummer ist ungültig.'), 'error'); wc_add_notice( __( 'Die Kartennummer muss aus 13 Ziffern bestehen.' ), 'error'); wc_add_notice( __( 'Sie finden die Nummer auf der Rückseite Ihrer Kundenkarte' ), 'error'); wc_add_notice( __( 'Die Kartennummer beginnt mit 109201...'), 'error'); }
Forum: Fixing WordPress
In reply to: Contact Form 7 – Custom ValidationThanks, I will do so.
- This reply was modified 7 years, 3 months ago by waschhalle.