We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

Filter by
Sorted by
Tagged with
1
vote
1answer
99 views

How to get Label and Value both from system.xml. Magento 2?

I want to get the value and label both from the system.xml I'm trying etc/adminhtml/system.xml <field id="link" translate="label" type="select" sortOrder="20" showInDefault="1" ...
0
votes
2answers
176 views

Magento 2 override admin product-gallery.js file in custom module

I have created one custom module named Hs_Mageenhancement and want to override below admin js file. magento2/vendor/magento/module-catalog/view/adminhtml/web/js/product-gallery.js I have created ...
0
votes
3answers
684 views

Magento 2.3 translations (translate label) in the admin panel (backend)

In Magento 1 I just added a translate.csv for my admin area. How can I achieve this in Magento 2? I just want to change the translations of a few things and add some missing translations. Can't I put ...
2
votes
1answer
46 views

How to solve Uncaught error

How to solve below error Fatal error: Uncaught Error: Class 'Mage_Companyname_Deliverydate_Block_Adminhtml_Mappingdate' not found in \app\code\core\Mage\Core\Model\Layout.php on line 590 ...
5
votes
1answer
107 views

Magento 2 - What is the LayoutProcessor for addresses in the admin panel?

When adding a field to the address form of the checkout in the front end I could do so by creating a plugin for \Magento\Checkout\Block\Checkout\LayoutProcessor. I would like to add the same field ...
1
vote
1answer
183 views

Magento 1.9 Modifying Admin Customer Grid

I am trying to add a column for "trained_in" on the customer admin page inside my magento site. I have the following code $collection = Mage::getResourceModel('customer/customer_collection') ...
1
vote
0answers
217 views

Magento 2 : Custom field data is not saving in product add edit

Custom Field is showing in Product add/edit but data not saving. Here is my full code Vend\Customattrib\etc\adminhtml\di.xml <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="...
0
votes
1answer
86 views

Magento 1 admin order column check if item got catalog price rule

I want to edit the following file, that I copied to a local folder, and show a line if the product got a catalog price rule applied. /app/design/adminhtml/default/default/template/sales/items/column/...
1
vote
0answers
60 views

Custom button in adminhtml edit module

I have created a module to upload a csv and create an import of custom data in it. My form is well displayed and my custom button too. But when I click on the button nothing happens. Any idea ? app/...
2
votes
0answers
18 views

Set product attribute “comment” from backend

No time for coding actually, so I just want to ask if maybe someone already has a working solution (w/o rewrites) :) I just want to add a text input field to "edit product attribute" page, that show "...
1
vote
0answers
26 views

how to display product sku in custom admin grid in magento2

hello everyone I want to display the product SKU in custom admin grid I have column displaying in it now I want to display the data of it index.xml <column name="sku"> <argument ...
1
vote
0answers
8 views

Is there any way to retain the entered customer billing/shipping addresses in magento admin once entered?

We see that the addresses of billing/shipping added to the order creation process gets erased if we remove all line items from the cart and then add back new product using "Add products by SKU" button....
2
votes
1answer
188 views

Magento2 + UI component xml file stop working as mode of deployment change

Below is listing XML file under UI component which is working fine in default deploy mode, but its suddenly stop working in as mode change to developer <?xml version="1.0" encoding="UTF-8"?> &...
0
votes
1answer
211 views

Magento 2.2 - Add link to product (front end) within a custom column in sales order view items list?

I would like to add a column after "Product" to have a link to the product on the front end so it is easy to identify the product. Nearly all our products are one off items so I'm looking for an easy ...
1
vote
0answers
36 views

Can't get Magento 1 adminhtml layout file to load

I was working on a large module and I couldn't get an adminhtml layout XML file to load. So I created a new test module to isolate the issue and I still can't get the layout file to load. I don't ...
1
vote
0answers
37 views

How admin menu.xml configuration file process in mageno2

How Admin menu.xml config file process in mageno2? which file responsible for processing admin menu.xml configuration file?
1
vote
0answers
26 views

Admin form placeholder won't show

I dug up the "stack" and found one good example of how to add new attribute to the field but it won't work. $founderFieldset->addType('text', 'Amber_SupaSlid_Block_Adminhtml_Text'); $...
1
vote
1answer
204 views

Joining Tables in UI Component Collection

My goal is to join another (custom) table to the collection of the customer list ui component in adminhtml and by that add a condition which customers are shown. What is the best (or any way) to do ...
1
vote
1answer
29 views

Easiest way to include _custom.less in adminhtml compile

We are in the process of building our own custom theme. We are being careful to use distinct names for all of our custom style class names. But I noticed that when we create custom styles, they don't ...
1
vote
0answers
30 views

In app/code/User/Customdata/Block/Adminhtml/User/Edit/Tab I have create 3 more php file in this tab

In app/code/User/Customdata/Block/Adminhtml/User/Edit/Tab I have create 3 more php file in this tab. I want to call all file in Main.php file in edit form in Admin. but file is called and data also ...
1
vote
2answers
27 views

Adminhtml - default settings

Is it possible to set column default value to display selected type of block? what I mean is if the page is opened for the first time "slide" is already selected as a default? Field definition: ...
1
vote
1answer
40 views

How to use an accordion into another accordion ? (or tabs or collapse)

I'm trying to put an accordion into another, and the lonely way I found is to not use the same widget into another. Exemple, the parent is an accordion, the different children can be tabs. The ...
0
votes
1answer
40 views

Change text in Product Attachement Grid Magento 2

How to change text in Product grid if any product not found. I have attached this in custom module and now want to change text according to my need.
1
vote
1answer
396 views

how to create city state country dropdown UIComponent in magento 2 admin form

how to create city state country dropdown UIComponent in Magento 2 admin form, like when we select one country then state of that country is shown. Thanks,
0
votes
1answer
138 views

Adminhtml form custom renderer - blank page - Magento 1.9

Added custom element to my adminhtml form. It works perfectly fine on my developement site but it won't on production .... the only difference was on dev i made it as a module while on production I ...
0
votes
0answers
31 views

Magento 1.9 admin menu is going to 404!

I am using custom module to getting tax report. It is working fine on demo site. Below is the etc/config.xml: <?xml version="1.0" ?> <config> <modules> <DS_News> ...
0
votes
0answers
158 views

How magento 2 render checkbox column in admin product grid

I need to disable some checkboxes in a grid based on certain criteria but not able to figure out from where the checkbox column is rendered. I reached the following two files after some search, but ...
0
votes
0answers
55 views

How to get custom attribute value from adminhtml customer custom field using observer

How to get custom attribute value from admin_html customer field using observer customer_save_after event?
0
votes
0answers
30 views

Can't get a time field value in admin form

Did anyone ever do this, I have different time fields in admin form, all works fine (attributes, save etc...) except the edit, I can't retrieve the time value. On saving, the value is well saved, In ...
0
votes
0answers
107 views

how to display Google map on magento 2 admin side

actually, I want to use google map to get latitude and longitude of a place using google map so I need to use google map on backend using UI component form thanks.
0
votes
1answer
64 views

Show and Hide Product Grid in custom module Magento 2

I have created a drop down field. When I select 1 option from field I want to show the another field and along with that I want to hide product grid. Same as when I select 2nd opinion, I want to show ...
0
votes
2answers
399 views

Change the width of Field Ui Component Magento 2

How do i change Field With in UI Component Form in Admin Side. I used id to change the width but didn't worked. <field name="percentage"> <argument name="data" xsi:type="array"> ...
0
votes
0answers
33 views

Adminhtml custom field - how to create one?

How to create a custom field in adminhtml form? I can customize fields in grid but I need to add my own field (table) in form to be sortable.
0
votes
0answers
16 views

Magento 2, wrong tabs view in admin page

Using magento 2.2, admin. I had create new page that include tabs like in image below. My show wrong design, so I need to remove it part. CODE ADD TAB: class Tabs extends \Magento\Backend\Block\...
2
votes
1answer
168 views

magento 1.9 open adminhtml menu external link in new browser tab

I need to add a link in the admin menu to an external web that opens in a new browser tab. So I developed a module, and this is its config.xml <frontend> <routers> <crmlink&...
0
votes
2answers
47 views

Remove Magento 2 AdminHTML theme

I currently have a theme applied to my magento admin section which I would like to remove and go back to default but I am unsure how to do this. I'm guessing that it's not simply a case of deleting ...
0
votes
0answers
12 views

How to resolve 403 error after I turn on SEO on Magento on nginx

I am running Magento 1.9 on Nginx and I turned on SEO on admin. I am getting a 403 error after clicking on "Login" link, which now forwards me to https://sitename.com/vendor/dashboard instead of ...
0
votes
0answers
100 views

CSV Export missing the custom column field added by renderer magento

Because my grid has a problem when join table, so I used renderer to show data like this 'brand' => array( 'header' => Mage::helper('advr')->__('Brand'), '...
0
votes
1answer
100 views

Filter columns with renderers but without an index

I'm adding a column like so in _prepareColumns() method of a class that extends Mage_Adminhtml_Block_Widget_Grid: $this->addColumn('status', array( 'header' => $this->helper->__('...
0
votes
1answer
1k views

Exception #0 (Exception): Notice: Undefined index: id in Iterator

I'm tryingto extend Magento2 Adminhtml with some custom nodes, which has worked good so far. What I'm trying to do now is to figure out how this error is happening: Exception #0 (Exception): Notice: ...
2
votes
2answers
77 views

Grid with multiple Resource Models

I'm trying to use one grid for multiple ResourceModels, so far I've got one grid working fine. I can load the grid up fine using http:{}/admin/grid/grid/ However when i create a new route to load ...
0
votes
1answer
31 views

How to hide price from Form when adding a product magento 2

In my website i don't need the price information so how to do to hide the price from BO when adding a new product?? and if i make the price attribute optional is there a problem in the core of magento ...
0
votes
0answers
49 views

Magento2 How to update product position (number) in specific category by custom script with csv

I would like to set all position sku wise in one specific category using csv here two column data, sku and position. So if anyone has an idea for the custom script kindly reply for me below code ...
1
vote
1answer
58 views

Fresh Magento 2 install admin does not give login box

I'm fairly new to Magento 2 and have been attempting to add a copy on my local machine (operating system: Windows 10) so that I can try out some database migration tests. I have installed XAMPP and ...
0
votes
0answers
127 views

Magento 2 - How to remove phone number validation in adminhtml

Magento 2 I want to remove phone number validation in customer addresses in admin panel --- Screenshot for your reference ----
0
votes
0answers
23 views

Magento 2.2.2 - Restrict access to Admin and redirect to 404 if unautohrized

I need to allow specific IP's/IP range as authorized users to access Magento admin area and redirect to 404 page not found if an unauthorized IP try to access http://store.com/admin. Could think of ...
1
vote
1answer
61 views

Form container can't set child form / create form block

My goal is to have a form into a form container. When I call directly my form in my controller, it works, but when I call the container, I have this issue : Fatal error: Call to a member function ...
0
votes
0answers
60 views

Magento2: custom script for category product sort order position

I need custom script run for specific category products position and use this spreadsheet to change the sort order of the specific category "position" If anyone idea reply me as soon as.
0
votes
2answers
237 views

Have a option to enable/disable the module. I need to load admin page css when my module is enabled. No need to load css while module is disable

I write css in path app/code/my/module/view/adminhtml/layout/default.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/...
0
votes
0answers
4 views

Fill fileds on the basis of Other Filed Value

I have created a form on the admin side using Ui component. I am getting a collection of Catalog rules in my form. now i want that whenever i select a rule from dropdown, some of the other fields, ...