Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

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

Error setting an adminhtml from a frontend path

I'm using a third-party which set an appendPaymentBlock Observer method <adminhtml> <events> <payment_info_block_prepare_specific_information> <observers&...
1
vote
1answer
35 views

How to add extra column in Item ordered tab in Magento2.3?

How to add an extra column in Item ordered tab in Magento 2? PFA Any ideas?
0
votes
0answers
20 views

Unable to modify categories in magento due to error

Fatal error: Uncaught Error: Call to a member function toHtml() on boolean in /var/www/vhosts/Site/httpdocs/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tabs.php:153 Stack trace: #0 /var/www/...
1
vote
1answer
38 views

Magento 2 - Bulk update stock programmatically - Using database query [duplicate]

I have 10 products; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. I want to be able to bulk change 1, 3, 4, 5 and 9 to 0 quantity and out of stock and 2, 6, 7, 8 and 10 to 100 quantity and in stock. How can I do ...
0
votes
0answers
19 views

How we can use Js Mixins for order scripts.js

I want to override switchPaymentMethod from module-sales/view/adminhtml/web/order/create/scripts.js for that I use mixins: app/code/Vendor/Module/view/adminhtml/requirejs-config.js var config = { ...
0
votes
1answer
28 views

How to create a complete group tab to admin?

I want to add a group tab in system > configuration > general > general. This tab will contain a text area where the user will be able to modify the text. This text area will be connected ...
0
votes
2answers
72 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
23 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
1answer
33 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 \...
2
votes
1answer
54 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 ...
0
votes
0answers
41 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
1answer
10 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
5 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
21 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
26 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
51 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 ...
0
votes
1answer
32 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-...
0
votes
2answers
26 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 ...
2
votes
2answers
68 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 ...
2
votes
1answer
32 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
24 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 ...
2
votes
0answers
31 views

Add Manufacturer in Related product grid in magento 2

I want to add manufacturer column in Related product grid section in the product's Related Products, Up-Sells, and Cross-Sells tab. I have to add filter also for the manufacturer.
0
votes
1answer
39 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
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
49 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.
2
votes
0answers
19 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
2answers
36 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
0answers
35 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
39 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
37 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
0answers
18 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"> <...
0
votes
1answer
18 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
18 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
17 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
21 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
32 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
12 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
22 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
10 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
10 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 ...
2
votes
0answers
25 views

Magento1 admin product image upload issue

I have installed Magento1 Patch SUPEE-8788 in my local system. But I have an issue, in Admin Panel, Product Image Upload Browse Button is Not Working. 1 File: app\code\core\Mage\Adminhtml\Block\Media\...
2
votes
1answer
123 views

Magento 2 Admin Grid Date Filter

Using Magento 2.3.1 When admin locale is en_GB it processes dates wrong. For example filtering orders by date. The date pickers work correctly so the 1st May comes out as 1/5/2019 but Magento ...
1
vote
1answer
20 views

Magento 2 how to set custom customer attribute select values

I am successfully able to create custom customer dropdown attribute but how to set select default values ? I am using that code - <?php namespace XXX\Customerstatus\Setup; use Magento\Customer\...
0
votes
0answers
24 views

Magento 2 - current user session for adminhtml and frontend

I have an observer that applies to both frontend and adminhtml. I need to access the session of the authenticated user. The session for the frontend user is held in \Magento\Customer\Model\Session ...
2
votes
0answers
60 views

Add popup on clicking custom button in product edit page in admin in magento 2.3

I have added a custom button in product edit page using product_form.xml like below : app/code/Company/Module/view/adminhtml/ui_component/product_form.xml <?xml version="1.0" encoding="UTF-8"?>...
1
vote
0answers
25 views

Custom css for adminhtml [duplicate]

I want to customize css for magento admin order create form.Can anyone help with the steps to apply my custom CSS.
0
votes
1answer
36 views

JS issue with Magento 1.9.4.1 Adminhtml

We recently upgraded our magento 1.8.1 install to 1.9.4.1, we also changed our php version from 5.6.4 to 7.2 However we are now getting an error when looking at the product page Uncaught DOMExeption:...
1
vote
1answer
20 views

Magento 2 how to create customer file attribute

Magento 2 how to create customer file attribute,file type must be csv,doc,xlsx I search and also tried but not working. Here is my code - InstallData.php <?php namespace W3solver\Callforprice\...