We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

Filter by
Sorted by
Tagged with
0
votes
1answer
24 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
2answers
3k views

Magento 2: How to override Ui & Component folder files

How to override these below files: vendor/magento/module-configurable-product/Ui/DataProvider/Product/Form/Modifier/ConfigurablePanel.php vendor/magento/module-ui/Component/Form.php ...
0
votes
0answers
24 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 ...
0
votes
2answers
105 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
682 views

How to add my phtml in admin create order page?

My code: xml code: <?xml version="1.0"?> <layout version="0.1.0"> <adminhtml_sales_order_create_index> <reference name="root"> <block type="clientpo/...
1
vote
1answer
21 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
3answers
683 views

Magento 2.3 translations (translate label) in the admin panel (backend)

In Magento 1 I just added a translate.csv for my admin area. How can I achieve this in Magento 2? I just want to change the translations of a few things and add some missing translations. Can't I put ...
0
votes
1answer
30 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
12 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;...
2
votes
2answers
2k views

Magento 2 How to do export products csv & xml from admin end?

I would like to implement export catalog products functionality from admin end from custom module. I have followed below steps for displaying export button at admin end catalog > products but unable ...
0
votes
2answers
45 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 ...
10
votes
5answers
19k views

Magento 2: How to retrieve admin URI?

I forgot to take note of the admin URI during installation. Is there a way to retrieve it?
0
votes
2answers
1k views

Magento2: Need help to create custom export

I'm creating a custom module(multi-vendor) where i need to create one feature where admin can export the product details(CSV) data along with vendor details (which is assigned to some specific product)...
4
votes
0answers
348 views

How to display and save extension attributes on Magento 2 Admin create order page

I have created extension attributes to order for rest API services. Also, I'm able to display the attributes on the order grid. How can I display the same attributes on admin create order form and ...
1
vote
1answer
790 views

How to get value from core_config_data table and set as default value in config.xml file in magento2

I want to add value from BLOG > General > Store Information > Store name and set value in General > General > Store Information > Store name which i added. How it is possible? ...
0
votes
1answer
19 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
31 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.
43
votes
1answer
1k views

Magento 2 Adminhtml spreading forms across multiple tabs

I'm attempting to create a backend module, wherein on my edit page I use admin-2column-left layout. I want to have a form on each tab, but I do not understand how I can do this. Ideally, I would like ...
0
votes
1answer
50 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
27 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
42 views

Add Manufacturer in Related product grid in magento 2

I want to add the manufacturer column in the Product edit form section in the backend in the Related Products, Up-Sells, and Cross-Sells tab. I have to also add a filter for the manufacturer in the ...
0
votes
1answer
714 views

main.CRITICAL: Block order_create_billing_form throws exception and cannot be rendered. - Where is this logged?

Can anyone please enlighten me where I can find this exception logged? main.CRITICAL: Block order_create_billing_form throws exception and cannot be rendered. [] [] The context is a custom ...
0
votes
1answer
709 views

Custom button in adminhtml order view page : how to run php script on click?

I added a custom button on the adminhtml order view page but I do not manage to link it to the associated php function. Here is the code I used in my module : EDIT config.xml <?xml version="...
2
votes
1answer
34 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 ...
2
votes
1answer
953 views

Magento 2 : Store Switcher In admin not working

In Magento 2 admin side, I added store switcher in phtml file using this code. protected function _prepareLayout() { $this->getToolbar()->addChild( 'store_switcher', ...
2
votes
1answer
2k views

Magento 1.9 add layout and template to custom module in admin

I am new to Magento. When I try to create a custom module that shows two tabs on the main page with the option to change titles, backgrounds, and colors, I was successful in adding the module's tab ...
1
vote
3answers
2k views

Magento 2 Admin Page “Specified invalid parent id (WeltPixel_Backend::WeltPixel)”

version Magento 2 2.2.1. I have just setted up my localhost version for a magento 2 online shop, the other pages are working fine but when i try to acccess http://localhost/tfgs-m2/admin_XXXX/ i am ...
1
vote
1answer
19 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 ...
0
votes
2answers
30 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
0answers
14 views

Custom admin controller filter

I'm creating a new admin controller, for a new product property. For example, color. And each product can have a values for each color (for other reasons i didn't want to use product attributes). I ...
2
votes
1answer
53 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 ...
0
votes
1answer
730 views

Custom filter in the sales order admin grid giving Invalid block t

I've been able to filter custom added column like 'seller name ' its get from seller id of product. other filters are working. $this->addColumn('seller_id', array( 'header' => Mage::...
1
vote
1answer
786 views

sales_order_place_after not firing for admin-created orders

I have a simple custom module that sends a separate email to an admin user once an order has been placed (email uses a different template). This email is supposed to work for orders placed from the ...
1
vote
1answer
969 views

Magento2: How to add multiple fields in single row in magento edit form

Help me to add the multiple fields in single row of magento 2 edit form backend/admin.. for example: I have two fields First name & Last Name which I want in same row.
0
votes
1answer
971 views

Hide fields under Account Information on admin page

I'm trying to hide the field "Last Name" from the admin page, but I'm not sure what I need to change since the HTML gets populated from a JS code. I'm trying to do the exact same thing mentioned at ...
3
votes
3answers
393 views

form content goes into tab section issue Magento2

I am creating a form for admin but my form content display on tab section instead of content area, I have tried several possibility but never succeed, so someone can guide me at some point to resolve ...
6
votes
1answer
963 views

uicomponent form add new button for modal

I have build a custom form using uicomponent I want to add a button and on click want to open a modal with product grid. How can I achieve this using uicomponent form ?
0
votes
1answer
754 views

Why does my custom adminhtml form select element have two options selected?

I have a custom form in my module (in admin). It has a select, whose default value should be "*", but instead, it has both "*" and "0" selected: <select id="customer_group_id" name="...
1
vote
2answers
38 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
55 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
65 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
18 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.
0
votes
1answer
45 views

How to add custom column in the product grid while creating the order in the admin in Magento 2?

I am using Magento 2.3.0 You can see above grid when you try to add products while order creation in the admin. I want to add a new column called "Stock" in the above grid and I want to display the ...
0
votes
1answer
1k views

Magento 2 How to add custom grid

How can I add this code in Magneto2 admin page. <html> <head> <link rel="Stylesheet" href="https://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css" /> <script type="text/...
0
votes
0answers
28 views

How to display specific data from custom table with filter in admin side grid

Here I want to display only those data who have emailstatus=1 from my custom table. Here I have XML code. file-path: app/code/chirag/stockproduct/view/adminhtml/layout/stockproduct_index_newlist.xml &...
0
votes
2answers
1k views

addColumn with select options in generated admin field

I want to know if someone has already added a select field in a generated admin fields Vendor/Name/Block/Adminhtml/Menu/Field/AdditionalMenu.php <?php namespace Vendor\Menu\Block\Adminhtml\Menu\...
2
votes
0answers
121 views

What's wrong with my event observer?

I have done below code in my event observer to add custom column to my sales order grid and still do not display the column to my website's admin panel? Here is my code: app/code/community/Mjsi/...
1
vote
0answers
25 views

Magento Catalog : How to add button or link bellow any field in product add/edit page

Like attached screenshot, I want to add Get Next Sku link how to do same does anyone have an idea ? on the same link I want to perform some ajax operation and get some formated SKU but I don't know ...
1
vote
1answer
35 views

how to make ui-component onload dependency field in admin

how to make ui-component onload dependency field in admin In magento 2, admin ui-component form i created some dependency field on value change handler. its working well but when edit the form ...
0
votes
1answer
625 views

'enctype' => 'multipart/form-data Issue in admin form when uploading file

I added some extra fields to store_group admin entry, the issue is that i can't upload a image file because i hanven't the enctype="multipart/form-data" in my form when i inspect the HTML code,and Im ...