Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

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

Adding custom pop up in Magento Admin page

Is that possible to create something like form and selection box in this popup? right now I'm using this code to add custom button in my Plugin class, but I don't know how to add the customizable ...
1
vote
1answer
16 views

Magento2: Multiple image upload in Admin Form

I am not using the UI component. And I want to convert the below code in Form.php <fieldset> ... <field name="imageUploaderExample" formElement="imageUploader"> ...
1
vote
1answer
25 views

How can i resolve Empty string supplied as input in DOMDocument::loadXML() in magento 2?

when I compile my code I have this kind of error accurse Warning: DOMDocument::loadXML(): Empty string supplied as input in /mnt/data/home/cloudwaysapps.com/ssucdkafzj/public_html/setup/src/Magento/...
0
votes
1answer
34 views

How can I display the categories and subcategories in my admin form like in the product page?

I am trying to add the categories and subcategories in a small panel Exactly like the one in the product panel and I want to add it in here instead of this XML field like the "toOptionArray"...
3
votes
0answers
25 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 ...
0
votes
1answer
25 views

Magento 2 Custom fee not updating in checkout page(Quote save)

How can I update the quote when I open the checkout page? Like this $quote->save();
0
votes
0answers
18 views

How can save custom attribute value from product_form.xml Magento 2

Add new attribute in product create page in admin side How can I save value from this dropdown? here is my product_form.xml <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
1
vote
1answer
33 views

How can I create my custom category dropdown in admin side(Create category page)

How can I create my custom category dropdown in admin side(Create category page) like an image
0
votes
0answers
8 views

Magento 2 sort multi select attributes by selected and alphabetical order

I'm trying to sort multi-select attributes by selected values at the top and alphabetical order shown in the admin product edit page. I tried using JS to sort alphabetical but didn't succeed. Please ...
0
votes
0answers
16 views

Adding bulk delete category products on Save

I am using Magento 2.4 enterprise edition and the Admin Products in Category Tap is using Magento visual merchandiser (Magento_VisualMerchandiser) module which removes the bulk select checkbox column ...
0
votes
1answer
9 views

Can Magento 2 Admin Panel bundle js files?

I want a faster Admin Panel and I'm wondering if it's possible to bundle the js files, just like the Magepack module, but in the Admin Panel. I'm researching in https://devdocs.magento.com/guides/v2.4/...
0
votes
0answers
22 views

Country as select field and based on country selected respected states in magento 2

There are two fields country and state. I want the country as select field and based on selected country add selected respected states for that country are listed in multi-select. Thank you in ...
0
votes
0answers
24 views

Invalid security or form key Please refresh the page [duplicate]

Happens when I go to any product page in the back office. I can access the default store view. I can access the first store view. But I can't access the second store view without triggering that error ...
0
votes
1answer
32 views

Add Custom Button with Functionality to Order Detail - Magento 2.4

I am trying to add a custom button to the admin order detail page. With the code below the button shows up correctly. However, when clicked the page loads to a 404 page. I can't seem to find a route ...
0
votes
0answers
29 views

Use Magento 2 Product's Scope Switcher in custom module

My problem is, that I wan't to use scope switcher that is, for example, in product editor in the toolbar: It has a really nice ability to quickly switch between store views and usage default values ...
0
votes
0answers
25 views

How to add product add functionality in custom module in magento 2?

i need to create new module that add rental product and that product add same as add like default product add
0
votes
0answers
21 views

How to add filter for particular field in Product Ordered Report Grid in magento 2

I have added a new custom column in Reports->Products->Ordered Grid and populated the corresponding data by following this link How to debug Reports > Products > Products Ordered ...
0
votes
0answers
15 views

Customer password not working after migration from M1 1 to Magento 2

I have Migrated Magento 1.9.1.0 website in Magento 2.2.4, all data is migrated successfully. When I am trying to login from the front-end with the existing old customer(Magento1) it generating an ...
0
votes
0answers
11 views

How to reorder the Group / Tier Pricing display in product edit

My client has 10 groups that receive discounts on their products, every product has a group price attached to it as per the attached image. He has now requested that we reorder the prices in admin so ...
0
votes
0answers
8 views

How to show Shipping & Handeling after tax in order totals section admin order view?

I want to show Shipping & Handeling after Tax and just before Grand Total in order view page in admin. I have tried to change sort order from backend but this is not working for me.
0
votes
2answers
54 views

How can I remove backlog from indexer programmatically?

I want to remove backlogs from the indexer when I check the indexer:status there I found many backlogs in the indexer. I need to remove this problematically using corn job at every 2 minutes my cron ...
0
votes
0answers
21 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
35 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
19 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
10 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
7 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
25 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
28 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
24 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
2answers
58 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
24 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
14 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
56 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
30 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
31 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
100 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
38 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
161 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
65 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
35 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
36 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
11 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
89 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
151 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
358 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 ...

1
2 3 4 5
33