Questions tagged [user]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Convert company user to individual

I'm still pretty new to Magento overall... bear with me. In our Magento Cloud (aka Adobe Commerce) we have multiple individual users, and then also a number of companies with company users. If I have ...
user avatar
  • 111
0 votes
1 answer
62 views

B2B graphql - company query displays null for company user id

I am working on Graphql API (Magento - 2.4/ enterprise edition) for B2B, the default company query which lists the company users does not give the id since it is deprecated. But I want to update a ...
user avatar
0 votes
2 answers
23 views

New user verification by Admin only

When a user signs up to my website I want to send that request to the Admin and after Admin verifies that user than only user should login to the website. Is there any way I can implement this feature ...
user avatar
  • 1
0 votes
1 answer
510 views

How to Block Customers by their Address in Magento 2?

I want a feature in which user will be blocked by their Address. Like I will add the address in block list of Magento Admin and then user will not be able to purchase anything if I add their address ...
user avatar
  • 526
0 votes
1 answer
162 views

How to add custom user role in the registration form process in magento 2?

I am new to magento platform. I am using magento version 2.4.2 for my project, I want to add the select user type field in registration form. When customer registers. Is it possible to add the custom ...
user avatar
0 votes
0 answers
96 views

Magento 2 : How to disable COD payment method for specific users?

I have Magento 2.3.1 and I want to disable the cash on delivery (COD) method for specific users on the checkout page. I have a list of users as email Ids. I want to prevent that all email ids from ...
user avatar
  • 1,187
0 votes
1 answer
107 views

How to make user register but not login in magento 2.4

I want to make user register and redirect to login page in Magento 2.4. User not automatic login. I have created a plugin for that and created a file ( app/code/Registration/Redirect/Plugin/Customer/...
user avatar
  • 526
4 votes
1 answer
99 views

how to add custom user agent with android in magento 2?

I want to add new custom theme with my Android in app user agent. For exmaple i want to show new theme in my Android app Is there any solution for this
user avatar
0 votes
2 answers
259 views

Current user duration or current user page count in magento 2

I have a custom module . In my observer i have to know the current user duration & current user ip in fronted . So i write the code for user ip . Now if a user visit my website i want to get is ...
user avatar
1 vote
0 answers
13 views

How to create user for special website level magento2?

Is there an option to create a user for a particular website when there is several website and store ? Thanks
user avatar
  • 728
1 vote
0 answers
15 views

Hide price for guest users in magento 2.3.2

Hide price in website and in cart for user not logged in Magento 2.3.2
user avatar
0 votes
2 answers
182 views

How to check which admin user has added the products in admin backend magento 2.3.2

I have multi websites site. I have multiple users with different user roles. Is there any way to save and check which admin user has added the product in admin panel backend.
user avatar
  • 700
1 vote
1 answer
181 views

How can I keep products in CART when guest user Leaves the Site. Magento 2

I want to keep the products in Add to cart for guest user when He leave the site how is it will be possible?? for example I'm a guest user n I add few products in Add to cart n then I close the ...
user avatar
  • 1,434
0 votes
1 answer
3k views

Convert Base64 to Image file and save file directory : Magento 2

How to convert base 64 image format to image file and save image in local file directory in magento 2 public function setProfileImage($customerId, $base64) { if ($customerId)...
user avatar
  • 1,372
9 votes
7 answers
15k views

Magento 2.3.2 Undefined offset Encryptor.php

Magento 2.3.2 community edition Nginx 1.16 PHP 7.2.19 Steps to reproduce (*) 1.login magento store admin {"0":"Notice: Undefined offset: 2 in /www/web/demo/vendor/magento/framework/Encryption/...
user avatar
  • 91
1 vote
1 answer
445 views

M2 - Mass mailing reset password email

I want to send all the user the reset password email, we have over 6000 user so it can't be done by hand. I found this script from this website: <?php //place this before any script you ...
user avatar
  • 573
4 votes
0 answers
299 views

Magento 2 Admin Notifications - what makes a notification popup when the admin user logs in?

Occasionally, an admin notification can pop up when an admin user logs into the Admin Panel. The popup usually shows in an orange style box and can be closed easily, but not all poups show like this. ...
user avatar
  • 81
1 vote
0 answers
178 views

Migrating data to a new and clean installation in version 2.x

I would like to migrate all my Magento data to a new installation on version 2.3. We are currently on version 2.2.0 which has the Webkul Marketplace Extension. Basically, all I want to extract from ...
user avatar
0 votes
1 answer
54 views

Creating non-admin account

How to create non-admin accounts in Magento 2 which user can only add and edit products and categories.
user avatar
2 votes
0 answers
35 views

Magento 1.14 admin page showing 404 error

We have a scenario where 5000 + admin user needs to access Magento 1.14 admin panel. It is not necessary that they will all need to access admin panel concurrently. If a single user logs in, the page ...
user avatar
3 votes
1 answer
3k views

Create admin user in magento 2 using commmand line [closed]

create admin user using command line... php bin/magento admin:user:create --admin-user='username' --admin-password='password' --admin-email='admin@admin.com' --admin-firstname='Admin' --admin-...
user avatar
0 votes
2 answers
63 views

Url of last order of current user

I need to implement a link which redirects to the url of the last order of the current user How do I do that ? I have a code that load the last order, but I need to get the URL $orders = $...
user avatar
-2 votes
2 answers
75 views

just show one name in list all i want to show all users names

list all user name and id in dropdown in magento 2 admin panel on product edit page. Here's my code. Please find where i mistake. <? /** * Copyright © 2016 Magento. All rights reserved. * See ...
user avatar
1 vote
0 answers
134 views

Disable customer edit account

is there a way to block all modification allowed to an user account using XML or something else ? I want to avoid my user to change password, addresses, mail etc...
user avatar
0 votes
1 answer
139 views

EMERGENCY - unable to login to Admin panel; also - no users listed in database

Magento 1.9.1 Porto theme I have had a problem twice before where I could not log into the Magento Admin panel with my user name and password. I had to use code in the mySQL to change the password ...
user avatar
  • 306
2 votes
1 answer
82 views

Check if signed In user has ordered something in magento 2 [closed]

how do I check the user order status is completed in a custom module?
user avatar
  • 964
1 vote
0 answers
290 views

Delete Session Files and Prevent Returning

I've already attempted to delete session files, but they come back one at a time and slowly... Huh? Can someone explain why please and help me permanently delete them please? I can not locate them in ...
user avatar
  • 11
1 vote
0 answers
139 views

Magento 1.9 - get signed in user detail with token and custom API

I want to access Logged In user detail with Oauth 1 Token and Custom API. I have an Angular app that I can log in with OAuth 1 but I need to show Firstname and Lastname and profile picture in my App. ...
user avatar
  • 153
0 votes
0 answers
48 views

How to limit products category based per user in magento 1.9.1.0?

I want to limit products category based per user. For example, If I have added free category under 10 products. Users only can order 1 to 7 products within free 10 products. Any idea regrading this?
user avatar
0 votes
1 answer
32 views

Get arbitrary user attribute in Magento 2

I am trying to get certain user data by ID, and read that it's better not to use the object manager. So let's say I want to get a defined attribute, with this: $user = $this->customerRepository-&...
user avatar
  • 246
1 vote
0 answers
87 views

Magento 2: User and admin sign up without password validation

Magento 2.1.7 User sign in with whatever password, also same admin logged in whatever password. user and admin sign in without password validation We are using godaddy dedicated server. Two Case ...
user avatar
0 votes
1 answer
2k views

How to check if user is logged into the admin [duplicate]

I'm trying to create a script then trigger it from time to time to check "who" is logged in in admin (users), so I created this: $adminUser = Mage::getModel('admin/user'); $users = $adminUser->...
user avatar
  • 867
0 votes
1 answer
698 views

Customer Deleted; No backup;

My client had deleted all customer accidentally. And unfortunate we don't have any backup. Any way to recover a customer and their history order?
user avatar
2 votes
3 answers
2k views

List all user email ids based on role_name in magento 2?

In Magento 2, We want to list all user email id's by using their role_name. How we can achieve in one collection with optimal way? Thanks!
user avatar
1 vote
0 answers
936 views

Magento ERR_EMPTY_RESPONSE error

Just for a specific customer every time when I tried to modify some Personal Information in the backend(customer section), or if I tried with the same user to access the cart or the checkout page, I ...
user avatar
  • 2,602
-1 votes
1 answer
45 views

Magento2 user logged from php

In magento 2: How can I see the user who is currently logged in from php? and How can I login to a user from code and save it in the database?
user avatar
  • 41
0 votes
1 answer
328 views

Get the user in `catalog_product_save_after` observer

In Magento2.1, I create a observer use the event catalog_product_save_after, how can I get the user who saved the product in the observer. The way in Get customer from save event observer Magento 2 ...
user avatar
  • 3,185
1 vote
1 answer
1k views

User registration email

How can I edit user registration email of Magento2 ? I need to know the location of the email template which is send after an User registration.
user avatar
  • 694
1 vote
2 answers
4k views

How can i get product thumbnail image, sku, name, details, if enter sku on custom page

I need products thumbnail image, SKU, name, details, if the customer enters sku on custom page.
user avatar
  • 95
0 votes
4 answers
2k views

User login after Admin approval in Magento 1.9

User login after Admin approval in Magento 1.9 Admin need to approve the account before the users can browse the products and view the pricing for the products.
user avatar
  • 887
1 vote
2 answers
535 views

getUrl fails to generate proper key, so admin link redirects to dashboard

In my block file: $link = $this->getUrl('admin/user/edit', ['user_id' => 2]); It generates a link that looks right but it redirects to the dashboard and comparing the link in the admin to that ...
user avatar
2 votes
1 answer
82 views

Mageto2 How to get created user id in API

I am creating a user by API. After creation: How to get that user id? How to set this user into de-active stage? My code: $registrationdata = [ 'customer' => [ "email" => "...
user avatar
0 votes
1 answer
2k views

Magento 2: How to create API rest for users CRUD

I know that Magento has CLI for creating new users, but I need to do that via API rest. And extending all CRUD functionalities. So I tried to create a new module for do that, but it's not working: ...
user avatar
  • 1,433
5 votes
1 answer
3k views

Check user is logged in or not using Javascript

If user click on button in Product view page , we are redirecting to another url [ say 1.html] with help of js code : window.location.replace(responseData.redirect);. But i want to redirect only if ...
user avatar
1 vote
1 answer
548 views

How do I create a user in the backend and allow them to only view?

They are allowed to view everything but not edit anything... Is this possible? Here's what the function looks like now, perhaps i did something wrong? public function preDispatch() { // ...
user avatar
0 votes
1 answer
44 views

How to detect the Admin status of the current user?

Is there any way I can detect if the currently logged in user is an admin user? I am trying to prevent non-admin users from processing orders. Thanks your response is really appreciated.
user avatar
0 votes
0 answers
44 views

User login does not work

My user login doesn't work. If I create an account, that works, but if I log off and try to log in again, no dice. I'm running this locally on the mac localhost web server. Does this have something to ...
user avatar
  • 131
4 votes
2 answers
2k views

How to get list of all users?

As in title, how can I get a list of all users in Magento ? Found already some examples but none of those works. All I managed to get was either only one user (myself) or nothing while I was expecting ...
user avatar
  • 867
0 votes
2 answers
2k views

Magento 2 marketplace extension installing error: Do not run Composer as root/super user!

I am trying to install an extension with the help of composer for magento 2. This is my composer.json file { "name": "ankur/module-quickorder", "description": "N/A", "require": { ...
user avatar
  • 6,199
0 votes
2 answers
505 views

Unable to access front- and backend after changing to HTTPS [duplicate]

I looked for a way to change from HTTP to HTTPS. By mistake I switched my insecure and secure URL in config-web-secure/, and added the word magento to them both. As a result I get a 403 error on my ...
user avatar
  • 1