Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

Filter by
Sorted by
Tagged with
2
votes
2answers
897 views

How to target a specific Admin Config section with a layout update

It is relatively easy to target the adminhtml_system_config_edit node with layout updates in a layout.xml file by using: <adminhtml_system_config_edit> <reference name="head"> ...
1
vote
1answer
3k views

how to add “gender” resp. a salutation to customer address?

I like to add gender (or a salutation) to the customer's address. While the gender already for a customer exists, I thought I can simply reuse it but somehow I get stuck at the source model which ...
2
votes
1answer
8k views

How to save form data to multiple tables in database

I have created a form in the admin panel with various fields. Now the fields here doesn't belong to one single table. On the save, I want some values to go into one particular table while others to go ...
1
vote
1answer
748 views

Move Magento “Store View Name” to “Store Name”

we setup three store Store View Name's a long time ago when this should have been Store Name's. We are now busy rolling out multi-language and this is where I discovered the mistake. Is there an ...
2
votes
1answer
474 views

Magento 2 dynamic admin config

I'm working on a custom module. I need a admin config section with dynamic options. The idea is to have a list of all enabled shipping methods. Next to each method i need a select dropdown with ...
0
votes
2answers
214 views

magento 2 : add custom button to admin grid row

I want to add a custom button to the action column of my rows in the admin grid. i realise it must be added via extending Columns: namespace Custom\Example\Ui\Component\Listing\Columns; class ...
0
votes
0answers
29 views

Knockout observable admin form field in Magento 2

I would like to get the value of the SKU input in the admin product form. I am currently getting the value using jQuery but would like to start leveraging KnockoutJS. Simply put, instead of using ...
1
vote
0answers
59 views

Magento 2.1.9 Shipment not save in admin side

I have place order and using authorize.net payment method.I have facing this issue in admin side when save shipment getting this error Cannot save shipment.exception 'PDOException' with message '...
2
votes
1answer
568 views

How to make drop-down dependent on another drop-down value in admin ui component Magento 2

I want to update one drop-down option on the change of another drop-down using UI Component in Magento admin section. Like: have one drop-down with color option ex: Red, Pink, Black, etc. and another ...
1
vote
1answer
178 views

Magento 2 getUrl is generating a different security key

I am trying to generate the following url, in the adminhtml area: $this->url->getUrl('adminhtml/system_config/edit', ['section' => 'mysection']); // where $this->url is an instance of \...
0
votes
0answers
175 views

Strange Error: File you are trying to upload exceeds maximum file size limit in Magento 2

Just now installed Magento v2.3.2 CE and tried to upload the logo, it's throwing error. " File you are trying to upload exceeds maximum file size limit", I have set everything in php.ini file but ...
0
votes
2answers
552 views
0
votes
1answer
11 views

Magento2.3.0 In product edit go to advance pricing there calender icon not proper showing

I am using Magento2.3.0 and go to admin side product edit inside advance pricing there special price inside calender icon not proper showing please if you have any idea how to resolve it
0
votes
0answers
7 views

Magento 1.14 - admin _prepareCollection() and _prepareColumns() are not rendering or not calling

In Magento 1.14 - admin _prepareCollection() and _prepareColumns() are not rendering or not calling. Could anyone please help me out why these functions are not loading from grid.php. Below is my ...
0
votes
0answers
25 views

Magento 2: Validating input in the admin before submit

Is there a way in which I can add an ajax call to an admin field so I can validate the data against an external system? For example, if an admin enters an SKU I want to validate against that the ...
0
votes
0answers
89 views

Override Magento_Ui base view template file on Magento 2

In Magento, we can override vendor's file vendor/magento/module-ui/view/frontend/web/templates/form/element/input.html like: app/design/frontend/{Vendor}/{ThemeName}/Magento_Ui/web/templates/...
1
vote
1answer
60 views

Magento 2.2.3 - How to fix ColorPicker issue in admin configuration?

My admin store was working correctly search on google and follow this question created file as given but still problem is exist if any developer can explain what i am doing wrong ?? in the above ...
2
votes
2answers
481 views

Magento2 - admin price input's are rounding value to 2 decimals

This is a Magento CE 2.3.2 project In this project we need to work with 4 decimals for prices. We have tried this https://github.com/lillik/magento2-price-decimal which works fine, all prices are ...
0
votes
1answer
476 views

magento 2 admin how to edit table row with ko (knockout) like customer grid?

I created a custom grid, but I need to update the data using the grid interface using ko (knockout) JS, as in the customer grid Created custom grid table using https://webkul.com/blog/create-grid-...
4
votes
1answer
432 views

Support Multiselect Attribute in Admin Grid Column without UI

I'm extending a Magento 2 module which doesn't use UI. I've added a new column for a custom attribute to the module's Admin grid. However, I'm trying to change the attribute to a multiselect, and I ...
0
votes
2answers
60 views

Use Custom HTML in Edit form Adminhtml magento 2

I have Custom Edit page in Adminpanel as below: Above Reply textbox, I want to show other records from my custom table in custom HTML format. but not sure how can i use custom html format there!! My ...
0
votes
2answers
47 views

How to create controller without creating menu in Adminhtml Magento 2

I have referred below Article to display button in my Configuration page. https://magecomp.com/blog/add-a-button-in-magento-2-stores-configuration-with-custom-action/ In file app\code\Vendor\...
0
votes
2answers
679 views

Magento MassAction grid (custom) Select All not working/not selecting. Why?

Magento MassAction grid (custom) Select All not working. Why? In grid we click grid_massactionJsObject.selectAll()(select all link) Question: how can we make select all work again? Grid.php is set-...
2
votes
1answer
66 views

UIComponent Form - Spinner showing

In my Form UIComponent only a spinner is showing. I compared my implementation to several ways it is implemented. The grid is showing just fine, i only have the problem in the form. My layout file: &...
1
vote
0answers
44 views

How to create Filter for custom field in Sale Order Grid magento 2

This is my grid sale order grid have custom field Ready To Ship This is my error Because Ready ship not in database. I just check condition to return Yes/No Now, how can filter custom field Ready ...
6
votes
3answers
15k views

Magento 2 get custom module image url from backend

I used <?php echo $this->getViewFileUrl('Vendor_Module::images/demo.jpg'); ?> <?php echo $block->getViewFileUrl('Vendor_Module::images/demo.jpg'); ?> But it's working only ...
0
votes
1answer
231 views

how to fix A technical problem with the server created an error. Try again to continue what you were doing?

A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later. in magento 2 admin in orders : in products: when go to ...
0
votes
0answers
10 views

How i can AutoFIll Create Order Form with Quote data

i want to redirect my admin to Create Admin Form with Quote data to Auto Fill Create Order and allow admin Create Order something like that when admin click on create order Action it should redirect ...
0
votes
1answer
808 views

JS callback for grid action

I see I can use custom action handlers for adminhtml grid actions. This is DOM node for action link (HTML): <a class="action-menu-item" data-bind="attr: {href: $action().href}, ...
1
vote
1answer
28 views

Magento 1.9 custom module for managing admin users in different role

Am working on a custom module for managing admin users in a custom role. Just finished the grid section. I need to edit the listed users, also a add form. I just tried by overriding the 'Mage/...
0
votes
0answers
8 views

how to create add_new_row to create fields on the fly

how to create add_new_row button to create more fields on the fly on magento2 I want to create a form just like advance pricing that has some option to add more fields
1
vote
2answers
57 views

Magento 2 : Need to redirect on custom menu page instead of dashboard after login in admin panel

I want to redirect on custom page instead of dashboard in magento 2 admin panel. How to redirect that? Any help would be appreciated. Thanks.
3
votes
0answers
49 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 "...
0
votes
1answer
710 views

Rewriting app/code/core/Mage/Adminhtml/contollers/Catalog/ProductController.php

I am trying to rewrite app/code/core/Mage/Adminhtml/contollers/Catalog/ProductController.php. In my config.xml I have the following: <?xml version="1.0"?> <config> <modules> ...
0
votes
0answers
40 views

In magento2 , how to show dynamically added customer attributes in customer grid?

In magento2 , how to show dynamically added customer attributes in customer grid? I have used this extension dynamic added customer attributes in backend Customer_gitd
5
votes
1answer
130 views

Set custom tab in customer edit page Active

I created a custom tab for customer edit page in backend like this: app/code/Namespace/Module/view/adminhtml/layout/customer_index_edit.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
2
votes
2answers
122 views

Magento2 Admin panel Buttons not Work

Hi, I've deployed my Magento store (v2.1.9) and logged into the back end admin panel successfully. However none of the buttons are working, and I'm getting these two errors in my console. Does anyone ...
0
votes
1answer
22 views

Wrong Layouts in Magento2 Adminhtml

I noticed a strange behavior in a M2 System, I think this is related to a 3rd party module. All layouts which should be 1column layouts are 2 column layouts actually so something overwrites the ...
0
votes
0answers
71 views

How to get admin base Url or ajax request to any controller in magento2?

I have not any phtml file to set base url. How can i call ajax form admin side in customjs magento2 form.xml <field name="type"> <argument name="data" xsi:type="array"> <...
7
votes
1answer
883 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 ...
0
votes
2answers
1k views

Custom Form with WYSIWYG Element: No content update and “Show / Hide Editor” Button does not work

I have a problem with enabling the WYSIWYG editor in a custom admin form. With a normal textarea, everything works: $fieldset->addField('slider_content', 'textarea', array( 'name' =>...
0
votes
0answers
19 views

Edit a phtml file exists in adminhtml

I want to edit the invoice from adminhtml, so what is the best way to edit a phtml file in adminhtml folder?
0
votes
0answers
23 views

After logout magento 1.x not redirect to login page

I want the redirect to the login page for backend after logging out account. Now, after log out, it redirects to frontend. Ex: Dashboard backend https://a.com/index.php/abc/dashboard/index/key/...
0
votes
0answers
5 views

Magento 2 In the admin panal order add or edit time when select the status than some text box show dynamic below the status

Actually, I need an order to add or edit time, when we select the order status than as per the status custom input text box shown below the select status. if u know than please tell me how to get ...
0
votes
0answers
25 views

how to use other module data source to new module in magento 2

Hi I want to use the data source of module 1 to module 2 in Magento 2 how I can do this ?? vendor/module2/etc/module.xml <sequence> <module name=vendor_module1/> </sequence> ...
0
votes
1answer
35 views

Magento 2.1 adminhtml Action 'Edit' give 404 while Index works

Update: Here is what the Developer Toolbar gives me on the 404 page: Mode: Developer Controler Module: Magento_Backend Controler Class: Magento\Backend\Controller\Adminhtml\Noroute\Index ...
0
votes
0answers
42 views

How do I override an html file located in the admin seccion? [duplicate]

I'm using the new Magento 2.3 pagebuilder and i'm trying to add a "span" tag inside a button of the banner/poster of the pagebuilder. I found out where I can change the pagabuilder view on my ...
0
votes
0answers
30 views

Creating custom button in customer address section Magento v2.3.1

I have created the custom button in the customer address section and it's showing well. When I edit any customer it's working normally/expected. But when I click on Add new address it's throwing an ...
0
votes
0answers
11 views

How to save offline custom payment drop-down data in sales order and Display in sales grid

I created one payment method swipe machines. That swipe machine have a master. We are saveing Machine Name,Tid,Mid, Percentage in master. In payment section of swipe machine we are just looping data ...
0
votes
0answers
12 views

How to open a slide-in modal with a block button adminhtml

Would be possible to have a block button, like the Add Attribute, open an XML modal. XML Modal Example namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Button:AddAttribute I've attempted to ...