Questions tagged [admin]

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

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

how to write php script for saving admin configurations in magento 2

I want to write a script that saves the admin configuration every time when I deploy/upgrade. For example, I need to have a PHP script for saving this admin configuration. Admin panel-> Stores-&...
0
votes
2answers
29 views

Error too many redirects after set developer mode

I have this error after set developer mode in Magento 2. I have tried to deploy static content, clean cache, flush cache, etc... Any idea?
0
votes
0answers
19 views

In checkout page while I'm switching the address the shipping method is not get updated Is there any way to fix the issue?

In checkout page while I'm switching the address the shipping method is not get updated Is there any way to fix the issue ?
11
votes
1answer
697 views

How do I correctly configure Magento to support 2 currencies

Currently I have one website/storeview that uses Danish Krones as currency. Now I would like to expand with a new website that uses Euro as currency. This causes some problems as I am trying to ...
0
votes
2answers
71 views

Magento2 - How to get base url in js file added to backend?

I have try to get base url using mage/url in my custom js , but it return url without base url so, is there any another way using that we can get magento base url in js which is added in admin side ?
1
vote
0answers
41 views

Magento 2 What is the Best way to add the Sales Order view products table to a new tab?

What is the easiest way to add the Sales Order view products table to a new tab? I have the new tab functioning. But can't figure out how to add the Order View Items table to the tab. Here is the ...
5
votes
4answers
3k views

Unique constraint violation found - When remove suffix .html - Magento 2.2.0

When I try to remove the .html suffix from category, Magento 2.2.0 gives me this error. Has anyone else ran into the same problem? How can I resolve it? Thank you
0
votes
1answer
28 views

Magento2 - UPS allowed methods not changing

I am trying to select a few allowed shipping methods under UPS in the Magento 2 Admin. I tried selecting the ones I want (e.g. UPS Standard, UPS Three-Day Select, UPS Next Day Air, etc) by holding ...
0
votes
3answers
21 views

No css/js on admin panel on live version, works locally on my pc

On my live version of the website, On the Admin Login css/js is not loading, I don't have this problem anywhere else on my site. How can i solve this? on my local version on my pc it seems to work ...
1
vote
1answer
35 views

How to increase admin log out time

I have tried but not working. To increase session to time for Admin : Stores -> Configuration -> Advanced -> Admin -> Security -> Admin Session Lifetime (it must be in seconds). Uncheckd uses ...
1
vote
2answers
48 views

Magento 2 Customers not displayed in admin grid

When a customer registers, the details are loaded to the database and the customer is able to login and do the purchases. But in the Customer -> All Customers I am not seeing any registered customers. ...
3
votes
2answers
3k views

Magento 2.1.3 EE - Cart Price Rule is missing “From” and “To” fields for expiration date

I am attempting to create some Cart Price Rules (essentially coupon codes). I believe M2 is supposed to support expiring coupon codes, just like M1. Click the Calendar next to the From field, and ...
1
vote
1answer
41 views

Magento 2 admin grid development

Crud Operation for Frontend and Admin. How Frontend form data save into database in Magento2 and show in Admin grid?
1
vote
2answers
364 views

Magento 2 Add widget using WYSIWYG field in a custom widget

I have created a custom widget and it contains a WYSIWYG field. Everything works fine except the add widget option. When I add the widget it will displayed in the editor. When I click the save ...
3
votes
3answers
3k views

How to create custom product image attribute in magento2.2.5?

I want to create custom product image attribute in magento2.2.5? Created a custom product image attribute but not able to save the image /var/www/html/magento2/app/code/Amy/ImageUploader/Model/...
4
votes
2answers
2k views

How do I reset Magento Admin User Role

I went into Admin->System->Permission->Roles & edit the role for Admin Now, i am unable to re-set back it to original "ALL" permissions. How can i revert back to original settings ? Thanks
2
votes
1answer
766 views

How to Reset Magento Admin Permission

Admin role have no permissions, when I log in I just see only a extensions. How to reset permission in database MAGENTO 2 version?
1
vote
2answers
28 views

How to raise donations in magento 2.3.3 and control amount from admin

Here I want to implement a functionality to raise donations for particular time period. I want this functionality on a CMS page whenever the user clicks on a particular amount it should get for ...
2
votes
1answer
7k views

Magento 2 : Merge and minify js and css

It appears that there is no longer a "Developer" tab in the Admin Configuration/Advanced tab in version 2.2.5 production mode. Although the documentation still indicates there is, I have seen a ...
0
votes
3answers
2k views

Is it possible to display the gross profit of a product as an attribute in the admin page of a product?

Simply looking to create an area/block in the admin area of a product page that displays what the current gross profit is on that product. I.e. calculating the difference between the cost price and ...
3
votes
2answers
982 views

how to modify custom status text color in UI component grid magento 2?

I have created custom module and it has Ui component grid in admin side.. In that grid has status column based on different status color should be change. Eg; if the status is 'approved' text color ...
0
votes
1answer
61 views

magento 2 how to override product views report for custom admin report

Please tell me all the steps to override product view report in my custom module, i am new in magento so i don't know how to do that, thank you
3
votes
1answer
65 views

When Create Invoice Give error Like “Transaction has been declined. Please try again later.” In Magento 2

I have to configure the Amazone pay Payment Method then place an order using amazon-pay successfully after the admin side creates an invoice but gives an error like "Transaction has been declined. ...
1
vote
3answers
293 views

Unable to load theme by specified key: ''" Magento 2.3.4

Here below errors shows when accessing categories within backend. Only started happening since updating to 2.3.4 yesterday. Seen similar errors however normally actually have a key specified and that ...
4
votes
4answers
11k views

Magento 2.3: how to fix blank admin page not rendering

I have installed magento 2.3 latest version, But I never login in admin panel.
0
votes
2answers
91 views

Magento 2: Admin Panel Error in Processing request

I was following the instructions on MageStore to create a new theme. I created frontend > cbg > SimpleTheme and in that I have the theme.xml as follows <theme xmlns:xsi="http://www.w3.org/2001/...
1
vote
1answer
59 views

Prepaid order creation from magento 2 backend

I added a custom payment option for Magento 2 admin. When using the payment option checkout from admin the order total showing as the total due. How to make it as total paid instead of Total Due ...
0
votes
1answer
37 views

magento getURL path always add “admin”

I try to generate a link, by using getURL, but some how it keep adding "admin" behind my hostname, what should I do? getURL cannot use in this case? It use to send out transnational email, if ...
2
votes
5answers
1k views

How to hide item from left menu from admin

Just want to hide 'MagePlaza' from left navigation, which make client confuse. I am trying to find simple and easy solution.
0
votes
1answer
25 views

Magento1.8.1.0 - Admin session timeout won't go above 15min

I have an issue with the Admin session timeout in Magento shop older version 1.8.1.0. I have configured the value in seconds -> 3600 in Admin configuration but it still closes Admin session in 900 ...
5
votes
4answers
2k views

Magento 2: How to add color picker in ui form

I am developing new extension in which I need to add color picker and date picker as well in an admin form. I am developing form using a component. Please check sample screenshot of the form field. I ...
0
votes
1answer
37 views

Admin Redirect 2.3.4

I have 3 stores in my Magento setup, each one going to a unique URL (they share products across all three). I was using version 2.3.1 and everything worked great. When I went to the admin on any of ...
0
votes
0answers
42 views

Admin Grid in Magento2? dynamic Horizontal columns

I have a custom admin grid. i understand how to build dynamic veritical rows. However, I wonder if it's possible to be build dynamic horizontal columns. I would appreciate any advice. below is an ...
0
votes
0answers
43 views

Magento 2.2.8 : Customers Grid date filter returns wrong results

Using Magento 2.2.8 Locale en_GB Customer Since Date Format : DD/MM/YYYY Admin Section : All Customers Grid Trying to filter : Customer Since: 02/01/2020 - 02/02/2020 The results are not correct. ...
0
votes
0answers
18 views

Add Grid listing in UI component form and Save data

I have to create admin form using Ui component. In which I have added two tabs. In 1 tab slider information fields and in the second tab i want to add banners listing using Ui component. I have added ...
0
votes
2answers
2k views

Use having clause in Magento grid

Iam trying build a grid in Magento , where i need to calculate days between two dates so that i can filter days.But i could not get it right with , Following is the piece of collection code in grid ...
2
votes
1answer
2k views

Magento 1.9 admin and frontend always shows 404 not found

Magento 1.9 admin and frontend always shows 404 not found 404 not found randomly shows when I'm on admin or on frontend but when I refreshed that certain 404 page it will work fine. I tried reverting ...
1
vote
2answers
350 views

Upgrade issue 2.2.3 to 2.2.10 Class argument is invalid: xxx\xxx\Ui\Component\DataProvider\DataProvider

I've got a store which has had a significant upgrade. Gone from 2.2.3 to 2.2.10. I've handled a lot of issues already. The frontend seems fine. Having a problem with backend. Getting errors when ...
2
votes
1answer
824 views

Magento 2 How to add grid/phtml file on Slide out panel [ popup modal ] in custom grid action?

Here is the link of what I expected to do in my custom module http://admin-actions-log-m2.demo2.amasty.com/_router/redirect/admin-actions-log-m2/index.php/admin/amaudit/actionslog/index/ just open ...
1
vote
2answers
4k views

Magento 2.3 - Required parameter 'theme_dir' was not passed after applying custom 'Blank' theme

I'm having an issue when applying a custom 'Blank' child theme. I'm running a fresh install of 2.3 on LAMP. I followed the Magento docs with respect to theme.xml and registration.php etc, but after I ...
0
votes
2answers
702 views

Magento 2 - Disable some modules per store view

I have setup two stores in Magento 2.2.6, each store have their own theme and url address. In one store I have Porto theme installed in the second store I have other theme. How I can disable for ...
1
vote
1answer
20 views

Magento 2.3.0: Error when trying to generate shipment more than 3 products

When trying to make shipment of order having more than 3 products then it showing below error - Anybody face this type of issue , please suggest.
18
votes
8answers
31k views

How to change magento2 admin url?

Once the installation is completed, is there a posibility to change admin url? If yes how can I do that?
0
votes
1answer
100 views

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row:a foreign key while placing new order from admin panel

I am getting below error while placing new order from admin panel SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (...
0
votes
1answer
82 views

How to edit User Role Permissions in Database in Magento 2?

Is there an alternate way to change the resources available to each user role? The "System" resource has been removed from the admin role, so alas, I can't access the role resource UI in order to ...
0
votes
2answers
63 views

Magento2 admin Panel Error

When I have install Magento from localhost to Live environment. Front End of Website working fine But Admin Panel Shows error "This page isn’t working mysite.com redirected you too many times."
0
votes
0answers
31 views

Magento 2.3 - If the user interface locale is not English then product Date Change after save

I am facing issue in Product Set Product as New From Date. Every time the date is changed after saving the product just because admin user interface locale is not English. Please check the below ...
0
votes
0answers
13 views

Set up Cart Price rule where when any 11 of a selection of SKUs are purchased, one is discounted off the price

trying to achieve the above. Currently my set up is this: But I only get a discount if at least one sku has a total quantity higher than I've specified. And then the discount is only applied on that ...
0
votes
2answers
92 views

Magento 2 Admin How to load State base on Country

My Form.php File <?php namespace Meetanshi\Registration\Block\Adminhtml\Registration\Edit; use Magento\Backend\Block\Widget\Form\Generic; use Magento\Backend\Block\Template\Context; use Magento\...
4
votes
7answers
24k views

Moved magento to new domain, admin URL redirect to old admin URL

Edit: solved I moved my magento-installation to a new domain, copied the database, changed the app/etc/local.xml to show to new database, changed the web/unsecure/base_url and web/secure/base_url ...

1
3 4
5
6 7
56