• Hi there,

    Background to the installation:
    WordPress v. 6.2.2
    Woocommerce v. 9.3.3
    Theme: Royal Elementor Kit (child)
    Plugins: Germanized and Germanized Pro (etc)

    On the /my-account/ page, the user receives an incorrect view during or after registration:

    (https://snipboard.io/gavO3V.jpg)

    What I have done so far:
    1) deactivate Germanized/Germanized Pro -> works
    2) switch to a standard theme with Germanized activated -> works
    3) leave both activated and add the following code to functions.php to overwright the notices:

    remove_action('template_redirect', 'wc_gzd_template_redirect_handler', 10);
    add_action('template_redirect', 'my_custom_wc_gzd_template_redirect_handler', 10);

    function my_custom_wc_gzd_template_redirect_handler() {
    if (isset($_GET['action']) && $_GET['action'] === 'wc-gzd-resend-activation' && isset($_GET['_wpnonce'])) {
    if (!wp_verify_nonce(sanitize_text_field($_GET['_wpnonce']), 'wc-gzd-resend-activation')) {
    return;
    }

    wc_add_notice(__('Activation email sent again. Please check your inbox.', 'woocommerce-germanized'), 'notice');

    // Stelle sicher, dass die Notice HTML enth?lt und korrekt ausgegeben wird
    $notices = wc_get_notices();
    foreach ($notices as $notice) {
    echo wp_kses_post($notice['notice']);
    }

    wc_clear_notices();
    }
    }

    Sadly, nothing helped.

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.