Questions tagged [admin]

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

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

On opening Product Single page gave error from Admin in Magento 2?

I have 60 million Products in my Magento Store. In my Magento 2 Admin When i go to admin panel and click on to view a product it gives me an error . Class StripeIntegration\Payments\Model\Adminhtml\...
0 votes
1 answer
2k views

Magento 2 : How to save file in media folder using custom product attribute?

I have a create product attribute But it's not save file in pub/media folder -> Vendor\Module:- Meetanshi\ProductAttachment -> attribute_field_name:- custom_product_attachment -> Media folder ...
0 votes
1 answer
2k views

Using REST API with admin username and password is good or safe in Magento 2

I am using REST API in Magento 2. For using in Guest user i want to create admin token so i have used CURL Request like this. $ch = curl_init(); $userData = array("username" => "...
1 vote
1 answer
1k views

Button print order does not show

I have a Magento 1.9 and it does not show the button to print order pdf in orders. How I can enable this? Thanks
36 votes
9 answers
39k views

Admin config error: Undefined index: id in Iterator.php on line 59

Can someone please explain this error to me? Exception #0 (Exception): Notice: Undefined index: id in /home/staging/vendor/magento/module-config/Model/Config/Structure/Element/Iterator.php on line 59 ...
0 votes
0 answers
10 views

Magento admin redirecting to 404 not found media/admin

There is an issue arising with a app admin page is redirecting to media/admin and showing 404. Tried clearing cache as well as tried redeploying static content but the issue persists. Checked for the ...
0 votes
1 answer
14 views

how to update the SKU values

Magento Verrion: 2.4.3-p1 Problem: I tried to update the products weight value in the admin panel. I changed the weight value 1.2kgs(current) => 2.8kgs(preffereable) and press the save&exit ...
0 votes
1 answer
1k views

How to resolve Varnish Server Caching Issue in Magento 2?

in my setup, I need to clear varnish caching at the server at all time even I make small changes then also need to clear the varnish cache at the server side so can anyone help me with this?
2 votes
3 answers
5k views

Category has not been created. URL key for specified store already exists

I am trying to upload my stock through the Magento 2 admin panel via CSV. I am getting the following error: Category "Default Category/Aftermarket and Parts/Spare Parts/ Fasteners/Screws and Bolts/...
1 vote
1 answer
2k views

Uncaught Exception: Warning: SessionHandler::open(): Cannot call session save handler in a recursive manner

I move my magento project from localhost to shared server. Now since mod_version was not installed and the hosting provider said that enabling the module was not covered of the plan. So I followed the ...
1 vote
1 answer
4k views

Magento 2 Admin Grid edit form doesn't load input fields

What the code should do is to get fields filled with values because it's edit page. You see on the picture my controller class is loaded and it loads xml file as well but addBreadcrumb doesn't seem to ...
5 votes
5 answers
7k views

Magento 2: Admin Action Logging Not able to Found

I'm using Magento 2 Comminity Edition Version 2.1.2. Need to configure Admin Action Logging. https://www.mageplaza.com/kb/how-to-configure-action-log-magento-2.html Not able to found.
0 votes
2 answers
2k views

Magento 2 - the frontend works, but admin shows "This site can’t be reached 127.0.0.1 refused to connect."

In Magento 2, why can I go to frontend and access the pages, but not to admin. In env.php the adin url is set correctly.
2 votes
1 answer
2k views

Add view button in admin grid to open a view page in slide window in Magento 2

I want to create View Slider in Admin For that I'm following This my files are view/admin/ui_component/marketplace_stores.xml <actionsColumn name="action" class="Apptha\...
0 votes
2 answers
1k views

Magento 2 Get data to admin UI Form without key and collection

Is there a way to get data from a DataProvider to my UI Form component, without having a collection or a key? My DataProvider currently only has a "getData" function and the form is rendered, but I ...
1 vote
1 answer
2k views

Magento 2 : admin file field max upload size

I'm trying to restrict the weight of the uploaded file in admin, I found the 'maxFileSize' in Magento documentation but it's not working : $fieldset->addField( 'files', 'file', [ 'name' =...
0 votes
1 answer
14 views

Add new column for product table in new orders from back end (ADMIN)

I want to add a column in this table. It is the product table to create a new order from the magento admin panel. This is to be able to know the qty per package while creating orders ourselves. Does ...
0 votes
2 answers
2k views

Admin Grid issue in Magento 2

I have created an admin grid, but it is not showing the edit form. My files : 1.Stw\Skipredirectmodule\Block\Adminhtml\Skipredirectmodule.php <?php namespace Stw\Skipredirectmodule\Block\...
2 votes
1 answer
3k views

Magento2 : How to add Custom button [draft] in Product Edit form

I want add a new Draft button in Product Edit page (located between Back and Add Attribute) I am able to add by following the tutorial : magento2-how-to-add-custom-button-in-product-edit-form But, I ...
0 votes
1 answer
1k 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 ...
0 votes
1 answer
16 views

Magento 2 : This site can’t be reached When download backup file

I take system backup excluding media from Magento 2 Admin. Backup file is created successfully. But when I'm going to download getting below error. This site can't be reached The web page at https://...
2 votes
1 answer
1k views

“Could not save product ”5648“ with position 1 to category 6”

When I tried to remove the category from the product edit page the following error is getting displayed. I am saving the product manually via admin end.....
0 votes
3 answers
1k views

Magento 2 : how to get category name in my custom product grid

My prepare collection code : protected function _prepareCollection() { $store = $this->_getStore(); $collection = $this->productFactory->create()->getCollection()->...
8 votes
1 answer
1k 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
0 answers
24 views

Magento 2 - All admin grid keeps loading

In my Magento 2.4.1, all the admin grid just keeps loading. No data is rendering. Showing a js error in console but I don't understand what's wrong. If anyone ever faced this please let me know what's ...
2 votes
3 answers
4k views

Magento:2 How to Image upload in custom module

Image upload working fine in tmp folder, then store in DB. I want to after saving data image stored in the base folder pub/media/events var_dump($data); " ["events_url"]=> array(1) { [0]=> ...
0 votes
1 answer
2k views

Contact us form not display in Block list of Magento 2

I have enabled Contact us form by Stores => Settings => Configuration => General => choose Contacts => Contact Us and set Enable Contact to 'Yes'. But Contact Us Info block not display in Block ...
0 votes
2 answers
1k views

magento 2 sales order grid add payment transaction column

How to add Payment transaction column to sales order grid in admin? Can you please help me step by step? Regards Hiren Shah
1 vote
3 answers
2k views

Magento 2 - can't access admin (backend) after setting up custom Admin URL

I changed the custom admin URL via the admin. I've set Stores -> Settings: Configuration -> Advanced: Admin -> Admin Base URL -> Use Custom Admin URL to Yes I've set Stores -> Settings: ...
1 vote
3 answers
2k views

My javascript doesn't run in a custom magento1.9 module

I try to use javascript for a dropdown list I've implemented into a grid as shown in the image. The renderer I use for this dropdown list is like <?php class ...
0 votes
1 answer
2k views

Admin Grid wont show and getting "Request validation failed for action" error in debug

I was trying to create an admin grid in the adminhtml trying to learn how they function and work and I ran into an issue following this guide: Mageplaza. I've been trying to debug where the issue is ...
0 votes
1 answer
2k views

Magento 2 - How to add ajax tab on admin user edit page in admin section

I want to add a tab on User edit page which can be accessed from grid in section System -> All users. I have managed to add tab but it is not loading through AJAX. When I click on tab it redirects to ...
0 votes
3 answers
2k views

Magento 2 - How to delete store view

I need to delete a store view, but there is no way. How does it work?
1 vote
0 answers
32 views

How to remove default entity_id sorting in magento 2?

I need to remove the default entity_id sorting from category product collection and add position sorting. here i try using the below method > $cp = $category->getProductCollection()->...
2 votes
2 answers
6k 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 ...
9 votes
4 answers
3k views

Why does DataProvider (UiComponent) expect custom data to have custom attributes?

I've built an admin grid following a few tutorials and hit this error: Warning: Invalid argument supplied for foreach() in /home/sadmin/mage/lib/internal/Magento/Framework/View/Element/UiComponent/...
0 votes
1 answer
2k views

Magento 2 : Payment Method is Hidden in Admin When Creating Manual Order

Recently I upgraded to Magento 2.2.2 and tried to create a test order on my site via admin. All goes fine until selecting the payment method. I've enabled Purchase Order as a payment method, and ...
0 votes
0 answers
18 views

magento 2 change multiselct to ui select for custom customer attribute

I want to create a UI select in the customer account area in ADMIN for custom attributes. something like this -> https://dolphinwebsolution.com/magento-2-add-ui-select-component-with-search-filter-...
0 votes
1 answer
2k views

Admin Login redirecting after login

I have cloned my 1.9.1 install to a subdomain successfully. However an odd behavior is occurring. When I attempt to login to the admin, the page reloads, the login fields are blank, and I noticed ...
2 votes
2 answers
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.
2 votes
1 answer
4k 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?
0 votes
1 answer
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 ...
1 vote
1 answer
5k 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.
1 vote
2 answers
3k 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 ...
0 votes
1 answer
2k views

Intermittent 'this site can't be reached' problem with saving admin settings panel

long post, but this is a strange problem. I'm currently running Magento 2.1.9 community with the porto 2.6.2 theme. Every time I try and save the 'Stores -> Configuration -> Porto Settings' Panel ...
0 votes
2 answers
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-&...
5 votes
1 answer
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' ...
6 votes
1 answer
1k views

How to create Dynamic rows in custom admin form?

I want to create a form field which has dynamic rows in that page. Also, I want to store the form data in database table. I already referred this link >> https://github.com/bbakalovGlobal/...
4 votes
1 answer
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 ...
8 votes
1 answer
2k views

"Interface Locale" admin language problem

In my admin page, the "Interface Locale" dropdown is not working. I already switched the default language to German, but is still shows English. The same with Chinese. How can I solve this problem?

1
2 3 4 5
63