Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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
21 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\...
0
votes
0answers
4 views

Magento 2 custom admin table DateTime slider doesn't work

I've been trying to get the Magento Admin to let me enter a time using the proper components, however it appears to error out. I can't even get it to match the Date above it. Posted below are the ...
0
votes
0answers
19 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 : /...
0
votes
0answers
14 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 ...
1
vote
1answer
32 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 ...
0
votes
0answers
13 views

When order Items has zero order quantity the order items are not showing - magento 2.3

When Order items has zero order quantity then order items are not showing in order admin panel how can i resolve it. How to get solution for this scenerio in magento 2.3 Note : I need to give zero(...
0
votes
0answers
10 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; /** * ...
1
vote
0answers
18 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</...
0
votes
0answers
54 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</...
0
votes
0answers
21 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
0answers
13 views

When i tried to show extra coulum in order line item the shipping & handling infromation hidded magento 2.3

I had used the way to add the column https://magento.stackexchange.com/a/311150/86254. Only overwrite the sales_order_view.xml inside the Magento_Sales /var/www/html/development/amt/app/design/...
0
votes
2answers
59 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 ...
0
votes
0answers
19 views

Get Checked Checkbox value in Controller Magento 2

I have created a custom form in admin, from there I have created checkboxes and I am trying to save checked checkboxes values in db by implode explode, bt in controller I am not getting selected/...
1
vote
1answer
79 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 ...
0
votes
0answers
37 views

Magento Admin Panel crashing for 450 address

One of our magento customer has 450 address. When we navigate to customers->address tab in admin panel, the address list is taking forever to load and getting browser messages like This page is ...
0
votes
0answers
18 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....
0
votes
1answer
15 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' => [ ...
0
votes
0answers
8 views

How To Enable Website Filter In Admin Dashboard Magento 2

I want to Enable Website Filter In Admin Dashboard. Now When I open the dropdown then just websites stores views are enabled but I want to filter the data against the website. Please See the Image ...
0
votes
1answer
21 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\...
0
votes
0answers
8 views

Filter For Custom Column for product grid not working in magento2.2.6

I have created a custom column in Product gird by a module, which shows Seller name there. It's working fine but when I try to filter it Magento gives "Something went wrong with processing the default ...
0
votes
1answer
13 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 ...
0
votes
0answers
11 views

Magento 2 | Adminhtml | How to change sort order in customer edit

when you edit a customer in adminhtml how could I, for example, change the sort order of first name and last name. Do you have any idea? Thanks in advance!
0
votes
1answer
27 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\...
0
votes
0answers
15 views

Import button + File browse field in custom admin page in Magento 2

I have created a custom admin page on Magento 2. Now I want to show Browse file after browsing when click on Import button it should go to a controller to process the file data.See the below ...
0
votes
0answers
26 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\...
0
votes
0answers
18 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 ...
1
vote
1answer
66 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 ...
0
votes
1answer
26 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/...
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 ...
0
votes
1answer
54 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 ...
2
votes
1answer
99 views

How to Override 3rd party module requirejs-config.js film 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-...
2
votes
0answers
57 views

Magento 2: How to link an admin form and list UI component via insertListing?

I've created an admin form UI component for an entity that I've created: Vehicle. The idea is that you can create/edit vehicles in Magento, and then assign them to products via a list component (...
0
votes
0answers
28 views

Magento2 - Attribute save before event for mass update

I need to modify some custom attributes on mass update of products. Now magento schedules the attribute save and runs the process in background and the event catalog_product_attribute_update_before ...
0
votes
1answer
26 views

Custom admin form works in localhost not works in server in magento 2

Custom admin form show in localhost not display in server in magento 2 I have follow this reference to create a custom form in admin https://www.maximehuran.fr/en/layouts-and-forms-on-magento-2-...
0
votes
1answer
233 views

Magento 2 admin menu action result Invalid security or form key. Please refresh the page. on click

I have succesfully added a new admin menu. But the problem is whenever i clicked the admin menu button, I got Invalid security or form key. Please refresh the page. Here're some of my codes. This is ...
0
votes
1answer
15 views

How to show and hide select box field in adminhtml form in backend

By default, Footer group select box should not be displayed. And when clicked on position select box footer it should display Footer group select box $Lastfield = $fieldset->addField( ...
0
votes
1answer
39 views

Magento 1 - Create own adminhtml theme (to override templates from adminhtml)

I need to override the file app\design\adminhtml\default\default\template\catalog\product\edit\options\option.phtml. What steps are required?
0
votes
0answers
27 views

Magento 2.2.3 admin ui component works on developer not on production page is blank

My Custom admin page isn't loading up. I get a blank screen I have taken a look at the similar questions in Magento.StackExchange but none of them did the trick. it works if I put the MAGE_MODE to ...
1
vote
1answer
45 views

Custom Attribute for Product Image Not Showing Saved Values in Admin Form (Media Gallery Attribute)

Similar to below: how to save image custom attribute in magento 2 Have followed above question and added a custom text area attribute. So far the field shows for me under "Alt Text" and then ...
0
votes
0answers
50 views

Salse order not open adminside in magento 1.9?

Guy's, The Salse order view page can't show on the admin side. I have installed the security patch 10975, 11155, 11219. then i will check my admin side so i can not see order view page. - https://...
0
votes
1answer
17 views

Prevent “New Order” Notification Checkboxes from Being Re-Checked Automatically

I've edited the adminhtml template for these checkboxes (totals.phtml) and successfully removed the "checked" attribute that causes them to be checked by default. Now, when the New Order page first ...
1
vote
1answer
94 views

Magento 2 :- Date Rang Filter modification in UI components

I used below code to display the delivery date now i want to call my custom file to filter the admin side grid section in sales order grid section. <?xml version="1.0" encoding="UTF-8"?> <...
0
votes
0answers
12 views

Magento 2 how to modify Products fields and attributes in Backend?

I want to use Magento to create a property sales website, basically the Products are the same as the properties, they will have images, prices, description and location or size measurements in square ...
1
vote
1answer
55 views

Magento 2 delete event get product skus using observer

I need to perform a operation when a product is deleted from admin. So I have created a observer using below code which is working fine. Vendor/Module/etc/adminhtml/events.xml <?xml version="1.0"?...
1
vote
0answers
39 views

Magento2: How to add css file in admin backend for RTL?

I want to add custom css in backend that only work when user change the Arabic language from admin side. How can I add css for backend on conditional basis? Can any one help me on this which would ...
0
votes
0answers
16 views

How can i add a product per page dropdown in grouped product for child product list in admin

magento provides product per page feature for general products list in admin. and for gruped product list magento provides page switcher. but i want to add a dropdown in group product page like this....
0
votes
0answers
20 views

Magento 2 admin Ajax call failed bad request

I'm using custom js in Product Add/Edit page of magento 2 admin. I need to make a ajax call when the product save button clicked. I used the below code. require(['jquery', 'domReady!'], function ($) {...
0
votes
1answer
71 views

Magento 2 Admin controller is not working 404 error

I don't why my admin controller is not working, I have checked it and everything seems to be ok. This is my code: etc/adminhtml/routes.xml <?xml version="1.0"?> <config xmlns:xsi="http://...
0
votes
0answers
17 views

Loading js in adminhtml after the page is totally rendered

I'm using custom module to work in Magento 2 admin catalog page to implement some js stuffs. My js is working but it loads before the dom loads in adminhtml. require(['jquery','domReady!'], function ...

1
2 3 4 5
31