Questions tagged [admin]

Can denote questions related to Magento admin panel, admin session or admin user.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

How do I change date picker format for admin date field

How can I change the date format to display as dd/mm/yyyy for admin date field? Currently it is displaying as mm/dd/yyyy format. Can you please help me out?
4
votes
3answers
561 views

How to send order email only to Admin ? (V 1.9)

By default, when a customer buys something on my website (Magento 1.9) he receives an order confirmation via email. The thing is I'm using another platform to send my emails to the customer. So I don'...
0
votes
1answer
2k views

Adding an attribute to customer order page on the backend

I want to add a custom attribute which i have already created to the order page in the back end. I have used this in my config.xml file to add the attribute to the customer account page, but I want to ...
0
votes
2answers
72 views

Magento2 admin edit form prepare form registry error

I have created Magento2 admin edit form but on my edit form I got the error as below: Fatal error: Uncaught Error: Call to a member function getId() on null in /app/code/Custom/Module/Block/...
0
votes
0answers
7 views

Admin Grid Select/Multiselect Attribute Filtering Uses Frontend Values, why?

When editing a product the system correctly shows the admin values for an attribute. But the filters use the frontend value (default view, i would guess?) and not the admin value. This is quite ...
0
votes
2answers
1k views

magento 2 admin very slow

As we have follow all steps to increase magento 2 speed like Advanced bundling, minify js and css but still we face speed issue in the admin. Our admin take too much time to load grid as well as if ...
1
vote
2answers
2k views

Magento what is due amount, when it is generated or is it admin setting?

I have been working with Magento 1.9.x version for quite a long time. But yet I have no idea when is the Total Due amount generated, is it generated after the Invoice is Paid ? Please anyone provide ...
4
votes
1answer
4k views

Magento 2: How to add a browse button to upload file in admin section?

Working on Magento 2 custom module implementation and want to add a browse button to upload a file in admin form. I have gone through the Magento2 : Admin module Image upload code to display form ...
0
votes
0answers
25 views

How to display collection data in grid ui admin?

I create controller to get data from database as code below. The query in controller: $orderCollection = $this->_salesOrderCollectionFactory->create() ->addFieldToFilter( ...
1
vote
1answer
30 views

How can I disable a field in admin customer edit but enable when create new?

I'm having a enabled field in admin/customer/index/new but when forward to admin/customer/index/edit/id/{id}, I'd like to have it disabled. It'd be great if done in PHP. I notice that both using base/...
0
votes
0answers
12 views

Add a popup and redirect button on an admin form

I have an admin ui_form used to edit some entity and I want to have a button that makes it so that when I click on it, displays a confirmation popup, then redirect to some function, with the ...
0
votes
0answers
16 views

Magento2 Upload Multiple Images in Admin Form

I tried to add multiple images to my admin form. Here is my complete code but unable to upload multiple images to it. <?php namespace Vendor\Images\Block\Adminhtml\Mandirimages\Edit\Tab; /** * ...
0
votes
0answers
7 views

get resource_id of the logged in admin user programatically in magento 2

I want to check if the current logged in user has the administrator role. For that, I want to get the value of resource_id in authorization_rule table for the current logged in admin user. Note:...
1
vote
3answers
7k views

custom admin grid not rendering in Magento 2

I'm trying to display the grid(read only for view purpose, it won't allow edit or delete). My module is calling and heading also displaying in admin panel, but grid not displaying. Even though I'm ...
5
votes
1answer
2k views

How to filter dropdown in custom grid

How to filter drop-down in custom grid in my case its throwing error Below is my grid code protected function _prepareColumns() { $this->addColumn('attribute', array( 'header' ...
5
votes
1answer
1k views

All product images missing from admin but show in DB and front end

Using Magento v1.9.2.2 with patches SUPEE-7405 v1, SUPEE-7405 v1.1, SUPEE-8788, SUPEE-9652. Browsers: Safari & Chrome on Mac OSX. I'm having an issue where none of the images in the product admin ...
0
votes
0answers
10 views

Admin panel performance checklist

Which are the optimizations can I do using just the administration panel? For example, minified and merged JS
7
votes
1answer
720 views

Magento 2 Customer address attribute not saved while creating new order from admin

I have created one "Customer address" type of attribute name "Suburb", It successfully created. It shows on Checkout, Customer create(admin) and Create New Order address(Admin) section, While It ...
0
votes
1answer
22 views

How to configure Varnish in Magento 2 admin?

I've my Magento 2 installed in Cloudways with Varnish enabled, I'm sure that Varnish is well configured because it works in other projects and I can't change the configuration, I'm using the default ...
0
votes
0answers
24 views

Magento 2 href to Add product link from template phtml

I Have made custom admin page view module, now i want add button there click on which should take user to add product URL . i tried below but it is not working <a href="<?PHP echo $...
0
votes
2answers
95 views

Magento 2 Product Grid is Rendering Special Characters as HTML Tags

For some reason my product grid in Magento ver. 2.3.4 (Open Source version) is rendering the special characters & and " as HTML tags. For example creating a product with the name Product name &...
1
vote
1answer
4k views

How to Log user activity in frontend and admin

Is there any way to using tools log activity? Any one have any suggestion how to do this ? Any tools that helps me to log out for frontend and admin.
0
votes
1answer
730 views

Magento 2 Admin Config - Add dynamic Image field programmatically - Setoptions

I am trying to add a dynamic image field to my admin configuration tab, so far I have the field appearing but I can't save and or preview an uploaded image. I can get this working fine with the ...
10
votes
4answers
5k views

Magento 2.2 error “The page isn’t redirecting properly”

I am testing my own module on Magento CE 2.2.0 but keep getting "The page isn’t redirecting properly". Looking at the network traffic I see these requests: /magento22-acumulus/admin/ /magento22-...
0
votes
0answers
16 views

Add To cart, Login(Frontend and backend) not working after upgrade Magento 2.3.3. Showing Invalid form key Please Refresh your Page in Chrome

I am constantly getting this Error Invalid Form Key in Chrome in various sections of website. Tried following things - max_input_vars = 200000 env.php has value 127.0.0.1 instead of localhost ...
0
votes
0answers
18 views

Magento 2.3 limit scope change in admin

How can one limit the change of scope in Magento 2 admin https://nimb.ws/QVDXuL. Like if a user is ABC then he can only view ABC store view and not default store settings in (dashboard and ...
2
votes
2answers
2k views

How to add Details field for Custom option in magento admin?

For the custom options of simple prodcusts i have to add one text field for value of color. How to add it.
1
vote
2answers
3k views

Magento 2: Admin returns 404 using NGINX/PHP 7

I'm attempting to setup a local development version of Magento 2. I'm importing the database from a currently running Magento installation. The site works correctly, but I'm unable to access the admin ...
0
votes
1answer
15 views

Attributes not appearing in grids like “add crosssell products” - data migration caused issue

I have a magento site that was created by the official data migration, but recently I added 2 attributes post migration. Today I noticed that the "add related/crossell/upsell" grid displays these two ...
0
votes
0answers
15 views

Admin Add a New Button in Form Container which send form to other controller

In magento 2 Admin i have create a form using a NON UI component method that is using block classes. I wanted to submit this form to two different controller. By default it sends data to save ...
0
votes
0answers
20 views

how to add 5% discount in price and display the discount price in product details page and added to the cart in Magento 2

I need to add a 5% discount apply in the product and display the discount price in the product price below the next line in the product details page. I added to the product in cart it adds only ...
0
votes
0answers
11 views

Link to specific admin URL from anywhere

I'm building a chrome extension, and I want it to contain a link to a specific page within the Magento2 admin area. But I've noticed that when sharing links to specific admin pages, after logging in ...
1
vote
2answers
2k views

Css and js not loaded in Magento ver. 1.9.2.3

Css and js not loaded in Magento ver. 1.9.2.3
0
votes
1answer
882 views

Magento 2 - Create csv file for download in admin

I need to create a file in mangento 2 admin. I'm using a button to get in a controller route. My form ui component: <item name="buttons" xsi:type="array"> <item name="save" ...
0
votes
1answer
43 views

Action in admin grid magento 2 not showing

I'm having problem here. I found a similar problem with mine but the answer is not working on my code. this is the same issue with mine Edit Action column is not showing in admin grid in magento 2 ...
0
votes
2answers
2k views

Magento 2 : How to Customise Admin Sales Order Grid Collection

I am trying to customise admin sale order grid collection. I have created an custom sale_order attribute store_manager. These store managers are admin users eg: 'manager1', 'manager2'. 1) Orders are ...
0
votes
0answers
23 views

I am getting 0 prodcut price whwn I add in my Cart fro admin panel

Whenever i am trying to add product in cart from admin panel its getting 0. I don't know why because it was working fine earlier.
0
votes
2answers
299 views

How to Add Date with Time in Orders Filter : Magento 2 Admin Section

In M2 Admin I want to filter my orders with date and time, by default date only in purchase filter section. How to add date and time here. Purchase Date with time already show in the order grid!. How ...
8
votes
3answers
5k views

Magento 2: How to get admin user detail load by id?

I have an admin user id 15, How to load the model to get username and user role? In Magento1 this was possible using: $adminuserId = 15; Mage::getModel('admin/user')->load($adminuserId)->...
0
votes
1answer
970 views

How to set frontend compilation via the database

How do you set the front-end workflow option via the DB rather than the admin? This is the setting I'm referring to: Stores > Configuration > ADVANCED > Developer > Front-end ...
0
votes
1answer
667 views

How to add a custom block on sales order's create page inside admin panel?

I want to add a custom block on sales order's create page under admin section. Here is my code: <adminhtml_sales_order_create_index> <reference name="sidebar"> <block ...
0
votes
0answers
16 views

Access uiComponent form data in javascript

I'm trying to create a button on my admin form that triggers a confirmation popup then redirects to a custom controller with the id of the current loaded entity in the form. From what I have read in ...
0
votes
2answers
3k views

Magento Product custom attribute options not showing up in admin

In my Magento ce 1.9.2.1 website, I have created many product custom attributes by setup-upgrade scripts like below: <?php $installer = new Mage_Eav_Model_Entity_Setup('core_setup'); $installer-&...
12
votes
24answers
43k views

Magento2 admin menu panel doesn't work

magento2 dashboard: All admin menu link don't work and have a strange icons. Why? I can't do anything.
0
votes
2answers
1k views

How to add phtml file at edit tab of Magento 2 custom module in admin?

I have created a custom module. When we click on the admin grid to edit, it opens edit page. In that I am showing tabs. When I click on that tab I need to show template file. If you see the below ...
0
votes
1answer
2k views

Magento 2 : Undefined Index : Default

In Backend When I try to change theme at that time I got this error Exception #0 (Exception): Notice: Undefined index: default in /home/cloudpanel/htdocs/project/app/code/Codazon/ThemeOptions/...
3
votes
4answers
6k views

How to send ADMIN AJAX request?

I need to retrieve some information from my custom admin controller using AJAX. But when AJAX is used I get current page's entire HTML ! I simply want to get some JSON data from my custom ...
0
votes
1answer
16 views

Add custom section on order create backend Magento1.9

I want to add custom section when admin order create..
0
votes
0answers
20 views

Magento2 - Admin takes too much time to save data

I am facing a strange issue, whenever I try to save my category data, or update my category or create a new category it takes too much time in admin. Admin keeps on refreshing for a long period of ...
6
votes
4answers
15k views

How can I assign an existing simple product to a configurable product using the admin interface?

I have existing simple products I need to assign to configurable products, however I can't find any interface to do this. This was possible in Magento 1, but I can't see where it is possible in ...

1 2
3
4 5
56