Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [user]

The tag has no usage guidance.

1
vote
1answer
31 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 ...
1
vote
0answers
37 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. ...
1
vote
0answers
26 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 ...
0
votes
1answer
25 views

Creating non-admin account

How to create non-admin accounts in Magento 2 which user can only add and edit products and categories.
2
votes
0answers
27 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 ...
1
vote
1answer
98 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-...
0
votes
0answers
45 views

What's the best thing to use for user id in magento for cross device tracking?

I'm trying to set up cross device tracking in Google Analytics and was wondering what the best user ID to use to track the most users? Here's what I have: Email subscribers IDs Customer IDs I don't ...
0
votes
2answers
40 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 = $...
-2
votes
2answers
36 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 ...
1
vote
0answers
22 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...
0
votes
1answer
25 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 ...
2
votes
1answer
42 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?
1
vote
0answers
95 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 ...
1
vote
0answers
88 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. ...
0
votes
0answers
40 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?
0
votes
1answer
27 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-&...
1
vote
0answers
52 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 ...
0
votes
1answer
520 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->...
0
votes
1answer
429 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?
2
votes
3answers
1k 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!
1
vote
0answers
478 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 ...
-1
votes
1answer
34 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?
0
votes
1answer
146 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 ...
0
votes
1answer
462 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.
1
vote
2answers
2k 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.
0
votes
4answers
958 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.
1
vote
2answers
233 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 ...
2
votes
1answer
65 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" => "...
0
votes
1answer
676 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: ...
5
votes
1answer
2k 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 ...
1
vote
1answer
236 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() { // ...
0
votes
1answer
38 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.
0
votes
0answers
43 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 ...
4
votes
2answers
1k 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 ...
0
votes
2answers
644 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": { ...
0
votes
2answers
327 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 ...
0
votes
1answer
1k views

Magento 2: how to set role to user programmatically

and also an role $roleAuthModel = $objectManager->create('\Magento\Authorization\Model\Role'); $roleAuthModel->setName("cool role") ->setPid(0) //set ...
0
votes
1answer
54 views

Website Customizable Color not shown in Navigation Menu [closed]

I have installed the JM Trex theme, which uses JM Mega Menu to edit the Navigation Menu of the theme. The theme has 5 colors, which the website visitor can choose from: Red, Blue, Green, Violet and ...
0
votes
1answer
1k views

Zip code validation in magento 2

In checkout page I try to add validation for postal code. I already find a list with javascript validation for magento 2 here validation rule and I found this rule "validate-zip-international "but I ...
7
votes
2answers
6k views

Validation for zip code field on checkout page in magento 2

I try to apply validation for postal code on checkout like 4 numbers and 2 characters(A-Z) ex: "9999AA". Now, by default, if I press an invalid postal code on checkout page, I receive a message likes ...
5
votes
1answer
358 views

Magento 2: What is diffrence between _isAllowed & _isAllowedAction?

We have below methods. It generally used for User Role wise Module Permission, as per set. In Controller: _isAllowed In Block: _isAllowedAction At which stage & when this method is ...
0
votes
1answer
266 views

Create user, error 500

When creating a new user I get a error 500. It seems that a class does not exist. I "grepped" for the name of the class but it does not show up anywhere else than the line in the error "PHP message: ...
3
votes
2answers
1k views

After logging in, the user name is not displaying in header section

After logging in, the user name is not displaying between 'Wilkommen' and 'Anmelden' . Which files are responsible for rendering out this part of the header ? How to get the user name of the ...
1
vote
5answers
1k views

User login not work after SUPEE-8788 Patch

our provider has patch our Magento 1.7.02 version today. After this the login from users doesn't work anymore. After sent username and passwort the fields are empty but nothing changes Any idea?
0
votes
1answer
83 views

Magento2 - Switch to right website on login

We've recently migrated a company to a new Magento2 installation and imported the users across two different websites; one local and one for World. These website only differ in the payment provider ...
5
votes
1answer
838 views

Logged In or Not check works only in Customer pages not other pages Magento 2

User logged in or not checking not works in other pages such as Product, Category and other static pages but its works well on customer pages like Dashboard, Address book, Orders etc... Here is my ...
1
vote
2answers
672 views

Checking if customer is logged in only working on account pages [duplicate]

So, I followed the steps in the 2nd answer (by Miroslav Petroff) on this question: How can i check whether user is logged in or not in magento 2.0 The if statement only works correctly when viewing ...
0
votes
1answer
84 views

How to create a user with access to given web shop in Magento 2 multi-store

How to make a user in Magento 2 multi-store configuration with giving access him to only 1 sub web shop?
0
votes
1answer
359 views

How to set up a user instead of using root Magento 2

I'm using root user to do everything which is throwing up problems. I know this is not the right way to do things. How do I set up a new user and set permissions?
1
vote
0answers
87 views

Configuration to get new user email confirmation

I set the Require Emails Confirmation in System->Configuration->Customers->Customer Configurations to Yes but im not getting any email. I wonder if i need any more configuration to make the ...