Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

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

check admin loggedIn on frontend magento 2

i have tried through this method public function isAdmin() { $this->_coreSession->start(); echo $this->_coreSession->getMessage(); echo 'session test4'; ...
1
vote
2answers
28 views

Product images not showing

I'm experiencing a strange behaviour: all the product images are present if I edit a product on the backend. But if I visit the product list in the backend or frontend, or the product view in frontend,...
0
votes
1answer
22 views

how to check admin loggedin or not on frontend magento 2 [duplicate]

how to check admin loggedIn or not on front-end magento 2 .I have tried this class BackendAuthUserLoginSuccess implements ObserverInterface { const DEFAULT_SESSION_NAME_OF_FRONTEND = 'PHPSESSID'; ...
0
votes
0answers
27 views

Filters are missed in Admin Panel

For some reason filters in Admin Panel are missed. I tried to debug it but it is without any result. Can someone say where this collection is prepared or maybe why is it happens?
0
votes
0answers
15 views

Can i add internal links in adminhtml?

i am writing an payment module but sadly it only supports one currency. i would like to add a message which currency is supported and provide and internal link to the currency setup setting on the ...
1
vote
1answer
51 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
0answers
11 views

Expand admin catalogue product block (`admin__collapsible-block-wrapper`) by default

I want to expand by default some of the blocks present on the product detail page in the admin part like Product Reviews or Images And Videos. I see that some of the HTML attribute are changed when I ...
0
votes
0answers
3 views

How to display USD values within reorders above the international value in Order totals?

I am trying to display the USD values above the international value in Order totals in REORDER PAGE ADMIN. I can see that the columns and ORDER TOTAL section is generated in this file app/code/core/...
0
votes
0answers
7 views

Add caption or helper text to admin filter in magento 2

I added a filter in my admin panel. But i want to add a helper text before or after the input field. Like the 'more information about...' in this screenshot: Right now the field config i have is this,...
0
votes
1answer
41 views

Magento 2 Add New Category Description

I built a simple module to create another field for the category description. But I get an error: The attribute with a "added_category_description" attributeCode doesn't exist. Verify the ...
2
votes
1answer
33 views

Magento 2: How to save form data to sales_order_item table from .phtml file of adminhtml in magento 2?

Have created form in .phtml file which is display in sales_order_view page in admin. So how to save the form values in sales_order_item table from .phtml file? [Vendor]/[module]/view/adminhtml/layout/...
0
votes
1answer
21 views

How can I add Country and State dropdown in Custom admin form?

I want to add country and state drop down in custom admin form. How can I do that ?
0
votes
0answers
11 views

Magento 2 - Admin Grid Listing with Third Party API

I created admin grid according to devdocs guide. But my requirement is to list third party API data into admin grid. Let's take example of https://jsonplaceholder.typicode.com/users API. How I can ...
0
votes
1answer
12 views

So many admin-related checkboxes grayed/greyed out in ALL scopes

For unknown reasons I am currently unable to modify a large proportion of settings, such as those for enabling template hints, although this was possible at some time in the last month, as evidenced ...
0
votes
0answers
19 views

Magento 2 How to call adminhtml Block in Particular Tab

I have developed a custom module for admin and in created form , edit section...etc. in the mydata_section_edit.xml file I have created 3 tabs: General Order Storedata(I am trying to calling the ...
0
votes
1answer
50 views

Magento2 behind AWS load balancer too many redirect admin

I have install magento2 in AWS ec2 behind a load balancer . But when i try to access to login admin page i have error too many redirection The problem is all solution i have fine not work . I try all ...
0
votes
2answers
58 views

Restrict adding products to cart from admin order create

I am creating order from admin end. My requirement is to restrict few products to place order only from admin. I need to show some message when those particular product selected and added to Order, I ...
0
votes
1answer
47 views

How to save custom table data in Magento 2?

I have created a table using a Controller and Model and in that file show some data. But i don't know how to save that data in database i have created a table in Magento 2 db. But don't understand how ...
0
votes
0answers
9 views

Magento 2.3: Round Brackets Issue In Product Meta Fields

I'm using Magento 2.3.4, I don't know why this is happening but when I enter round brackets () in Meta Fields e.g Meta Title Meta Keyword Meta Description and save product it gives me an error like: A ...
0
votes
1answer
37 views

I have created a custom module for backed to add menu and submenu but it shows me on phtml file in Magento 2

I have created a custom module for back end Menu and sub menu but it shows me an error for phtml file. 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template ...
3
votes
3answers
107 views

Cant save configuration in backend

When I edit something in system -> configuration, it doesn't matter where, for example i want to edit the store contact address, it doesnt save my edit. I can change and add products but I cant ...
0
votes
1answer
41 views

I have created a custom module for backed to add menu and submenu but it shows me Error?

I have created a custom module for back end Menu and sub menu but it shows me an error. 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: '...
0
votes
1answer
20 views

How to override magento_sale module phtml file?

I am unable to override this file in adminhtml of magento_sale module here is the path vendor\magento\module-sales\view\adminhtml\templates\order\create\totals\shipping.phtml The issue is that file ...
0
votes
1answer
55 views

Admin order page: add print button

I found almost how the print button is created on the invoice page (invoked from vendor/magento/module-backend/view/adminhtml/templates/widget/button.phtml) with the debug option in Magento2. I would ...
0
votes
0answers
13 views

<container name=“root” label=“root”> render multiple times content upon clicking on search of grid

I have tab on customer admin, and my tab layout file conains, <container name="root"> <block name="some.anothername" template="Some_Module::random....
0
votes
0answers
15 views

Magento 2 not index price after change user db

i using magento 2.x, yesterday i wan`t user and pass mysql. Website run success but i checked table catalog_product_index_price. It not insert new row when i insert new product I reindex and clear ...
0
votes
0answers
17 views

How to override adminhtml template file in magento 2.3.2 [duplicate]

I want to override account.phtml file located at /vendor/magento/module-sales/view/adminhtml/templates/order/create/form How can i do that?
2
votes
1answer
69 views

Admin GRID Not Showing Data with ui_component

I am creating a custom module to show some listing data submitted from frontend to database after save to show it in admin GRID. Saving data is working fine but listing in GRID using ui_component is ...
1
vote
0answers
19 views

Magento 2: How to create custom grid report based on Order collection?

I want to create a new report showed as an option at Reports -> Sales -> My New Report This new report should be based on the Orders collection joined to other existing Magento core tables, as ...
2
votes
0answers
18 views

Hide tab on custom form switching select values

I'm working on building a custom form where i need to show and hide other tabs of other form based on a select Value, So pretty much i want, when switching on the second value to hide the second tab ...
1
vote
0answers
34 views

Magento 2 override admin Controller Address Save.php

How to override admin controller address save.php I am using this code - di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1answer
44 views

How to add Dynamic fields for custom extension at Admin side magento 2

How to Create Dynamic Generated Field at the admin side in custom extension.
0
votes
1answer
62 views

How to override adminhtml template file in magento 2

I want to override one adminhtml template file located at /vendor/magento/module-sales/view/adminhtml/templates/order/create/form/account.phtml What steps i need to follow?
2
votes
0answers
14 views

how to correctly display the chart in adminhtml module

I am trying to display a graph of employee statistics in the module My function in controller public function GraphicInfoAction() { $username = $this->getRequest()->getParam('...
1
vote
1answer
22 views

limit file type in admin custom module

Hi everybody how are you I have a problem to limit the type of file that can be uploaded from the administrator panel in a custom module, I only need the type csv and xls I try a class that extends ...
1
vote
0answers
12 views

magento with M2E Pro ReferenceError: ListingProductAddObj is not defined

I use M2E Pro with Magento 2.3.4 clear installation When I'm trying set config in M2E Pro I got an error in console. Have somebody the same error? is it a problem with extension or with Magento?
1
vote
1answer
20 views

I am facing this error while fetching data to admin grid in Magento

I am facing this error while fetching data from custom table in Magento 2.3.5 the error is: Argument 1 passed to Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider::...
0
votes
1answer
29 views

Generate Admin URL from frontend Magento 2

I have to generate secure Admin URL in the frontend, for example in Magento 1.9 i can achieve it like this: $adminUrl = Mage::getUrl('adminhtml/sales_order/view', array( 'order_id' => $order->...
0
votes
0answers
8 views

select element or add filter after massaction

I need your help because I really can't move forward with my problem. I would like to select or filter the elements that have been manipulated during my massaction in sales_order_grid. So I would like ...
0
votes
0answers
14 views

Admin Panel Grid - filter without column

Does it possible to create filter on grid without related column in grid? Now I'm using code like this: <column name="name" sortOrder="30"> <settings> ...
0
votes
1answer
17 views

How to show helper text / hint / label under product attributes in magento2?

I want to show some helping text under custom product attributes in the product grid in adminhtml. Is this possible? Thanks for guidance!
0
votes
1answer
32 views

How to make inline edit in admin order grid row?

Can any one please let me know how to override admin sales order grid ui component to make it inline edittable? I have added custom column in the sales order grid and want to make it edittable. Please ...
0
votes
0answers
17 views

Magento2 - How to get json data from layout js to a php file?

I need to add a javascript into customer edit page in admin panel, I had created /view/adminhtml/layout/customer_index_edit.xml and /view/adminhtml/web/js/customer.js customer_index_edit.xml <?xml ...
0
votes
2answers
58 views

Magento 2.3 - Admin create order customer grid add company name

I want to add the company name to the customer grid, when you create a new order in the admin panel. Therefore I created the following module, but there is no field with company name added to the ...
1
vote
0answers
13 views

How to create a custom UI Component dropdown field?

Hi i'm new at magento 2 and i want to create a dropdown field with two custom strings options. And if possible in other ocasion i would like to customize with a sql select values.
0
votes
0answers
9 views

Generating custom pdf in magento 2

I am making one custom pdf as per my requirements here https://prnt.sc/svwkhr Can any one tell me how to get order details of the selected order https://prnt.sc/svwlvo in Controller Index.php file. ...
0
votes
1answer
37 views

Magento admin ajax call file upload

I'm trying to make a ajax call in admin page to upload a csv file in directory then to make a stock update function. In my PHTML: <form method="post" enctype="multipart/form-data" id="ajaxCall" &...
0
votes
1answer
90 views

Magento 2 : How to get admin user data in observer?

I have observer of backend_auth_user_login_success. I need the data of the admin user who is login in observer. Can anyone please help me into this? Thanks in advance.
0
votes
0answers
17 views

Magento 2 - Call form to Create new Customer in Adminhtml

I am trying to create a custom module where my company needs the ability to create a new customer from Adminhtml without leaving the page. I figured loading the form into a modal with ajax would be ...
1
vote
0answers
42 views

How to save data in custom table onclick custom button from Customer Edit page Adminhtml? magento 2

Basically so far I have added a custom button(highlighted in image) on admin/customer/edit page. In order to add the custom button I have overridden \vendor\magento\module-customer\view\base\...

1
2 3 4 5
32