Questions tagged [user]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

How do I create a Magento block that has input fields for to store values in variables?

My code for displaying rotating messages is currently hardcoded and I have to go in and update the messages manually. I want to replace this with a new block in magento so other people can just go ...
Alyx's user avatar
  • 1
0 votes
2 answers
104 views

Magento 2.3 Accidentally delete vendor/magento folder in root directory content [WHM/cPanel] using rm-rf

I accidentally deleted vendor/magento folder from WHM/Cpanel using rm -rf command and i don't have any backup is there any possibility to restored that file.
Galib's user avatar
  • 37
0 votes
0 answers
71 views

Advance Reporting not working

I have followed all the instruction to activate advance report Also Magento Analytics user integration Status is “Active” and generated token But still facing the same error. We can’t find what you’re ...
Amruta's user avatar
  • 1
0 votes
1 answer
28 views

Coupon code definition and usage restriction

Please Suggest a method to restrict the coupon code for 1 time only, even if the coupon codes are bulk generated using the Manage Coupon Codes functionality. All individual codes needed to be ...
user108732's user avatar
1 vote
1 answer
24 views

Can you see which user handled/proces which customer order?

Is it possible to see which user completed a customer order?
Sanitairsupershop's user avatar
0 votes
1 answer
238 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 ...
MagentoUser's user avatar
0 votes
2 answers
176 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 ...
VLiot's user avatar
  • 1
0 votes
1 answer
1k 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 ...
Prits's user avatar
  • 626
0 votes
1 answer
339 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 ...
Prasad D's user avatar
0 votes
0 answers
325 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 ...
Utsav Gupta's user avatar
  • 1,243
0 votes
1 answer
360 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/...
Prits's user avatar
  • 626
4 votes
1 answer
243 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
jykmhar123's user avatar
0 votes
2 answers
561 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 ...
Abilash Erikson's user avatar
1 vote
0 answers
15 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
Robinio's user avatar
  • 771
0 votes
2 answers
545 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.
Nafsss's user avatar
  • 760
1 vote
1 answer
299 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 ...
Asad Khan's user avatar
  • 1,486
0 votes
1 answer
4k 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)...
Shafeel Sha's user avatar
  • 1,385
9 votes
8 answers
16k 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/...
Victor's user avatar
  • 91
1 vote
1 answer
593 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 ...
n00bly's user avatar
  • 623
4 votes
0 answers
438 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. ...
C-dawg's user avatar
  • 81
1 vote
0 answers
213 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 ...
felixnyamweya's user avatar
0 votes
1 answer
80 views

Creating non-admin account

How to create non-admin accounts in Magento 2 which user can only add and edit products and categories.
nikhil gantyala's user avatar
2 votes
0 answers
37 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 ...
Kumar A A's 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='[email protected]' --admin-firstname='Admin' --admin-...
Ajithkumar's user avatar
0 votes
2 answers
98 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 = $...
Morgan Tartreau's user avatar
-2 votes
2 answers
107 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 ...
jhon jhon doe's user avatar
1 vote
0 answers
283 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...
Morgan Tartreau's user avatar
0 votes
1 answer
165 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 ...
Allysin's user avatar
  • 250
2 votes
1 answer
376 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?
sudo55's user avatar
  • 994
1 vote
0 answers
446 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 ...
Kist221's user avatar
  • 11
1 vote
0 answers
159 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. ...
Adnan's user avatar
  • 153
0 votes
0 answers
52 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?
Vijayakumar.V's user avatar
0 votes
1 answer
42 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-&...
Ynhockey's user avatar
  • 265
1 vote
0 answers
106 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 ...
Siddharth Shah's 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->...
Rob D. A.'s user avatar
  • 867
0 votes
1 answer
737 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!
Pramod Kharade's user avatar
1 vote
0 answers
1k 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 ...
Alin Lupoiu's user avatar
  • 2,662
-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?
Jose's user avatar
  • 41
0 votes
1 answer
412 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 ...
Key Shang's user avatar
  • 3,405
1 vote
1 answer
2k 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.
abu abu's user avatar
  • 744
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.
zus's user avatar
  • 165
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.
SNS's user avatar
  • 907
1 vote
2 answers
614 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
111 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" => "...
user3374995's 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: ...
Marc Pont's user avatar
  • 1,453
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
616 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() { // ...
Head's user avatar
  • 177
0 votes
1 answer
68 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.
Koothrapali's user avatar
0 votes
0 answers
45 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 ...
guest's user avatar
  • 131