Home Forums WoodMart support forum Customers do not receive emails after registering on our website

Customers do not receive emails after registering on our website

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #539932

    Customers are not receiving emails after registering or clicking on forget password or none of the instances where they should receive emails. Please find the screenshot and could you please guide me where am I missing something?

    https://prnt.sc/frby4vOz8Rqg

    #540201

    Hung Pham
    Keymaster

    Hi digitalpersistent.in,

    Thanks for reaching to us.

    1. Using a plugin like WP Mail SMTP to handle email delivery.

    2. It maybe email-related restrictions or issues on the server that could be causing the problem. They might be able to provide insights or assistance.

    Best Regards,

    #540212

    From our website indiandecor.in when clicked on the to right button register a pop-up is opened (https://prnt.sc/l39vsD57KhsS)
    After clicking on ‘Create an account’ its leading us to https://indiandecor.in/my-account/?action=register (https://prnt.sc/Y9BxgbUoAugE) where there is no option to set the password but instead it mentions, ‘A link to set a new password will be sent to your email address.’ However no email is received by users.

    On the other hand we tried registering as customer from the URL, https://indiandecor.in/wp-admin and it redirects to WordPress default login page (https://prnt.sc/Yr_feJvanAUJ). Upon clicking on ‘register’ it further redirects to the page https://indiandecor.in/register-2/ which gives the option to set password https://prnt.sc/UyhDuQXUxrte which is the right and expected page.

    So could you please guide on how do we change the registration URL on this link https://prnt.sc/GINi_5ihjZj7

    #540429

    Hung Pham
    Keymaster

    Hi digitalpersistent.in,

    1. Password

    Please navigate to WooCommerce > Settings > Accounts & Privacy and uncheck this box https://prnt.sc/VqhtvL5hAUGB

    2. Email

    Please consult above instructions, WoodMart does not control sending email functionality.

    3. Change URL

    To be able to change the redirect link, try to add this code to the functions.php file in your child theme. Insert your link into the value of the $account_link variable.

    if ( ! function_exists( 'woodmart_sidebar_login_form' ) ) {
        function woodmart_sidebar_login_form() {
            if ( ! woodmart_woocommerce_installed() ) {
                return;
            }
    
            $settings     = whb_get_settings();
            $login_side   = isset( $settings['account'] ) && $settings['account']['login_dropdown'] && $settings['account']['form_display'] == 'side';
            $account_link = ' Enter your link here. ';
            $page_id      = woodmart_get_the_ID() ? woodmart_get_the_ID() : get_option( 'woocommerce_myaccount_page_id' );
            $redirect_url = apply_filters( 'woodmart_my_account_side_login_form_redirect', get_permalink( $page_id ) );
    
            $wrapper_classes = '';
    
            if ( 'light' === whb_get_dropdowns_color() ) {
                $wrapper_classes .= ' color-scheme-light';
            }
    
            $position = is_rtl() ? 'left' : 'right';
    
            $wrapper_classes .= ' wd-' . $position;
    
            if ( ! $login_side || is_user_logged_in() ) {
                return;
            }
    
            woodmart_enqueue_inline_style( 'header-my-account-sidebar' );
    
            ?>
            <div class="login-form-side wd-side-hidden<?php echo esc_attr( $wrapper_classes ); ?>">
                <div class="widget-heading">
                    <h3 class="widget-title"><?php esc_html_e( 'Sign in', 'woodmart' ); ?></h3>
                    <div class="close-side-widget wd-action-btn wd-style-text wd-cross-icon">
                        <a href="#" rel="nofollow"><?php esc_html_e( 'close', 'woodmart' ); ?></a>
                    </div>
                </div>
    
                <?php woocommerce_output_all_notices(); ?>
    
                <?php woodmart_login_form( true, $redirect_url, false, true, $redirect_url ); ?>
    
                <div class="create-account-question">
                    <p><?php esc_html_e( 'No account yet?', 'woodmart' ); ?></p>
                    <a href="<?php echo esc_url( add_query_arg( 'action', 'register', $account_link ) ); ?>" class="btn btn-style-link btn-color-primary create-account-button"><?php esc_html_e( 'Create an Account', 'woodmart' ); ?></a>
                </div>
            </div>
            <?php
        }
    
        add_action( 'woodmart_before_wp_footer', 'woodmart_sidebar_login_form', 160 );
    }

    Regards,

    • This reply was modified 10 months ago by Hung Pham.
Viewing 4 posts - 1 through 4 (of 4 total)