Questions tagged [adminhtml]

Questions about extending the Magento admin panel and the admin theme

Filter by
Sorted by
Tagged with
3
votes
1answer
983 views

Adding custom layout xml to adminhtml

I want to add a custom layout xml file to update adminhtml. I have it working now by adding the xml file to app/design/adminhtml/default/default/layout/[module]/custom.xml. I don't like adding this ...
7
votes
4answers
9k views

“Please specify a shipping method” when programmatically creating an order

I'm creating an order programmatically with code I wrote a while ago which functions correctly, when using the free shipping method (i.e freeshipping_freeshipping) However, I'm now trying to place ...
1
vote
1answer
32 views

Magento 2 - Custom user edit tab not displaying

I try to add a new tab on Admin user edit I use this code, adminhtml_user_edit.xml <?xml version="1.0" encoding="utf-8" ?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
1
vote
1answer
51 views

I want to override backend file. Magento2

I want to override backend file items.phtml vendor\magento\module-sales\view\adminhtml\templates\order\invoice\view\items.phtml what i was doing design\adminhtml\xzktur\Xzktur_Theme\Magento_Sales\...
1
vote
1answer
99 views

Mage_Core_Exception: Invalid block type: Mage_Adminhtml_Block_Sales_Order_Totals_Subtotal

I am new in Magento and in Magento (Magento ver. 1.9.3.2), it show Exception of Invalid block type: Mage_Adminhtml_Block_Sales_Order_Totals_Subtotal(in exception.log) And reason of that Exception ...
2
votes
1answer
170 views

override base template file in adminhtml [Magento-Ui backend]

I created custom grid module using ui component layout In that i want to add new button near to filter button. That new button should functions like action drop down function i.e capture all ...
3
votes
0answers
236 views

Magento 2 Uncaught Error: Script error for: tinymce

Magento 2.3 version In admin pages,i am getting this error - Failed to load resource: the server responded with a status of 404 (Not Found) Uncaught Error: Script error for: tinymce http://...
0
votes
0answers
49 views

Magento 2 code review

I built a module that supposed to solve the following issue: A multi-site setup with some CMS pages that are shared across the different websites. The problem that we are having is that this is ...
1
vote
0answers
49 views

Magento 2 SEO Multi-stores share CMS pages [closed]

I built a module that supposed to solve the following issue: a multi-site setup with some CMS pages that are shared across the different websites. The problem that we are having is that this is ...
4
votes
1answer
137 views

Product edit page move tabs to sidebar

In the default layout for the admin product edit page, we have an accordion style setup. This is really annoying as you have to scroll down several pages every time you want to edit an option that's ...
0
votes
0answers
37 views

Magento 2 - Adding new column on product grid with permission

I added a new attribute to product table using EAV method, this attribute is to save the ID of the user who's add the product. So, I need to add a new column to product grid on BackOffice but with ...
1
vote
0answers
23 views

Magento2.3 SetTemplate is not working first time ajax

I would like to add additional some field info in sales_order_create_index.xml I used setTemplate: <referenceBlock name="data"> <action method="setTemplate"> <...
0
votes
0answers
53 views

Magento2.2 change admin user roles cant login

I have problem when change roles, all account of that roles can't access admin. Step 1. User 1 will login as "CM" roles Step 2. User 2 will update the resources available to role "CM" Step 3. User 1 ...
0
votes
3answers
2k views

How to solve the error : “Could not save product ”20072“ with position 0 to category 7” in magento 2 [duplicate]

While unasign the product from multiple categories to single category and trying to save the product, it thorow the error like below Could not save product "20072" with position 0 to category 7 I ...
1
vote
0answers
51 views

Uncaught InvalidArgumentException: Unable to unserialize value, string is corrupted

I haven't made any changes my website was working properly. Magento version is 2.3.1 CE While I was going through configuration options suddenly getting 500 internal server error. Below is error log ...
0
votes
0answers
71 views

Create Order Totals - Remove currency symbol in Admin Panel

I've added custom totals "Total Weight". It works perfectly on the storefront but in admin panel it displays currency symbol $ and it is formatted with .00. How can I change it? It should be not ...
2
votes
3answers
537 views

Magento2 - missing adminhtml custom block after upgrade to 2.2

We had a custom block injected in the adminhtml section. This block is managed in a module (let's call it Vendor/Module) & it was working fine in Magento 2.1.*, following this methodology magento ...
1
vote
0answers
202 views

update SKU on save using observer in Magento 2

On Saving New/Old products in admin, I am updating the SKU automatically with [PRODUCTID]-[COLOR] value. I am able to update any attribute via observer, but when try to update SKU it gives me an ...
0
votes
0answers
25 views

How to create Backend Modal Popup : Magento 2

How can we create a modal popup on click of Button in order view grid in backend? I need to achieve as given below screenshot: Help would be much appreciate. Thanks in advance.
4
votes
1answer
839 views

How to pick data from a form into the backend?

I've created a new menu on the backend, which has a form. I need to pick the form's data and show them in the same .phtml or another, I don't mind. But the fact is that I can't do a <form action="" ...
0
votes
0answers
24 views

Magento 1.9 add custom field to multiple templates

I have a custom field that I would like to add to all areas in the admin panel where you can change the quantity of a product. I currently am of the impression that I have to rewrite each template ...
0
votes
1answer
647 views

Error in custom Admin menu controller - Magento 2

I created a custom menu but got this error. Fatal error: Class News\LatestNews\Controller\Adminhtml\News contains 1 abstract method and must therefore be declared abstract or implement the ...
3
votes
3answers
2k views

Magento 2: Checking an Admin User's Access Level

In Magento 2, you can create access control rules for admin users at System -> User Roles As a backend Magento programmer, how can you check which rules the currently logged in admin user has ...
0
votes
0answers
46 views

Update product quantity from grid dashboard

Is it possible update product quantity from grid dashboard ? Or how to add a new column where it will be possible to update quantity ? Can anyone redirect me how to do this?
0
votes
1answer
1k views

How to show a custom grid in a custom tab in product edit page admin Magento-2

How to add a custom grid in a new tab in product edit page using UI_Component method? This custom grid fetches collection from a custom table.
1
vote
0answers
68 views

AJAX call returns the same page html

I have a module that I need to do a php GET action and get some informations from php file. The problem is that the returned value is the Dashboard html. Faturamento/Controller/Adminhtml/Ac/Index....
4
votes
0answers
90 views

Magento 2 Admin Notifications - what makes a notification popup when the admin user logs in?

Occasionally, an admin notification can pop up when an admin user logs into the Admin Panel. The popup usually shows in an orange style box and can be closed easily, but not all poups show like this. ...
0
votes
0answers
21 views

Return PHP values inside JS file

I have an module that I need to load some informations when the user clicks at the sync button (backend). The problem is, how to retrieve the values from the js file and put them in the form. view/...
0
votes
2answers
72 views

Integrate js with button on uiComponent xml

I have the following custom form in my admin html and I have tried to insert a javascript function on my custom button click but the page being in a infinity loading loop. view/adminhtml/...
0
votes
0answers
379 views

Adding new Tab to Order View page not displaying

Here is my config file: <?xml version="1.0"?> <!-- /** * MageWorx * Admin Order Editor extension * * @category MageWorx * @package MageWorx_OrdersEdit * @copyright Copyright (c) ...
0
votes
1answer
157 views

How to add a new field to Custom Options

How can I extend the "Custom Options" in a configurable product? I need to add a new field named Identifier. Where can I find the necessary templates? I figured out that the template is in app\design\...
0
votes
0answers
34 views

can't save new category in magento2 admin panel [duplicate]

Magento2 admin panel adds new category save then error show. "Something went wrong while saving the category." So give me a solution.
1
vote
1answer
78 views

Custom Admin Edit form not displayed

I have created a custom module using \Magento\Backend\Block\Widget\Form\Container form with Magento2.3 and I am facing issue while edit form is not showing in Magento Cloud, But local environment is ...
1
vote
1answer
137 views

Magento 2 Custom extension admin grid returning blank

I have a custom module on my Magento 2 installation. The problem is when I access the admin grid, it's returning a blank page, just with the title of the page, like the following picture. I already ...
0
votes
1answer
196 views

Magento 2 send email programatically not working(error-Template file 'name_of_file.html' is not found.)

Magento 2 send email(adminhtml) programatically not working. i am using this code - $report = [ 'report_date' => date("j F Y", strtotime('-1 day')), 'orders_count' ...
2
votes
2answers
334 views

How can I remove entries from here?

Lets navigate to: Adminview -> Product -> Cataloque -> Edit Any Product and we will get this view: How can I remove "Produktbewertungen"? It says the file is: templates/form/collapsible....
2
votes
1answer
556 views

can't call function setTemplate in controller admin magento2?

in my Controller i call public function execute() { $this->_view->loadLayout(); echo $this->_view->getLayout()->getBlock('...
0
votes
1answer
580 views

How to add label to address field in magento customer address?

I want to add address field label to address field 2 in Magento admin panel. I want to add label House number in customer address field where Address will be in address line 1 and the new label will ...
1
vote
2answers
135 views

Magento 2 Ui Form field dependency

Just for learning I've following fields in my Admin Product edit form <field name="gender"> <argument name="data" xsi:type="array"> <item name="options" ...
1
vote
1answer
17 views

How can we use Admin Js file in custom theme in magento 2

I want to modify File /vendor/magento/module-bundle/view/adminhtml/web/js/components/bundle-user-defined-checkbox.js. I have a custom theme. I have put this file app/design/adminhtml/Magento/backend/...
2
votes
1answer
30 views

Increase number of shown related products in the administration (Magento 2)

When you edit a product in the magento administration the number of items listed in the related products, up-sells and cross-sells list is limited to 20. Also there is no possibility to change this ...
0
votes
1answer
235 views

Magento2 : How disable some specific values in Multi-select UI component

I am setting some values in multi-select to be disabled based on some condition This is how I am declaring my UI component <field name="category_option"> <argument name="data" ...
1
vote
2answers
104 views

M2 Custom Extension 404 save error

I'm trying to write a fairly simple extension that can save data to an admin grid. I've been using the Magento CMS module as an example of this, I have my grid, I can click new and enter data, but ...
0
votes
1answer
27 views

Slider Management menu doesn't show up

I've been doing a Slider module (Magento 1.9) and having a problem with the Slider management menu in the admin page. It hasn't shown up though I've been trying to fix the adminhtml.xml file. So I ...
2
votes
0answers
67 views

Disable button for certain user groups/roles

How to disable certain buttons of the features to specific roles in the admin panel. For eg If the role "tester" is given access to view feature in sales/customize-feature in the admin panel, he ...
1
vote
0answers
24 views

How call different Classes on button in Ui-Component. Magento2

I create the ui_component which code is <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
0
votes
0answers
60 views

How to create a pop-up on click button in Ui-Component in Magento 2

I want to create the PoP-Up in place of UI component extra page Like I can show in image and after clicking Click Offer a new page opens now as you guys can see in second image the data of the ...
1
vote
3answers
120 views

How can override .xml file?

I want to override this class vendor/magento/module-sales/view/adminhtml/ui_component/sales_order_grid.xml Actually I want to make customize the Grand Total Column in sales order grid <column ...
1
vote
1answer
23 views

1.9.2 image issue - have buttons, uploads successfully, does not attach to product

I have the upload buttons, the file uploads successfully, but it does not attach to product Magento 1.9.2.4 I have done the following Ensure that the app/design/adminhtml/default/default/template/...
0
votes
1answer
30 views

Block on Adminhtml dissappear after upgrade to Magento 1.9

This is my code: on app/design/adminhtml/default/default/layout/infocurci/fidelity.xml <adminhtml_sales_order_view> <reference name="order_info"> <block type="...