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
27 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
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 ...
1
vote
1answer
22 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
31 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;...
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 ...
0
votes
2answers
106 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
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.
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
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 ...
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
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 ...
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 ...
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 ...
2
votes
1answer
54 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
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
56 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
66 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
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
1answer
48 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 ...
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
36 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
0answers
39 views

Magento 2 custom config form in admin panel is empty

I followed this tutorial https://www.magestore.com/magento-2-tutorial/how-to-create-an-admin-form-look-like-a-configuration-page-magento-2-configuration-p3/#3createa_layout_file_with_url_path. It ...
0
votes
1answer
27 views

Magento 2 Custom Admin module 404 Not Found

I have been struggling with this error all day, I have tried all the solutions on Internet, but it keeps showing 404 Error when I click the link on my custom menu. Here is my code /app/code/Vendor/...
0
votes
1answer
24 views

What is the event that will fire after assigning customer to group in Magento?

I have to fire an observer method when the admin assign customer(s) to group on adminhtml. Can you help me which event is it? I tried adminhtml_customer_save_after but it didn't worked. Edit: My ...
0
votes
2answers
45 views

How to override Adminhtml template files in Magento 2.3?

How to override Adminhtml template files in Magento 2.3? In a proper way. File to override: vendor/magento/module-sales/view/adminhtml/templates/order/totals.phtml
3
votes
1answer
51 views

Magento 2 How to Add File Upload Field in Admin Form?

I want to file upload field into Admin Form By using Ui_component XML how to do same? can we use the same code as image upload or any other specific option for the same?
2
votes
0answers
38 views

Magento 2 Is there a way to use product chooser in ui component form (NOT BLOCK)?

Im building module using ui components and need product chooser in my form. But can't find any useful info related to product chooser implementation using ui component. Is it possible to do this ...
1
vote
2answers
115 views

Magento 2: How to disable or remove Product SKU field in the admin panel

Magento 2: How to disable or remove Product SKU field in the admin panel see image below for more clarification.
0
votes
0answers
22 views

How to edit email preview text for emails in magento 2 when using header template

I am working on customizing emails in Magento 2 admin panel. I have created a header template and footer template, and have also created other email templates that pull the header and footer from the ...
0
votes
1answer
30 views

Magento 2 : How to hide add product button from admin panel

How I can hide add product button from admin panel? see image below for more clarification.
0
votes
0answers
3 views

Magento 2.2.9 image upload using ui component listing

How do you upload image using ui component listing? Is there anything I could take a look at and follow the steps Any tips for this
0
votes
1answer
54 views

Magento 2 _extend.less in Adminhtml Theme

Magento 2 dev docs are very clear about best practices for extending module styles by placing a file named _extend.less in the <theme_dir>/<module_name>/web/css/source directory. This ...
1
vote
0answers
21 views

Magento 2 Ui Component how to upload image and save it

<column name="image" class="Vendor\mpdule-name\Ui\Component\Listing\Column\Thumbnail"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"&...
4
votes
2answers
46 views

How to set hidden field with value in Admin html - Magento 2?

I have added a field using below code, hidden field appeared but value is not showing. $fieldset->addField('entity_type_id', 'hidden', array( 'name' => 'entity_type_id'...
0
votes
0answers
28 views

Magento 1.9 : How can I add a button in admin role edit form?

I need a custom functionality "Duplicate Role" in Admin > System > Permissions > Roles > Edit. How can I add an extra button in this form? Any help will be appreciated. Thanks in advance.
0
votes
0answers
28 views

Magento 2.3: Custom template override not showing on first load

I have override sales_order_create_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/...
1
vote
1answer
84 views

How to Create a excel file in custom module?

I want to create an excel format file for download in Magento 2 <item name="buttons" xsi:type="array"> <item name="add" xsi:type="array"> <item name="name" xsi:type=...
0
votes
0answers
37 views

Html tags are showing on frontend in custom module textarea admin form field?

I am using Testimonial extension which has textarea field in admin form. When I am adding content with html tag, html tags are showing on frontend. I have tried to change textarea to editor from ...
1
vote
0answers
16 views

Magento 2 product grid color change

I see many posts regarding the order grid color change, but I want to know how to change the product grid color change. If anybody else did this, please let us know.
1
vote
1answer
70 views

Magento 2 Sales Order Grid Mass Action Sort Order

I am trying to sort the Mass Action menu in the sales order grid, I have added <item name="sortOrder" xsi:type="number">600</item> to the sales_order_grid.xml but it has no affect. Is it ...
0
votes
0answers
15 views

Magento 2: Multi-Store Functionality Achievements

Store Requirements Admin Panel Restriction Admin Panel Store Wise Admin Dashboard Store Wise User Permissions and Resources control Different Admin panel views store wise Customers: Customers ...
0
votes
0answers
40 views

Magento 2 custom catalog condition rule not saving in custom module

I have added custom catalog conditions to my custom module admin form. a condition drop-down is displayed fine and in post data, condition value is also getting. but I am unable to save condition ...
0
votes
0answers
50 views

Magento 2 Facing Problem :Could not save product “3194” with position 0 to category 12

I am facing a problem whenever I go into catalog->products->edit product and delete the category from product and click on save button the error is coming. Could not save product "3194" with ...
1
vote
0answers
20 views

Magento 2 - No minified files generated in admin

I've recently minified my website with a huge success, but this little thing. I don't get any generated .js files in the Admin panel, which causes the menu and a bunch of buttons not to work. It ...
0
votes
0answers
6 views

Setting UI Component (Sales Order Grid) Settings for Specific Route

I can add the sales order grid to a route easily by adding this in the layout file: <referenceContainer name="content"> <uiComponent name="sales_order_grid"/> </referenceContainer>...
0
votes
1answer
100 views

Magento 2 : Show custom table data in grid

I have created a form and the data of that form is saving in a custom table. Now I want to create a grid in admin which shows the saved data in that table. Please help
0
votes
1answer
17 views

Error setting an adminhtml from a frontend path

I'm using a third-party which set an appendPaymentBlock Observer method <adminhtml> <events> <payment_info_block_prepare_specific_information> <observers&...