Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How can i remove backlog from indexer programmatically in magento 2?

i want to remove backlogs from indexer when i check indexer:status there i found many back logs in indexer i need to remove this problematically using corn job at every 2 minutes my cron job code is ...
0
votes
0answers
15 views

custom ui form on menu click?

I'm try to add a form on menu click and it doesn't works. Can anyone knows?? <menu> <update id="FME_Extensions::fmeextensions" title="FME Extensions" module="...
0
votes
1answer
18 views

Magento 2 Custom adminhtml validation rules doesn't work

Custom adminhtml validation rules from Magento 2 docs on purely installed Magento 2.4.3 and Magento 2.4.2 doesn't work. Vendor/Module/view/frontend/requirejs-config.js var config = { config: { ...
0
votes
1answer
17 views

How can i used constructor in "Ui\Component\Listing\Column" File In Magento 2?

in need to add state columns and get state name from region id so i used object manager for it but that not right way i convert that in constructor method the data of state comes but the column of ...
0
votes
0answers
9 views

Magento 2 how to filter data on admin grid using insertListing?

Hi all I'm doing a report where I need to filter data. I have 2 uicomponents, 1 form and 1 listing/grid. Basically I need the form to filter the listing, but I don't know if I can accomplish this by ...
0
votes
0answers
6 views

Magento 2 adminhtml how to create grid with data based on filters?

So I'm struggling creating a simple .phtml table that will have data of some search criteria. I can't use any datasource or collection because the data is not at any table, it comes from an API, so ...
0
votes
1answer
20 views

Create new field in magento 2.4 but not save data

I'am following this tutorial https://www.mageplaza.com/devdocs/magento-2-category-attributes-programmatically/ added the field to save new attribute but not working, write the information but to save ...
1
vote
0answers
9 views

Can you add Dynamic fields in admin grid?

I am trying to add Dynamic fields in admin gird. i am not using UI to do this. I have added custom field using this $fieldset->addField( 'test_field', 'text', [ ...
0
votes
1answer
22 views

override adminhtml template

I would like to overide the following admin template src/vendor/magento/module-sales/view/adminhtml/templates/order/view/history.phtml This is what I made module.xml <config xmlns:xsi="http://...
0
votes
1answer
11 views

How to set custom action on admin form edit top button in magento 2?

I have one my admin grid in that edit time i add button in top action bar now in that on click i need to set custom action of controller i try this but not working $this->buttonList->add( ...
0
votes
1answer
22 views

"validate-number-range" validation not working in Adminhtml form created using Ui Component

I am trying to implement the validate-number-range but it is not working. Please find the implementation below <field name="custom_sequence" sortOrder="40" formElement="...
0
votes
1answer
26 views

Stores -> Configuration side menu has disappeared (screenshot attached)

I upgraded Magento from 2.4.1 to 2.4.3 and I have also upgraded my theme and related modules. After that, the side menu of the Store-> Configuration has disappeared and it's not showing anymore. I ...
0
votes
0answers
21 views

Cannot create field in customer_form.xml with source model Magento\Eav\Model\Entity\Attribute\Source\Table

I'm trying to create additional tabs in adminhtml > customer > edit and have done so successfully. However, I'm trying to "move" a field from the "Account Information" tab to ...
0
votes
0answers
12 views

Why does my admin customer edit form not seem to honor sort_order?

I've got about 100 attributes that I need to display on the customer admin form, and I went thru and set the sort order on nearly all of them, but they don't seem to actually completely honor the ...
0
votes
0answers
10 views

Unable to edit product attribute price

I have added a custom button (Custom Price) to Edit Product page, which fills price input field with a new value, received by Ajax call. Input field receives a new value, but after I click "Save&...
0
votes
1answer
19 views

Admin redirect loop after 2.4 upgrade

we are working on updating 2.3.5 to 2.4.2-p1 Frontend loads ok, but admin backend creates a redirect loop admin/admin/auth/login/key/.... to admin/admin/index/index/key/... and admin/admin/auth/login/...
0
votes
1answer
25 views

Getting error on extending in Custom Module vendor/magento/module-shipping/view/adminhtml/templates/order/tracking/view.phtml file in Magento 2.4

On extending the file vendor/magento/module-shipping/view/adminhtml/templates/order/tracking/view.phtml File in Magento 2.4 getting error like 1 exception(s): Exception #0 (Exception): Warning: ...
0
votes
1answer
19 views

How can I set customer company , city and state information in register success email in Magento 2

how can I set customer company , city and state information in transport mail template when customer register successfully. I try this one but they not working. <p class="greeting">{{...
0
votes
1answer
39 views

How to make html tags in the shipping method title in Magento 2

I'd like to be able to use some simple html tags to format the Shipping Method Title. If I include tags in the Shipping Method Title currently via the admin panel, it displays the tag on the front end ...
0
votes
0answers
37 views

My admin menu bar is empty

After a migration my menu bar is empty. I tried to clear cache, create a new admin user and also deploy static files and nothing works. Any help is highly appreciated. The HTML looks like this <...
0
votes
0answers
16 views

How to handle a magento form request?

I created a button inside order view which is created in this way: $onclick = "submitAndReloadArea($('order_sendsms').parentNode, '" . $this->getSubmitUrl() . "')"; ...
0
votes
1answer
56 views

How can I check email template variable empty or not in mail template in Magento 2?

I want to check the mail template variable is empty or not in my custom mail template I do follow code in that {if $data.nature_of_business != ''}} <li><strong>{{trans "Nature of ...
0
votes
1answer
35 views

How can i set wish list for guest user also in magento 2?

i need set Wishlist for guest users also Guest can also able to add item in Wishlist. after add item guest login into account that time Wishlist must be marge. all Wishlist functionality must be ...
0
votes
0answers
19 views

Magento 2 - How to extend core adminhtml less file?

I try to extend the file vendor\magento\module-page-builder\view\adminhtml\web\css\source\_buttons.less to add my custom styles to it. I tried to add it to my custom module and added my custom styles: ...
0
votes
0answers
34 views

Message inbox missing - No notifications

The message inbox is missing in two of our shops (Magento 2.4.2). We can not see messages and do not have the notification bell on the top right (see screenshot). There are entries in the ...
0
votes
0answers
9 views

How to filter admin order grid collection on click of anchor link

How to filter on hold orders on sales order admin grid. I have a requirement to display count of on hold orders, when they click on message, user should see filtered collection. I have attached the ...
0
votes
2answers
52 views

Magento 2.4.2 Adminhtml grid error

So I have a custom table and I want to create a grid in admin html to display all the records from my custom table. I created new page using page factory. I created listing.xml and di.xml as well but ...
0
votes
1answer
64 views

How can I override the default config class in custom module in Magento 2?

I want to override Config class using plugin. Here is my di.xml file <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
15 views

How to analysis url path="rolepermissions/product/allowed" in view/adminhtml/adminhtml_user_role_editrole.xml

I am adding new tab in user role I added new label but I am facing with this code <block class="Magento\Backend\Block\Widget\Tab" name="adminhtml.user.tab....
0
votes
1answer
179 views

how to display custom amount in order summary in admin Magento 2?

I have added a custom fee in the order and displayed a custom fee in the checkout order summary. Similarly, the Custom fee displayed in the order emails in order total summary. Now I am trying to show ...
0
votes
0answers
35 views

How to fix the «Undefined index: base_grand_total» error in the sales order grid in magento 2.3.5-p2

Notice: Undefined index: base_grand_total in /var/www/html/vendor/magento/module-sales/Ui/Component/Listing/Column/Price.php on line 68 <?php /** * Copyright © Magento, Inc. All rights reserved. ...
0
votes
0answers
21 views

Custom model save data processor DI/Reflection only working once?

I'm working on a simple FAQ widget module for a client and I seem to have run into something quite strange with the DI/Reflection cache. My problem is with the Save controller action which uses a ...
0
votes
1answer
29 views

Magento 2 Override admin phtml

I've made a new module and I would like to override the vendor/magento/module-config/view/adminhtml/templates/system/config/form/field/array.phtml I've copied the file in app/code/myVendor/myModule/...
0
votes
0answers
15 views

How can I insert my custom checkout step form data when place order in quote table and in sales_order table in magento 2.4?

I create custom checkout step with my custom form in that I need to submit three extra field in quote table and sales order table. So, how can I submit this form data in that table when order place. ...
0
votes
1answer
36 views

how can i place order using disabled product from admin create order only in magento2?

I want to place order for disabled product too only from admin create order. so i want to know where i can skip quote validation so that magento2 could allow me place order. when i am placing order i ...
0
votes
1answer
67 views

Adminform uploaded file preview

I added file upload input in AdminHtml Block like this below. $fieldset->addField( 'document', 'file', [ 'name' => 'document', ...
0
votes
0answers
17 views

Layer Navigation not working in custom product collection of category page in magento 2

i override the ListProduct.php file and add custom product collection to the custom category page but in that page layer navigation not working here is my ListProduct.php file <?php namespace Ccc\...
0
votes
1answer
50 views

How to override adminhtml html file

I need to overwrite the file vendor/magento/module-customer/view/adminhtml/web/template/default-address.html. I have tried creating a custom module and adding the file in app/code/myvendor/mymodule/...
0
votes
2answers
95 views

How can i hide specific shipping method for specific customer group in magento 2

i want to make one custom module in that i set customer group and shipping method than that particulate customer group hide that shipping method can any one help me how can i do that.
0
votes
1answer
22 views

Magento 2 : Admin reorder url link

i want to get redorer url of order Id in magento , please help with you to do same , unable to find any soluiton to this issue.
1
vote
0answers
18 views

How to Rerender a uiComponent (insertForm) after first render?

I have created a uiForm and inserted another UI Form using insertForm. And It is rendered on fieldset open. But after the main form data update, I want to re-render the form. I am not able to re-...
0
votes
0answers
35 views

Display number of orders per customer in admin order view

I'm trying to display number of orders made per customer in admin order grid, using the following join and select I could get the number or orders. $collection->getSelect()->joinLeft('...
0
votes
1answer
23 views

Admin Notification Magento 2

I am working on admin notification area where I want to show on message which is related to currently logged-in user. I have created a column in db with user_id where after some functionally I push ...
0
votes
1answer
23 views

How can i rewire the language url in mahgento2

How Can i Rewrite the Language Switcher URL in magneto 2 i used that language switcher in that the URL with "___store=fr&___from_store=en" so how can i rewire for all place
0
votes
2answers
88 views

Programaitically Insert Values for Dynamically Created Rows

I am working on creating an Magento REST API which passes values to dynamic rows of Stores->config. Dynamic rows were already created through frontend & backend Models. I just need to insert ...
0
votes
2answers
40 views

Create a new admin theme and make an override of sales module template

I tried to create an admin theme and make an override to sales module template file but this don't work, i followed those tutorials : create admin theme and Apply custom admin theme in app/design/...
0
votes
1answer
31 views

Add column and button magento 2

Is there any way to add a button and column at the backend order view items renderer? I have tried multiples solution but did not work. sales_order_view <?xml version="1.0"?> <...
3
votes
1answer
137 views

Admin > Customers > All Customers > Edit Customer: > left hand tab "Account Information"

How can I populate this field so it's filled in when a customer creates an account? The value of the field just needs to match what customer[parent_customer_id] has. It doesn't necessarily have to ...
0
votes
2answers
70 views

Magento 2: How to change text in admin panel?

how can I change the (German) labels in admin panel like in the screenhot for example? I have tried to change this in "i18n" folders in custom theme and custom module but nothing worked. For ...
0
votes
1answer
48 views

Help to create form - now its neverending spinner magento2

I'm learning to create an UI components form, but stuck on neverending spinner. Help me to create this form, step by step, please. I have a module in adminhtml which shows a table from database. This ...

1
2 3 4 5
33