Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k 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 ?
Jaykumar Pipaliya's user avatar
2 votes
1 answer
787 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 ...
grok_in_full's user avatar
0 votes
2 answers
714 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 ...
john's user avatar
  • 101
0 votes
2 answers
486 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 ...
Manjunath's user avatar
  • 177
0 votes
1 answer
743 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 ...
Prits's user avatar
  • 626
0 votes
1 answer
306 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 ...
Prits's user avatar
  • 626
3 votes
3 answers
592 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 ...
Wouter Stulp's user avatar
0 votes
1 answer
81 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: '...
Prits's user avatar
  • 626
0 votes
1 answer
69 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 ...
Asad Ullah's user avatar
  • 1,461
0 votes
1 answer
971 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 ...
nlegall's user avatar
  • 21
0 votes
0 answers
24 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?
Nafsss's user avatar
  • 760
2 votes
1 answer
2k 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 ...
Shoaib Fareed's user avatar
1 vote
0 answers
211 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 ...
Paloma Martinez's user avatar
2 votes
0 answers
97 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 ...
Alan Zavagli's user avatar
1 vote
0 answers
631 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:...
sumeet bajaj's user avatar
  • 1,296
0 votes
1 answer
422 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.
Pratik Kamani's user avatar
1 vote
1 answer
699 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?
Nafsss's user avatar
  • 760
2 votes
0 answers
21 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('...
Denys Maksiura's user avatar
1 vote
1 answer
82 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 ...
Andres Ramirez's user avatar
1 vote
0 answers
37 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?
omelandr's user avatar
  • 1,267
2 votes
1 answer
162 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::...
Deep Shah's user avatar
  • 555
0 votes
1 answer
278 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->...
jojo's user avatar
  • 29
0 votes
0 answers
161 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> ...
Dominik Adamski's user avatar
0 votes
1 answer
183 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!
artgrohe's user avatar
  • 133
0 votes
1 answer
515 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 ...
Kazim Noorani's user avatar
0 votes
2 answers
887 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 ...
JGeer's user avatar
  • 1,418
1 vote
0 answers
147 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.
Rafael Fagundes's user avatar
0 votes
1 answer
597 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" &...
Ramesh KR's user avatar
  • 866
0 votes
1 answer
803 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.
Mayur Sisodiya's user avatar
1 vote
0 answers
445 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\...
J. Doe's user avatar
  • 259
0 votes
0 answers
62 views

Magento 2 Cannot override vendor file

Here am trying to override a admin page, but it cannot override, here is admin path: /public_html/vendor/magento/module-shipping/view/frontend/templates/tracking/details.phtml Override path : /...
Praveen Negimani's user avatar
0 votes
1 answer
130 views

How do I override block class for Sales Order Products grid?

I'm working on Magento 2.3.2 and am trying to override a block in adminhtml. I overrode the template file perfectly fine, but it seems layout updates are being ignored? This is the class that gets ...
treyBake's user avatar
  • 141
1 vote
1 answer
198 views

Magento 2: how to overide adminhtml phtml file

As I don't have implemented admin theme I have to override /vendor/magento/module-payment/view/adminhtml/templates/info/default.phtml file in my custom module. how can I write my layout file to call ...
Mustafa Ali's user avatar
2 votes
0 answers
138 views

Magento 2: admin ui-component tab view from issue

In admin ui-component in a custom module, when I use page layout admin-2columns-left and <layout> <navContainerName>left</navContainerName> <type>tabs</...
Iftakharul Alam's user avatar
0 votes
0 answers
296 views

Magento 2 Adminhtml add a custom table

I want to add a table here Like the one in customer -> edit. I figured out how to create it (in system.xml): <system> <tab id="example_tab" sortOrder="10"> <label>MYModule</...
Simone Cancellara's user avatar
0 votes
1 answer
560 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 $...
user1799722's user avatar
0 votes
2 answers
1k views

Want to add a order line item column in the admin panel order view page

I need to add the additional column in the table the field is already in the table i don't want to create it. Field name in table is additional_data in sales_order_item table. The below showed image ...
Sabareesh's user avatar
  • 358
1 vote
1 answer
881 views

How to Debug UI Component only showing spinner

I am currently developing a customer AdminHtml page with a form, and after fixing some other errors (which showed error messages) it shows only the spinner when loading the page. How can this be ...
Alex's user avatar
  • 13.8k
1 vote
0 answers
255 views

Magento 2 mage/url in Admin

I have followed this solution Magento2: How to get adminUrl in js file using something like 'mage/url'? and its perfectly working. But when i add Add Secret Key to URLs that time it don't work....
Avesh Naik's user avatar
  • 1,200
0 votes
1 answer
252 views

How to render date field in UI component (in php not xml) in magento 2

How to render date field in UI component(in php not xml) in magento 2 I am building form as in the catalog (meta arrays), datetime eav attributes. I have tried like below 'date_of_stock' => [ ...
Jaisa's user avatar
  • 2,606
0 votes
1 answer
357 views

Show Tier Price in Product Grid of Sales Order creation form Magento 2

I'm trying to show the Tier Price in the Product Grid of the sales order creation page, but can't show. I tried the below code. added the column to _prepareColumns() method from Magento\Sales\Block\...
Bojjaiah's user avatar
  • 3,992
0 votes
1 answer
758 views

Magento 2 | Add field to customer edit in adminhtml

I want to edit a field to the customer edit in admin html. When you look at the picture I want to add a field below "First Name". I don't want to create a customer attribute, I just want to add a ...
user11455652's user avatar
1 vote
1 answer
711 views

knockout template html file in adminhtml area is not rendering

I am trying to initialize the knockout component in the admin html area, the respective code is below. phtml file to initialize ko template <?php /** * @var \JC\ChatSupport\Block\Adminhtml\...
Jaya chandra's user avatar
0 votes
0 answers
229 views

Magento 2.3.3 - Error while uploading image to products in admin - A technical problem with the server created an error

I am facing this error. I have tried various things like changing fileUploader to ImageUploader, flush, clean cache etc.. But nothing so far is working. I further checked the Magento\Cms\Block\...
Gagan's user avatar
  • 1,478
0 votes
0 answers
69 views

How to Delete Export Folder?

I am trying to delete one invalid folder from magento default export functionality. But its throwing on error page. I have attached images, looks like magento default issue. If anyone faced this ...
Soni5041's user avatar
  • 145
4 votes
1 answer
2k views

Magento 2 : Sales Order Grid table is empty but data exist in sales_order

Magento 2.3.3 CE Sales Order Grid table is empty but data exist in sales_order and sales_order_item. Earlier I have thought that some module issue so I have disabled all but still after running ...
Sudhanshu Bajaj's user avatar
0 votes
1 answer
75 views

Block Not Seen by Controller Magento 2

I have a module that primarily works with the admin-side of Magento 2. At the minute, I'm just trying to parse a CSV file and log the contents, here's a skimmed version of my Block class: app/code/...
treyBake's user avatar
  • 141
1 vote
0 answers
47 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 ...
teamdane's user avatar
0 votes
1 answer
719 views

What is the difference between scope website and websites?

I know Magento 2 have store, group, website, stores, groups and websites scopes type. But my question when Magento use singular form and when it uses plural form. Under core_config_data table ...
Sudhanshu Bajaj's user avatar
3 votes
1 answer
2k views

How to Override 3rd party module requirejs-config.js file in my custom module?

The above one is the 3rd party module's require-config.js. It contains the js file inside the adminhtml/web/js. I want to override that. So I created a custom module and made changes in the require-...
Kowsigan Atsayam's user avatar

1 2 3
4
5
34