Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

Filter by
Sorted by
Tagged with
0
votes
0answers
14 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
24 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
42 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
14 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
30 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
19 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
32 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
10 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
12 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
85 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
30 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
32 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
15 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
34 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 ...
0
votes
0answers
6 views

Add Custom grid with filter in Admin catalog page

I need to show custom table data in Grid with filters in Magento 2 admin product Add/Edit Page. I used this below code in /app/code/Vendor/Module/view/adminhtml/ui_component/product_form.xml <?...
0
votes
0answers
24 views

Issue with Order View in Magento Admin - Unable to unserialize value

I have migrated orders from Magento1. after that, I have an issue while viewing the orders in Magento2 Admin version 2.3.3. Exception log [2019-12-23 10:49:50] main.CRITICAL: Unable to unserialize ...
0
votes
0answers
9 views

How to create sign up form in frontend and save data in admin grid page in magento2?

I need to create a sign-up form in frontend and save data in DB and display the data details in frontend and form data display in admin grid.
0
votes
3answers
56 views

Magento 2.2.4 Overriding vendor/magento/module-catalog/view/adminhtml/layout/catalog_product_edit.xml

I am trying to hide the Store View change option by overriding vendor/magento/module-catalog/view/adminhtml/layout/catalog_product_edit.xml and commenting out like this: <?xml version="1.0"?> &...
3
votes
0answers
31 views

Magento 2 Edit Product page Error: Every derived table must have its own alias

I'm using magento 2.2.5 and when i opened the edit product page the product name, price,etc doesnt load at all, and when i checked the var/log/exception.log i got the following error: ...
0
votes
0answers
15 views

Change Logic of Sort Orders Magento 2 Catagory Product Tab Grid

On category pages when sorting by position on frontend 0's come after positive numbers. However on admin if category products tab when sorting by positions my 0's come before 1's which is logical ...
1
vote
1answer
68 views

How to add an extra custom block to dashboard in magento 2?

I want to show some new custom block in magento admin dashboard as well as want to remove some existing unwanted blocks? How can i do this?
1
vote
0answers
18 views

How to use an array for the field name in a UI component?

How do I set the name of a UI component field to use a nested array rather than just the name? As an example, I want it to be: <input name="something[field_name]"/> Currently it is: <...
1
vote
0answers
14 views

Magento Custom Module named Bms_Scan not getting Displayed in Advanced Page of Magento Admin Panel

Config.xml file <?xml version="1.0"?> <!-- /** * @category Bms * @package Bms_Scan * @author ModuleCreator * @license http://opensource.org/licenses/osl-3.0.php Open ...
0
votes
0answers
22 views

Magento 2 - Load all cms page media

I'm working in Magento 2.3.3 and doing admin work and need to get information from the media that's available. So, for instance, I want to loop through the data and the media uploaded into the cms ...
0
votes
1answer
25 views

How to add custom column in admin grid using block in magento2.2.5?

How to add custom column in admin grid using block in magento2.2.5. I dont know how to implement this task. Could you please help me? please find the below screenshot. https://prnt.sc/q267fw
1
vote
0answers
18 views

Default store as empty value in customer creation page

I would like to set default store value to empty value or 0 in stores dropdown list near field "Send Welcome Email From", in customer creation page. I like also to receive an error when user keeps ...
1
vote
1answer
53 views

Magento 2 - Admin js config

In Magento 2.3 inside of a template for the admin area: Moduel\Vendor\view\adminhtml\templates\template.phtml I'm trying to add a button to open up the MediabrowserUtility with the url. Code ...
0
votes
0answers
40 views

Magento2 how to display product attribute in admin edit form with multiselect? [duplicate]

I have created one custom module and in the admin edit form, I want to show product attributes with multi-select in the edit form. The product attribute size has multiple values. There is one ...
1
vote
1answer
60 views

In magento 2, How to get available sales rules value in the multiselect field in admin form

In magento 2, How to get available sales rules value in the multiselect field in admin form Expectation:
0
votes
0answers
40 views

Magento 2 How to create a dynamically populated select field in admin UI component form?

Is there a way to populate a select dropdown field with the values of what is selected in another multiselect dropdown field on the same page and fieldset? This is in regards to the ui component form ...
1
vote
1answer
51 views

How To add renderer to magento admin form field in magento 2

I have one field in my custom admin form.I want to add a color picker to the field. Below is my code lines in main.php file. $fieldset->addField( 'state', 'select', [ ...
0
votes
1answer
133 views

Magento 2 wysiwyg editor hide/show button not showing with custom category attribute?

I have create custom category attribute as wysiwyg editor under content fieldset. Attribute is showing and working fine but I want to add Hide/Show Editor button with atribute. How can I do this? ...
0
votes
0answers
13 views

magento1.9, adminhtml, request ajax return 404

i am calling to ajax, when the user entered the data in input, but it constantly returns 404 status my code on my phtml file <script> $j(document).ready(function(){ var typingTimer;...
0
votes
2answers
97 views

Grid not displaying in admin - custom Resource Model

I have a custom resource model mapping to a table named soldiers_thewatcher_watch with a primary key: watch_id. I added the Grid UI component as well as a controller and admin link, but when I ...
0
votes
2answers
113 views

Can't edit HTML of a field in admin area

I want to edit HTML of "Url key" field in product editing form in Magento 2 admin area appending some additional HTML to it. Magento 2.2.9. I tried editing method UrlKeyRenderer::getElementHtml() but ...
0
votes
1answer
22 views

Magento admin ui after render event

I'm trying to create a custom text-area in admin panel and I need to attach the afterRender event to it. Config XML: <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
34 views

Magento custom form with module Step By step by step

I am new in this field... and I want to learn... Please help me how to create simple form in Magento 2.0.
1
vote
1answer
50 views

Dynamic element in system.xml field

I have a list of elements printed with a field type='checkboxes' but when I try to save only one of the results saved. As a solution to this problem, we tried to print each element with a checkbox ...
2
votes
1answer
40 views

Magento2.3.1 How to add customer grid mass action link reset forget password and custom reset forget email sent to customer

I am using Magneto 2.3.1 and how to add customer mass-action inside link add reset forget password and when select customer sent to email for customer, but email not use in default Magento our custom ...
0
votes
2answers
35 views

Define a custom url in admin area

I'm having troubles in defining a new custom url in admin area. Here is my routes.xml file, saved in /app/code/Vendor/Module/ <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http:/...
0
votes
1answer
102 views

Changing favicon for admin side theme only - Magento 2.3

I've made the custom adminhtml theme and changed the login logo and the default top left logo on dashboard, however I'm unable to change the admin favicon. In the default.xml that I'm using to ...
1
vote
1answer
36 views

Add Custom JS to Modal Insert Widget Admin Form

I am wanting to do custom javascript to manipulate the Widget Options when adding a widget (using the WYSIWYG editor) in the Admin panel. I have found that the layout handle adminhtml_widget_index is ...
2
votes
1answer
61 views

In magento 2, Edit the image uploaded image field works in localhost but not works in server

In magento 2, Edit the image uploaded image field works in localhost but not works in server I follow this blog https://blog.qaisarsatti.com/magento_2/magento-2-ui-component-image-upload/ Before ...
1
vote
2answers
116 views

Magento 2: how can Override vendor\magento\module-sales\Block\Adminhtml\Order\View.php to remove/disable “Ship” button

To Disable/Remove “ship” Button from sales->order->view (click) -> Ship I commented in core file vendor\magento\module-sales\Block\Adminhtml\Order\View.php below code . if ($this->...
0
votes
1answer
157 views

Magento 2 - 401 controller in magento admin

I currently have a module that adds a field to the admin cms page. I've written a controller and on input change I want to ajax this controller. This is the simple controller I added to start testing:...
0
votes
1answer
225 views

How to add Store View Filter in Custom Listing Grid In Magento 2.X?

I have created a custom module in my Magento 2.3.1 site. The module has Admin Listing Grid and Add/Edit view. My site is multi-store site, Now I want to display "Store View" filter in listing grid at ...
0
votes
0answers
21 views

How To Change Street Address Validation Upto 35 Character In Magento 2 Backend

Here, I'm Trying to add validation in street address upto 35 character i'm almost done this in frontend but i want this into the Backend when admin create order from the admin panel of magento 2.

1 2 3 4 5 31