Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

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

Add custom creditmemo attribute to sales_creditmemo_grid table

I have added a custom attribute custom_status to the sales_creditmemo and the sales_creditmemo_grid tables via a InstallData script in a custom module, and added the custom field to the creditmemo ...
user avatar
0 votes
1 answer
15 views

Remaining Characters on Product Configure in Admin

I'd like to add a remaining character count to the configure product screen when an order is created through the Admin. Like it does on the customer-facing side. I have created a new module. I'd ...
user avatar
0 votes
1 answer
33 views

Magento 2 Admin Error using Mirasvit Push Notifications

Having installed the Mirasvit Push Notification. when I am editing a block in the admin backend, I get the following error in developer tools and I cannot save/update any changes. In Chrome: Uncaught ...
user avatar
1 vote
3 answers
70 views

Filter admin order by store id magento 2

I'm trying to filter orders by store instead of store view. I have 2 stores, each has 2 store views. I wanted to filter order with store. I declared a collection in di.xml <type name="Magento\...
user avatar
0 votes
1 answer
26 views

How to enable/disable welcome email from admin configuration in store basis

Hi I referred this solution for disabling welcome email and it works perfectly.however i want the around plugin to work only if its enabled from admin backend that too in store basis. I added etc/...
user avatar
  • 1
0 votes
2 answers
44 views

Unable to Set Custom Price or Quantity in Admin Orders

I have a Magento 2.4.3-p2 instance running on apache2. When I create an order using the admin backend, I cannot customize the prices and quantities of the products I have added to the order. The ...
user avatar
0 votes
0 answers
10 views

Magento2 How to set the Layout option default selected to 1 column?

Magento2 How to set the Layout option default selected to 1 column in following dropdown?
user avatar
  • 3,446
2 votes
2 answers
176 views

A lot of js.map file not found after upgrade to Magento 2.4.3

I just upgraded my magento version to 2.4.3-p1, and after i login to the admin site there are a lot of js.map file not found in the console log message: How can i resolve this issue ?
user avatar
  • 68
0 votes
0 answers
29 views

Magento 2: How to set catalog product description input field using WYSIWYG instead of page builder?

After i upgrade my Magento version to 2.4.3, the product description input field in backend becomes page builder input field, i want to revert it back using the regular wyiswyg input field without ...
user avatar
  • 68
0 votes
2 answers
51 views

Magento 2 products not paginating in admin panel

I'm working on an e-commerce that have many thousands of products, something like 80,000 products. The problem is that when I go to Products page, it keeps loading and then crashes or return a 504 ...
user avatar
0 votes
1 answer
143 views

How to search by like query in sales order grid?

I'm using Order's increment ID in the search by keyword field to get the search results. However, it only works with 00000XXXX and not by XXXX. Search by keyword is using Fulltext searching but how to ...
user avatar
0 votes
0 answers
24 views

magento 2.4 show custom data on admin order page information section

I'm on magento 2.4. On the admin order detail page, there is a table with order information ("order & account information" right nex to "account information" at the top of the ...
user avatar
  • 129
0 votes
1 answer
16 views

Control manditory fields for customer create from adminside

how to add custom rule from js for firstname in magento2? <validation> <rule name="required-entry" xsi:type="boolean">true</rule&...
user avatar
  • 1
0 votes
0 answers
25 views

Magento2: How to remove separator price in product admin grid

How to remove separator price in product admin grid?
user avatar
  • 1
0 votes
1 answer
29 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 ...
user avatar
1 vote
1 answer
39 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"> ...
user avatar
  • 1,749
1 vote
1 answer
128 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/...
user avatar
0 votes
1 answer
118 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"...
user avatar
  • 71
3 votes
0 answers
84 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 ...
user avatar
0 votes
1 answer
34 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();
user avatar
  • 43
1 vote
1 answer
73 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" ...
user avatar
  • 43
1 vote
1 answer
181 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
user avatar
  • 43
0 votes
0 answers
42 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 ...
user avatar
  • 828
0 votes
0 answers
26 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 ...
user avatar
  • 75
0 votes
1 answer
24 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/...
user avatar
  • 1
0 votes
0 answers
31 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 ...
user avatar
  • 498
0 votes
0 answers
25 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 ...
user avatar
  • 772
0 votes
1 answer
174 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 ...
user avatar
0 votes
0 answers
73 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 ...
user avatar
  • 41
0 votes
0 answers
41 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
user avatar
0 votes
0 answers
32 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 ...
user avatar
  • 2,398
0 votes
0 answers
43 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 ...
user avatar
0 votes
0 answers
16 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 ...
user avatar
  • 1
0 votes
0 answers
10 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.
user avatar
  • 1,967
0 votes
2 answers
168 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 ...
user avatar
0 votes
0 answers
24 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="...
user avatar
  • 198
1 vote
1 answer
102 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: { ...
user avatar
  • 228
0 votes
1 answer
29 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 ...
user avatar
0 votes
0 answers
11 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 ...
user avatar
0 votes
0 answers
8 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 ...
user avatar
0 votes
1 answer
33 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 ...
user avatar
1 vote
0 answers
13 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', [ ...
user avatar
  • 45
0 votes
1 answer
45 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://...
user avatar
  • 772
0 votes
1 answer
199 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( ...
user avatar
0 votes
1 answer
78 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="...
user avatar
0 votes
2 answers
132 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 ...
user avatar
0 votes
0 answers
28 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 ...
user avatar
0 votes
0 answers
16 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 ...
user avatar
0 votes
0 answers
12 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&...
user avatar
0 votes
1 answer
120 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/...
user avatar

1
2 3 4 5
33