Questions tagged [user]

The tag has no usage guidance.

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

Can you help me with Magento Design Work Flow for Better UI and UX

Magento UX design is about enabling user interface in Magento websites that work on all browsers and processes with the same and efficient response.
4
votes
1answer
29 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
0
votes
2answers
30 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 ...
1
vote
0answers
12 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
1
vote
0answers
12 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
0
votes
0answers
10 views

Programmatically create user role with access only to a specified website

Can i somehow while programmatically creating a user role specify a website, so the admin user with that role could have access only to a specified website? Here's what i mean in admin panel, but i ...
0
votes
0answers
82 views

Mobile theme is not getting refelected after merge CSS in desktop

I created separate theme for the mobile and the desktop.But in the Mobile string name it is causing an issue at admin in the directory Content->Configuration->Custom theme->edit->Add new user agent ...
0
votes
1answer
31 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.
1
vote
1answer
64 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 ...
0
votes
1answer
1k 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)...
6
votes
6answers
9k 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/...
1
vote
1answer
237 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 ...
4
votes
0answers
206 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
111 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
37 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
32 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 ...
2
votes
1answer
903 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
2answers
56 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
44 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
45 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
68 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
45 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
190 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
134 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
46 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
30 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
64 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
1k 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
590 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
782 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
39 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
251 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 ...
1
vote
1answer
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.
1
vote
2answers
3k 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
1k 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
423 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
74 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
1k 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
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 ...
1
vote
1answer
446 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
39 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
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 ...
0
votes
2answers
1k 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
472 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
2k 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
55 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
2k 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
3answers
11k 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 ...