How to change dashboard language from Arabic to English?

This topic has 44 replies, 4 voices, and was last updated 3 months ago ago by Luca Rossi

  • Avatar: Justin
    Luca Rossi
    Support staff
    August 25, 2025 at 09:54

    Dear @thamer,

    Kindly note that the registration form should be located on the “My Account” page: https://topdstore.com/my-account/.

    To enable this functionality, please activate the registration setting by navigating to your WordPress Dashboard > Settings > General, and checking the “Anyone can register” option. For your reference, please see the following screenshot: https://prnt.sc/VLspCxfI6mjF.

    Thank you for your attention to this matter.

    Best regards,
    The 8Theme Team

    Avatar: thamer
    thamer
    Participant
    August 27, 2025 at 16:18

    I want to add some features to my website:

    1. How can I add multilingual and multicurrency support to the theme? Do you have support for these features, or should I use plugins?

    2. Add sign-up page: Make these fields required: “email, phone number, first and last name, phone number allowed for all countries”.

    3. How to edit the sign-in page to make the customer log in using the phone number or email address? Currently, they can log in using their Username or email.

    4. Add a hamburger menu to the desktop view that shows all categories (I can show an example if needed).

    5. Set the default product price to $1 instead of showing the product price range from $10 to $50.

    6. Product reviews: only those who order can review the products. Add a verified purchase badge to all reviews. The reviews are not automatically approved, they need to be approved by the admin.

    Can you guide me on how to do these changes?

    I hope you can answer me asap

    Thank you

    Avatar: Justin
    Luca Rossi
    Support staff
    August 28, 2025 at 04:56

    Dear @thamer,

    Thank you for reaching out to us and for your interest in enhancing your website with additional features. We are happy to assist you with your requests. Please find our responses below:

    1. Multilingual and Multicurrency Support:
    Our theme is compatible with popular multilingual and multicurrency plugins such as WPML, Polylang, and Loco Translate for language support, and WooCommerce Multilingual or Currency Switcher for currency options. We recommend using these plugins to implement the desired functionality. Please ensure they are properly configured according to your website’s requirements.

    2. Sign-Up Page – Required Fields:
    To make the “email, phone number, first name, and last name” fields required, and to allow international phone numbers, you may need to use a user registration plugin such as “User Registration” or “WPForms.” These plugins allow you to customize the registration form and set validation rules. Custom development may be required if you wish to integrate this directly into the theme’s default registration form.

    3. Sign-In Page – Login via Phone Number or Email:
    Please add the following code under functions.php file locates in your child theme:

    
    add_filter( 'authenticate', 'wp_login_with_phone_number', 20, 3 );
    function wp_login_with_phone_number( $user, $username, $password ) {
    
        // If already logged in with email/username, skip
        if ( $user instanceof WP_User ) {
            return $user;
        }
    
        // Check if input is a phone number (digits only)
        if ( preg_match( '/^\+?[0-9]{6,15}$/', $username ) ) {
    
            // Look for a user with this phone number
            $user_query = new WP_User_Query( array(
                'meta_key'   => 'billing_phone', // change to 'billing_phone' if using WooCommerce
                'meta_value' => $username,
                'number'     => 1,
                'count_total'=> false,
            ) );
    
            if ( ! empty( $user_query->get_results() ) ) {
                $found_user = $user_query->get_results()[0];
    
                // Verify password
                if ( wp_check_password( $password, $found_user->user_pass, $found_user->ID ) ) {
                    return $found_user; // login success
                } else {
                    return new WP_Error( 'invalid_password', __( '<strong>Error</strong>: The password you entered for the phone number is incorrect.' ) );
                }
            } else {
                return new WP_Error( 'invalid_phone', __( '<strong>Error</strong>: No account found with that phone number.' ) );
            }
        }
    
        return $user; // fallback to normal login
    }
    

    4. Hamburger Menu on Desktop View:
    You can try with the Department menu: https://www.youtube.com/watch?v=7QluEYxznKs&ab_channel=8THEME

    5. Default Price Display For Variable Products:
    Please add the following code under functions.php file locates in your child theme:

    
    add_filter( 'woocommerce_get_price_html', 'custom_variable_product_price_html', 10, 2 );
    function custom_variable_product_price_html( $price, $product ) {
        // Only apply to variable products
        if ( $product->is_type( 'variable' ) ) {
            // Always show $1 instead of the range
            $price = wc_price( 1 );
        }
        return $price;
    }
    

    6. Product Reviews – Verified Purchases and Admin Approval:
    WooCommerce supports verified reviews by default. You can enable the “Reviews can only be left by verified owners” option in WooCommerce > Settings > Products. To add a “Verified Purchase” badge and require admin approval, you may use a plugin such as “Customer Reviews for WooCommerce” or implement custom code to moderate reviews and display badges accordingly.

    We hope this information helps you move forward with your website enhancements. If you require further assistance or would like help implementing any of the above, please let us know.

    Best Regards,
    8Theme’s Team

    Avatar: thamer
    thamer
    Participant
    August 28, 2025 at 10:29

    Hi Luca,
    Thank you for the reply.

    I have more questions regarding some of the previous features.

    2. Sign-Up Page – Required Fields:
    I enabled the “Anyone can register” option, but I can not see the registration page. How to view it?

    3. Sign-In Page – Login via Phone Number or Email:
    The login with phone number is working in the login page only, but it is not working in the login pop-up/drawer.
    Also, how to change the login label from (Username or email *) to (Email or Phone number *).

    5. Default Price Display For Variable Products:
    I want to show the default price to $1 instead of the price range, but when I choose any variant, it should show the variant price, not $1. Can you please update the code for me?

    Avatar: Justin
    Luca Rossi
    Support staff
    August 28, 2025 at 11:25

    Dear @Thamer,

    2. Kindly note that the registration form can be found on the “My Account” page at the following link: https://topdstore.com/my-account/.

    3. We would appreciate it if you could please resend the admin account credentials for our reference.

    5. Could you kindly provide more detailed information regarding the issue you mentioned? This will help us assist you more effectively.

    Thank you for your cooperation.

    Best regards,
    The 8Theme Team

    Avatar: thamer
    thamer
    Participant
    August 28, 2025 at 20:33

    2. When I open this link, it opens the login page, not the registration page.

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    August 29, 2025 at 06:57

    Dear Thamer,

    We hope this message finds you well.

    We are currently experiencing an issue with the login credentials, as the username or password appears to be incorrect. Please refer to the following screenshot for your reference: https://prnt.sc/AgjCACDS5_EF

    Could you kindly review the login details at your earliest convenience?

    Thank you for your attention to this matter.

    Best regards,
    The 8Theme Team

    Avatar: thamer
    thamer
    Participant
    August 29, 2025 at 13:07

    Try these

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    August 31, 2025 at 10:30

    Dear @thamer,

    We hope this message finds you well.

    Could you kindly review the “My Account” page once again at your earliest convenience?

    Screenshot for reference:
    https://prnt.sc/BbaxIpTTunep

    Please note that we have enabled the relevant setting under:
    WooCommerce > Settings > Accounts & Privacy
    Screenshot: https://prnt.sc/t0X0odJ3nQP8

    Thank you for your attention to this matter.

    Best regards,
    The 8Theme Team

    Avatar: thamer
    thamer
    Participant
    August 31, 2025 at 14:05

    Thank you.
    How to change the login label from (Username or email *) to (Email or Phone number *)?

    Also, for the registration, can it be with both email or phone number?

    Avatar: thamer
    thamer
    Participant
    August 31, 2025 at 14:11

    How to add the categories to a menu? I have a menu named “All Departments”, and I want to add multiple categories to it. I already created the categories, but they are not showing for me.

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 1, 2025 at 09:59

    Dear @thamer,

    1. Kindly add the following code to the functions.php file located within your child theme directory:

    
    function n2t_text_strings( $translated_text, $text, $domain ) {
        switch ( $translated_text ) {
            case 'Username or email address' :
                $translated_text = 'Email or Phone number';
                break;
        }
        return $translated_text;
    }
    add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
    

    2. Please navigate to the “All Departments” menu for editing via the following link: https://topdstore.com/wp-admin/nav-menus.php?action=edit&menu=83. Once there, click on the “Screen Options” button located in the top right corner of the page. Ensure that the “Product Categories” option is checked (as shown in this screenshot: https://prnt.sc/XCWkLxEJloDU). After enabling this option, you will be able to add product category items to the department menu.

    We hope this information is helpful. Should you have any further questions or require additional assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: thamer
    thamer
    Participant
    September 1, 2025 at 11:12

    I want the department menu to be like this image? like a sidebar menu? it opens when I click on the menu icon

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    September 2, 2025 at 06:11

    Dear @thamer,

    Please follow the steps below to update your header and configure the sidebar accordingly:

    1. Kindly edit your header using Elementor via the following link:
    https://topdstore.com/wp-admin/post.php?post=3116&action=elementor

    2. Add the Off-Canvas Sidebar/Filter element as shown in this reference:
    https://prnt.sc/KlsjXFe3cFNk

    3. Create a new custom sidebar by following this example:
    https://prnt.sc/Sq3QotoqGxYR
    Then, add the Product Categories widget to the newly created sidebar:
    https://prnt.sc/3n_UV6mt_x-N

    4. Finally, select this new sidebar within the Off-Canvas Sidebar/Filter element settings.

    We hope this information is helpful. Should you have any further questions or require assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

  • 1 2
    Viewing 44 results - 31 through 44 (of 44 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.