Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

Add new tab to product admin edit page, but for specific product type

Is it possible to add a new tab in the admin product edit page, but just for simple products? I was able to add a tab using ui_component, but I can't figure out how to add this just for simple ...
user3029120's user avatar
0 votes
2 answers
57 views

Changing logo in admin theme

I am trying to simple change the logo shown on the admin login page. After creating the following files i have run magento setup:upgrade magento setup:static-content:deploy -f magento setup:di:compile ...
raza19's user avatar
  • 23
4 votes
1 answer
90 views

Critical Error of : file_exists(): open_basedir restriction in effect.in my Magento 2?

Here I explained the issue in detail: : file_exists(): open_basedir restriction in effect. File(/autoload.php) is not within the allowed path(s): (/var/www/:/tmp/) in /var/www/mywebsite.com/...
Jay Parmar's user avatar
2 votes
0 answers
20 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
  • 456
0 votes
0 answers
28 views

Write Magento2 Custom Module to set Minimum Order Amount for Selected Customer Groups

I developed a Magento 2 module to add customer groups dropdown in admin panel Store-> Configuration -> Sales -> Minimum Order Amount so I can set min order amount only for some customer ...
Armi_Raz's user avatar
0 votes
1 answer
40 views

How I could install HtmlPurifier in my custom module?

I made my own form: <?xml version="1.0"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:...
Dimitrios Desyllas's user avatar
0 votes
2 answers
27 views

How I can convert my form into a singe column one and place a WYSIWYG editor?

For an admin form I have implemented the following form: File app/code/MageGuide/FirstModule/view/adminhtml/ui_component/add_blogpost.xml <?xml version="1.0"?> <form xmlns:xsi=&...
Dimitrios Desyllas's user avatar
2 votes
0 answers
24 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
0 votes
1 answer
81 views

Disable all input fields on products edit page for specific admin role in admin

Is there any way to disable all input fields on the product admin for a specific admin role in a custom module. The specific admin role should only view the content but not have the access to edit/...
Cv Gandhi's user avatar
0 votes
0 answers
43 views

How to make field in admin panel required

In admin panel on creating order page, i need to set field Middle Name/Initial required, if chosen shipping method is "Free shipping", otherwise, this field doesn`t need to be required. Also,...
MaxLogic's user avatar
0 votes
0 answers
58 views

How to add utf-8 on the default export csv

I have used the default export csv of magento 2 in the listing.xml. I have a problem when I have a japanese character in the export.csv file the japanese characters are broken. How can I fix it? <...
jsnewbie21's user avatar
0 votes
0 answers
22 views

Custom Module accessible to other users but not working properly

I have created a custom module named "Service voucher list" I have created the acl.xml file too so that other users can have its access by custom resources too. now the module is accessible ...
Sikander's user avatar
0 votes
2 answers
129 views

Rename export csv file

Is there a way to rename the default export.csv filename to another filename? I'm using the magento 2 export in my listing.xml
jsnewbie21's user avatar
0 votes
0 answers
14 views

Admin Edit is not working with joins

I have a collection with multiple joins, And I have shown the values in ui_component in form as well as listing. When I try to edit the form, the main tables values got edited but joined table values ...
Ayush Sood's user avatar
0 votes
1 answer
41 views

How to make column resizable

I want to make my columns in admin resizable. This is not working. <resizeEnabled>true</resizeEnabled> <resizeDefaultWidth>150</resizeDefaultWidth> <column name="title&...
jsnewbie21's user avatar
0 votes
1 answer
54 views

Menu not showing for custom role in custom module

This is a duplicate question of Magento 2.x - Menu not showing for custom role in custom module but I can't seem to figure out how... I have setup ACL rules for this but it is not showing Menu of ...
jsnewbie21's user avatar
0 votes
2 answers
155 views

Hide/Remove selectionsColumn

I want to remove or hide this without affecting the export csv. How? <selectionsColumn name="ids"> <settings> <indexField>k_id</indexField> <...
jsnewbie21's user avatar
0 votes
2 answers
29 views

Hide Admin Menu Based on Store Default Country

I need help on hiding the Customer Feedback - Article Menu if the default country is not JP. My code is not working. Plugin/RemoveCustomerFeedback.php <?php namespace Thecoachsmb\Mymodule\Plugin; ...
jsnewbie21's user avatar
1 vote
0 answers
49 views

Script and style sheet added from theme edit section in admin panel is not showing on frontend

Go to admin panel click "content" design->configuration and inside of HTML head cloumns "scripts and style sheets" columns when I add the content and click save, then it is not ...
sunil saini's user avatar
1 vote
0 answers
33 views

How to save empty decimal admin form field not as 0.00 but as null in database?

I have an Admin Grid with one column named min_weight. This column has the datatype decimal (5,2) in the database. The default value for the column is NULL. If I try to save an entry with the Admin ...
Luisa's user avatar
  • 11
2 votes
1 answer
131 views

Mgento Admin Grid Multi select "," seperated value filter not working in custom grid Magento 2?

I create custom grid that include Website field and customer group fields are multiselect. At Filter apply also need to set as multiselect that not working for me. here I share my listing xml file ...
Jay Parmar's user avatar
0 votes
1 answer
315 views

Add Page Builder Editor In Magento 2.4.5 Configuration Section

I want to add Add Page Builder Editor In Magento 2.4.5 Configuration Section. Any insight would be helpful. Thank you :)
Ronak Rathod's user avatar
  • 6,309
0 votes
0 answers
64 views

How to set the default value of a selection column to be checked or unchecked

I have a data grid used as part of a form in the admin area for a custom entity. I have this data populating as I need, with one exception. I need the check-boxes to be checked by default for certain ...
McMunchkin's user avatar
0 votes
1 answer
35 views

Admin panel sidebar links doesn't work in production mode

I have an issue while i switch my magento website in production mode, The website is finally ready to be set but now i face a problem after i've installed many modules and packages, i don't know why ...
arkoos's user avatar
  • 1
0 votes
1 answer
857 views

How to display custom database table in admin grid using Ui component M2.4.5 PHP8.1

I have created a custom module with custom database table with 3 columns. I have setup an admin page with menu etc. and can load the data from the database using the ResourceModel Collection and ...
Fox's user avatar
  • 191
0 votes
1 answer
273 views

How to programmatically add roles to product images?

I need to insert Small, thumbnail and swatch roles to all existing product images, any solution? Thanks
Robinio's user avatar
  • 771
0 votes
0 answers
44 views

How to create Image uploader with multiple fieldset Magento2

<fieldset name="dealz_info" sortOrder="11"> <argument name="data" xsi:type="array"> <item name="config" xsi:type=&...
Alshihab's user avatar
  • 161
0 votes
1 answer
261 views

Add Custom Link to Sales Order View Admin Panel

How can I add a custom link to 'sales/order/view/order_id/123456' adding an slash after the order_id with route name "download" so it becomes sales/order/view/order_id/6710/download My ...
David Buik's user avatar
0 votes
1 answer
28 views

1 exception(s): Exception #0 (ReflectionException): Class "MyVendor\SubOrder\Controller\Adminhtml\Order\View\Interceptor" does not exist

I am creating a suborder view page in BackOffice that retrieves data from the customized table. However, I received an error on above topic when I click the view button in my customized grid. Did I ...
hill2011's user avatar
0 votes
0 answers
14 views

How to override file dialog (files.phtml) from adminhtml?

Magento 2.4 I want to override /vendor/magento/module-cms/view/adminhtml/templates/browser/content/files.phtml but found no suitable way to do it. So, how can I override this adminhtml template? Do I ...
user4095519's user avatar
0 votes
1 answer
127 views

Admin can’t create order/reorder magento 2.4.5

Magento 2.4.5 issue where an Admin user can’t create orders nor reorders for customers. report.CRITICAL: Error: Call to a member function getMethodInstance() on null in /app/vendor/paypal/module-...
Ravindrasinh Zala's user avatar
0 votes
2 answers
282 views

Magento 2: How can i change the favicon icon in the template with file type: .svg

How can i change the favicon icon in the template with file type: .svg I just started to learn magento, even though I've been looking for resources on the internet to do it, I haven't been able to
tanh's user avatar
  • 15
0 votes
1 answer
125 views

Input label not rendering in admin ui form

I have an xml form (ui component) where two inputs are inside of a container where breakLine is set to false so the inputs are side by side. This is working for the most part, the issue is that the ...
Hunter's user avatar
  • 799
2 votes
2 answers
130 views

How to display custom image on custom created admin menu tab?

How to display custom image on custom created admin menu tab? like Dashboard image ,need to display the image on left medu tab
Mohamed Abbas's user avatar
0 votes
1 answer
66 views

Display error notice instead of Exception text default for Customer edition

I want to display the error notice when a specific rule match when we edit the customer informations on backend. I tried with default \Exception class or Magento specific but it show the error as text ...
nlegall's user avatar
  • 21
0 votes
2 answers
47 views

routes.xml complains about empty tag, which is obviously not empty

I have python background so its really hard for me to get my hands on magento2, since I've never touched php/xml/js etc. before. Currently I just want to add a button in admin backend, which leads to ...
kekw's user avatar
  • 103
1 vote
1 answer
126 views

Getting CSP related error on custom plugin page in admin in Magento 2.4.3

We have one custom plugin that is used for product import. when we try to visit the page of this extension in the admin we are getting an error. check below stack trace. 1 exception(s): Exception #0 (...
Chintan Kaneriya's user avatar
0 votes
0 answers
103 views

Magento 2.4 how add tabs ui_component in module custom adminhtml

Good morning, could someone help me render some tabs in adminhtml with a custom module? I already managed to create the tabs, but the content is not displayed correctly, it is added in the same space ...
GStiven's user avatar
  • 41
0 votes
1 answer
176 views

How can i add custom attribute to sales_order_view.xml under the SKU

I have already created app/code/XXX/XXX/view/adminhtml/layout/sales_order_view.xml file. I want to add created custom attribute for GTIN/EAN under the SKU attribute in items ordered list.
Efex's user avatar
  • 73
0 votes
1 answer
421 views

Magento 2.4 admin grid add select filter with search

Good afternoon community, does anyone by chance know how I can add a select type filter to an adminhtml table grid and that additional internally include a search to filter options? As you can see in ...
GStiven's user avatar
  • 41
0 votes
0 answers
225 views

Modal display different data for different buttons used to open it

A Magento admin feature that I am developing consists of adding an array of Foo objects to Products. Each Foo is configured by clicking on a "Configure Foo" button, which opens a modal. ...
dotancohen's user avatar
  • 1,115
1 vote
1 answer
250 views

DynamicRows component doesn't show saved data on edit form (Adminhtml)

The ui form component works good on "New" action but, if I save this: Then, the edit action shows this: The data is being saved correctly in my custom table after submitting the "New&...
araujophillips's user avatar
3 votes
2 answers
7k views

Uncaught Error: Mismatched anonymous define() module

I'm trying to use jquery in an adminhtml js file...but it seems not to be working and can't get to understand why...any help would be appreciated ! Layout is like <head> <script src="...
Claims's user avatar
  • 1,146
2 votes
2 answers
798 views

Magento 2.4.5 TinyMCE 5 toolbar configuration to remove plugins

I want to configure Tinymce 5 toolbar plugins. till now i have tried below things. app/code/VendorName/CmsEditor/etc/adminhtml/di.xml <?xml version="1.0"?> <config xmlns:xsi="...
Ronak Chauhan's user avatar
1 vote
1 answer
146 views

How can I pass row id in url when editing a row in admin page?

I want to prefill my form inputs when trying to edit a row, but the ID won't pass, unless I type the exact number in the URL. Is there any way of passing the ID? Code below, thanks. <?xml version=&...
Razvan's user avatar
  • 21
2 votes
0 answers
196 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
87 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
0 votes
1 answer
181 views

How to show web site column in custom module custom grid in admin magento 2

https://prnt.sc/AVRLsd7GLrKz Vendorname\Modulename\Block\Adminhtml\Tool\Edit\Tab\View; $this->addColumn( 'website_id', [ 'header' => __('Web Site'), '...
Ravindrasinh Zala's user avatar
0 votes
0 answers
20 views

How to erase/comment the middlename and lastname in default-address.html file in the module-costumer

Good day people, I have been trying to erase or comment middlename and lastname in default-address.html, this is the original file, you can find it in : vendor/magento/module-customer/view/adminhtml/...
Jesús Iasenzaniro's user avatar
0 votes
1 answer
107 views

How to save value entered in custom field in the Source (MSI) form?

In a Magento 2.4.5, I've (successfully) added a custom field (opening_mon) to the AdminHtml form for a Source (MSI), using view/adminhtml/ui_component/inventory_source_form.xml. I do see the field in ...
Oscar Hilbelink's user avatar

1
2 3 4 5
34