Skip to main content

Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

464 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
3 answers
3k views

How to add time range picker to adminhtml form in Magento 2?

In Magento 2's devdocs pages there is an example of time range picker. But ,i can not find any examples of how to add it in my backend form for creating/editing of custom model. Have anyone any idea ...
jurgen's user avatar
  • 395
8 votes
1 answer
2k views

How to create admin grid without db collection in Magento - 2

My requirement is to display a grid of data from a web service with search and sort functionalities. Currently what I am doing is, storing all the data from the web service into a db table and ...
user43415's user avatar
  • 375
7 votes
2 answers
1k views

Multiple Image browse in custom admin form Magento 2

I have created a custom form in the backend and it is working fine for single image browse. If I select only one image then it is working fine. My requirement is, I want to select multiple images with ...
Sunny Rahevar's user avatar
7 votes
2 answers
2k views

How can I pass a URL parameter to admin grid data provider?

I have a custom admin grid, which lists only the orders that contain the product given as a URL parameter. My URL is of form https://www.example.com/admin/mymodule/orders/index/product_id/123/ I ...
Juho Jaakkola's user avatar
7 votes
1 answer
847 views

Generate get parameter in XML layout Admin

I have a custom extension that generate grid using XML, the problem is that I need to add button which will generate link with a get parameter from get request that passed via url, the xml code for ...
Shell Suite's user avatar
  • 1,702
6 votes
0 answers
1k 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 ...
Bhargava Rama's user avatar
6 votes
1 answer
1k views

Magento 2 :- How can i add tab in customer group?

I tried to create new tabs as per the customer tab, add in admin side, but I am getting the error so can any one help me. How can i do this thing? I refer this link for that 1) http://www.dckap.com/...
Kushal Dani's user avatar
  • 2,114
6 votes
1 answer
3k views

Mass action in custom grid block Magento 2 not showing

I've created a product grid block following this tutorial, right now i want to add new massAction item but the mass action field won't show up in the toolbar grid, here's the xml file: <?xml ...
simple guy's user avatar
  • 2,484
6 votes
0 answers
154 views

Magento 1.9x - Include Dataflow Profile Functionality for Import operation into my custom module

I have created custom module for import operation by uploading csv, xls and ods files. It is working good, but now i need to include Dataflow Profile Functionality into my module. That means I have a ...
Priya Ponnusamy's user avatar
6 votes
0 answers
126 views

Why is admin logging me out?

I go to the admin login in Chrome after clearing all cookies and everything. First thing I check Chrome cookies. I see only one cookie. Name: adminhtml Domain: .mysite.com Path: / Created: ...
Freejoy's user avatar
  • 819
5 votes
1 answer
474 views

How to Add customized error message in magento 2 admin form

<item name="config" xsi:type="array"> <item name="label" xsi:type="string" translate="true">My Custom Filed</item> <item name="dataType" xsi:type="string">text</item&...
Adarsh Shukla's user avatar
5 votes
1 answer
3k views

Create custom “Catalog Input Type for Store Owner” for magento 2

I need to create a special input type in adminhtml product form. My input will display as a table but save data as a standard text input. Following the module Edge ProductAttachments I've created the ...
Carmelo Catalano's user avatar
4 votes
0 answers
1k 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 (...
Tjitse's user avatar
  • 1,310
4 votes
0 answers
384 views

Add Product Selection to Admin Form

I have developed a module for Magento 2 for Promotions. I have a form for this which is working and contains basic information: Title Description Price Start Date End Date I now need to add "...
vmp's user avatar
  • 398
4 votes
0 answers
727 views

Magento 2 Uncaught Error: Script error for: tinymce

Magento 2.3 version In admin pages,i am getting this error - Failed to load resource: the server responded with a status of 404 (Not Found) Uncaught Error: Script error for: tinymce http://...
sumeet bajaj's user avatar
  • 1,306
4 votes
1 answer
501 views

Product edit page move tabs to sidebar

In the default layout for the admin product edit page, we have an accordion style setup. This is really annoying as you have to scroll down several pages every time you want to edit an option that's ...
Michael Thessel's user avatar
4 votes
0 answers
443 views

Magento 2 Admin Notifications - what makes a notification popup when the admin user logs in?

Occasionally, an admin notification can pop up when an admin user logs into the Admin Panel. The popup usually shows in an orange style box and can be closed easily, but not all poups show like this. ...
C-dawg's user avatar
  • 81
4 votes
1 answer
94 views

Add order status while placing order from admin Magento 1

I want to add a custom dropdown for the order status in the create an order page from admin. Admin can choose the order status while placing the order. Please see attached screenshot!!! Or Can i set ...
Sunny Rahevar's user avatar
4 votes
1 answer
3k views

Ajax not working in Magento 2 admin

I'm using ajax in Magento 2 admin. But it not working. My controller: class CustomAjax extends \Magento\Backend\App\Action{ protected $resultJsonFactory; public function __construct( \Magento\...
Hữu Công Hoàng's user avatar
4 votes
2 answers
2k views

Custom renderered column sorting not working magento2

I have created the custom grid with one custom column(Products) by renderer method which shows product name. When I tried to apply sorting it looks the custom table in which other columns exists but ...
saravanavelu's user avatar
  • 3,951
3 votes
0 answers
210 views

How to create MFTF testing for custom module in magento 2.4.3-p1

Does marketplace add custom extension mftf (Magento Functional Testing Framework) fail how to solve this issue? Marketplace issue report : https://prnt.sc/22quodr ...
Ravindrasinh Zala's user avatar
3 votes
0 answers
86 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: ...
jojo's user avatar
  • 39
3 votes
0 answers
236 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 ...
user83014's user avatar
3 votes
2 answers
2k views

Magento2 : How to show button in admin for custom module page?

I want to show the button in my custom module (admin page) but I am getting an error I want to add a button and how I add action process for that button i already tried this answer : (https://...
prabhakaran7's user avatar
  • 1,087
3 votes
1 answer
1k views

How Do I Add Styling Or Groupings To Widget Parameters?

I have a custom widget with various parameters. Is it possible to style or add grouping, headings, fieldsets, basically anything to give some space and separation to the numerous parameters? My ...
Shawn Northrop's user avatar
3 votes
1 answer
887 views

How can I default the "Append Comments" checkbox to unchecked when creating new order in backend?

When a member of our staff creates a new order in the Magento backend, they frequently add comments into the order but forget to uncheck the "Append Comments" checkbox on the order. Sometimes we don'...
Kimball's user avatar
  • 103
3 votes
1 answer
849 views

Magento 2 filter_condition_callback

How can I perform the same logic of filter_condition_callback of Magento 1 in Magento 2 I have a country column which I save comma separated values in db I have managed to create the filter but I am ...
Priyank's user avatar
  • 7,702
3 votes
0 answers
433 views

Magento2 : Override Admin Js file

I am working on Magento 2.1 CE. My current active Theme is the Default LUMA Theme I wish to override the CORE Modules "bundle-input-type.js" located in "vendor\magento\module-bundle\view\adminhtml\...
Shital's user avatar
  • 31
3 votes
0 answers
213 views

Add upload field from code at new product form - Magento 2.1

I'm developing an extension that adds an additional upload field to the product edit form. In Magento 2.0.x I could just simple add an input and the file would be added to the post. Now, with Magento ...
Silvan's user avatar
  • 1,347
3 votes
0 answers
456 views

How to apply Backend Theme in Magento 2?

I have created a new admin theme under app/design/adminhtml. I verified that the new theme gets deployed as well. I am using bin/magento setup:static-content:deploy Unlike in the frontend there is ...
Chris Strobel's user avatar
3 votes
0 answers
90 views

Where admin ajax grid filter logic?

I want to know where Magento handle the filter of admin grid For example, when you search something in the grid, how it handled the search and reload the grid? Thank you very much.
0xh8h's user avatar
  • 485
2 votes
0 answers
21 views

Magento2: Product Admin Grid

I want to render product grid from the default store view is there any way that we can render product grid from default store view rather than all store view any help will be appreciate
Ronak's user avatar
  • 476
2 votes
0 answers
27 views

Unable to work preview template option for image upload input in admin customizable option

I had added file upload input in product customizable options area but preview image not display due to preview template file was not loaded it was working well in magento 2.3 version but on in latest ...
MDev's user avatar
  • 21
2 votes
0 answers
225 views

Hide (display:none) specific element from adminhtml Product page

On the adminhtml Product page, there exists a fieldset of Configurable Options. Certain Configurable Options I wish to hide from the content manager of the adminhtml screen as they are managed ...
dotancohen's user avatar
  • 1,115
2 votes
0 answers
89 views

adminhtml form ui_component fields not rendered

I have created a form using ui component. But the form fields are not being rendered in the admin backend, other Save button and left tab is displayed. The ui_component XML: <?xml version="...
Nischal Shakya's user avatar
2 votes
1 answer
2k views

Add view button in admin grid to open a view page in slide window in Magento 2

I want to create View Slider in Admin For that I'm following This my files are view/admin/ui_component/marketplace_stores.xml <actionsColumn name="action" class="Apptha\...
Asad Khan's user avatar
  • 1,486
2 votes
0 answers
555 views

Add caption or helper text to admin filter in magento 2

I added a filter in my admin panel. But i want to add a helper text before or after the input field. Like the 'more information about...' in this screenshot: Right now the field config I have is ...
Jonas de Herdt'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
2 votes
0 answers
22 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
2 votes
0 answers
142 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
2 votes
0 answers
88 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: <...
Ben Tideswell's user avatar
2 votes
1 answer
117 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 ...
Rv Singh's user avatar
  • 1,627
2 votes
0 answers
72 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 ...
Navin Bhudiya's user avatar
2 votes
1 answer
658 views

How we can use Js Mixins for order scripts.js

I want to override switchPaymentMethod from module-sales/view/adminhtml/web/order/create/scripts.js for that I use mixins: app/code/Vendor/Module/view/adminhtml/requirejs-config.js var config = { ...
Prince Patel's user avatar
  • 22.8k
2 votes
2 answers
918 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 ...
Amrit Pal Singh's user avatar
2 votes
0 answers
108 views

Magento1 admin product image upload issue

I have installed Magento1 Patch SUPEE-8788 in my local system. But I have an issue, in Admin Panel, Product Image Upload Browse Button is Not Working. 1 File: app\code\core\Mage\Adminhtml\Block\Media\...
MehulKanjariya's user avatar
2 votes
0 answers
1k views

Add popup on clicking custom button in product edit page in admin in magento 2.3

I have added a custom button in product edit page using product_form.xml like below : app/code/Company/Module/view/adminhtml/ui_component/product_form.xml <?xml version="1.0" encoding="UTF-8"?>...
Manashvi Birla's user avatar
2 votes
2 answers
1k views

How can pass product id from Product\Form\Modifier to UiComponent DataProvider in Admin PRODUCT DETAIL

This is Tab "Staff Manager" have display but can't receive Product Id view/adminhtml/ui_component /staff_listing.xml <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
khoa's user avatar
  • 31
2 votes
0 answers
400 views

Disable button for certain user groups/roles

How to disable certain buttons of the features to specific roles in the admin panel. For eg If the role "tester" is given access to view feature in sales/customize-feature in the admin panel, he ...
insoftservice's user avatar
2 votes
1 answer
70 views

Increase number of shown related products in the administration (Magento 2)

When you edit a product in the magento administration the number of items listed in the related products, up-sells and cross-sells list is limited to 20. Also there is no possibility to change this ...
xxx's user avatar
  • 31

1
2 3 4 5
10