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

system config dynamic row change save style

Using tutorial I have managed to add dynamic rows with 2 column: 1 - Customer Group 2 - Price for customer Both fields showing in system config and saving as well. issue is when I check in database it ...
1
vote
1answer
13 views

Magento 2 smtp could not open socket in Aws Setup For M2

My Site is on aws instant and I am used gmail smtp for sending mail from that but I have one sending mail error and try to solve it but not get any solution This kind of error I find when I send mail ...
0
votes
0answers
15 views

Magento 2 smtp could not open socket in Aws Setup For Magento2

My Site is on aws instant and I am used gmail smtp for sending mail from that but I have one sending mail error and try to solve it but not get any solution This kind of error I find when I send mail ...
0
votes
0answers
16 views

Magento 2 how to override theme-adminhtml-backend view.xml in custom module?

By default Magento 2 creates more than 20 duplicates of each product image..! (why???) I have got this down to 5 using view.xml in my theme, but there is one extra set of image sizes I need to change, ...
0
votes
1answer
18 views

Website is in HTML

I am getting this error when I am trying to login in to the HTML website. Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'clubma_dbaytxf.customer_entity' ...
0
votes
2answers
27 views

In Magento 2, how to disable a menu for particular admin user

In Magento 2, how to disable a menu for particular admin user
0
votes
0answers
10 views

Magento 2 category sort in admin product add page issue

The categories are shown in the product add/edit page of the admin page is not sorted by a position as in the admin category tree. As shown above I have this type of sorting on the admin page. But as ...
0
votes
0answers
12 views

Save button does not return to admin grid

I have a plain old save button on an admin form, but it doesn't return me to the grid after saving. It's more or less a copy of Magento\Customer\Block\Adminhtml\Edit\Address\SaveButton. What could be ...
0
votes
1answer
23 views

How to get Selected categories ids by jquery in product add/edit page

I want to get categories ids from the select box which are selected in the product add/edit time on the admin side by Jquery. I tried to get value from the hidden box but not able to find a hidden box ...
0
votes
0answers
28 views

Any event available for backend to run a function in every page- Magento 2?

In Magento2,is there an event-observer available for the backend to run a function on every page?
0
votes
1answer
24 views

How to disable product edit per field based on admin role in Magento 2

I have some differents users that will be use the admin, on this way, I need to create different rules to edit the products. On this way, I´ll create a rule that the user can edit just PRICES and ...
0
votes
0answers
13 views

Magento 2 - Admin Create Order. sales/order_create/loadBlock cant retrieve layout with <script type=“text/x-magento-init”>

When Creating an order via the admin. the forms are being loaded by http://localhost/project/Admin/sales/order_create/loadBlock/block/shipping_method,totals,billing_method?isAjax=true this request ...
0
votes
0answers
22 views

Unable to save products setting on admin panel

I'm having an issue where I'm unable to save any changes to product in the Magento 2 admin area. It throws me 500 Internal Server Error. after checking error's logs I found the following error does ...
1
vote
0answers
15 views

How to use source model reuse in custom module custom field Email Sender in Magento 2.3.1

How to use source model reuse in custom module custom field Email Sender in Magento 2.3.1 Magento\Config\Model\Config\Source\Email\Identity Our custom module custom field like this $fieldset->...
0
votes
1answer
39 views

Magento 2 : How to add country_id column in sales order grid

I want to add/filter country_id column of shipping address in sales order grid. I refer below link which is useful to display regoin_id. By doing same I am able to add country id as a column but when ...
0
votes
0answers
19 views

How to add custom tab in custom module in magento 2.3.1

How to add Fields Tab custom module in magento 2.3.1 ui component. Please check screem short
0
votes
0answers
15 views

How to get contact us email from get category content tab form select drop down attribute in Magento 2.3.1

How to get contact us email from get category content tab form select drop down attribute in Magento 2.3.1 form_select category custom attribute how to get contact us from there. app/code/Vendor/...
0
votes
0answers
5 views

Load icon spinning at new loaded product's detail page

I have an outstock furniture theme, so i customize it and turn it a techno store.But when i add a new product, i can not access its detail page, page waiting as loaded but load icon doesn't stop ...
0
votes
3answers
92 views

In Magento 2 after ajax success can't redirect page in admin

After ajax success can't redirect page in admin in Magento 2 var redirectUrl = "<?php echo $block->getBaseUrl().'admin/trackorder/shipinfo' ?>"; $.ajax({ url: urlLabel, ...
0
votes
0answers
9 views

Add a new field in form : BlackBird - ContentManager

In the _prepareForm() method of Blackbird\ContentManager\Block\Adminhtml\Content\Edit\Tab\Form I've been adding a new field // Position of the current content $fieldset->addField('position',...
0
votes
3answers
23 views

Order status changes after the 'sales_order_save_after' is executed

In Magento 2.3.0, I need to execute a specific function when the order is shipped (the Ship action is triggered). Basically, I am using the 'sales_order_save_after' event to check what's the current ...
0
votes
0answers
11 views

how to extend login as customer in our module

namespace FME\AdvancedLayoutManagement\Controller\Adminhtml\Login; use \Magento\Backend\App\Action; use \Magento\Backend\App\Action\Context; use \Magento\Backend\Model\Auth\Session; use \Magento\...
0
votes
0answers
8 views

How to hide custom created menu in old admin users using ACL?

In the module, I have created the ACL that is working perfectly for the New Admin Users but that custom admin menu is still visible on the old admin users. When I resave that old admin user's roles ...
0
votes
0answers
9 views

Magento2: Validation failed error on deleting store

I just deleted 3 storeviews for a customer. When attempting the fourth it gives a general 'validation failed' in the (red) magento notification system. I put a tail on the system.log & the ...
0
votes
0answers
3 views

How to remove “Signed-up Point” from Admin HTML New Orders Page?

In Sales > Orders > Create New Order the screen presents a list of existing customers. One of the columns is "Sign-up Point". How do I remove this column? The column is being added in ...
0
votes
1answer
87 views

Magento 2 dynamic rows add row not working

I'm trying to add dynamic rows in the product edit page. I have successfully added a dynamic row UI component; the problem is the 'Add' button is not working after one row is inserted. Thanks! this is ...
0
votes
2answers
31 views

Magento 2 - How to add custom attribute to sales/order/view?

How can I add a custom field to sales/order/view in adminhtml? I want to save a tracking number related to the order. Thanks.
0
votes
0answers
20 views

Magento 2 - How to add a custom field in admin/sales/order/view

How can I add a custom field to admin/sales/order/view? I'm trying to add a tracking number field to the sales order view. The tracking number must be saved in the db.
0
votes
1answer
13 views

custom grid filter doesn't work when filtering products by category (bl_customgride module)

I'm using BL_CustomGrid extension for customising admin grid, when I filter products grid by categories it throws me the error below, I couldn't find out how to diagnose the problem, if anyone has an ...
0
votes
0answers
12 views

frontend button only accessible to admin

{ $dateTime = $this->_objectManager->create('Magento\Framework\Stdlib\DateTime\DateTime'); $adminConfig = $this->_objectManager->create('Magento\Security\Model\...
0
votes
1answer
22 views

check admin loggedIn on frontend magento 2

i have tried through this method public function isAdmin() { $this->_coreSession->start(); echo $this->_coreSession->getMessage(); echo 'session test4'; ...
1
vote
2answers
29 views

Product images not showing

I'm experiencing a strange behaviour: all the product images are present if I edit a product on the backend. But if I visit the product list in the backend or frontend, or the product view in frontend,...
0
votes
1answer
24 views

how to check admin loggedin or not on frontend magento 2 [duplicate]

how to check admin loggedIn or not on front-end magento 2 .I have tried this class BackendAuthUserLoginSuccess implements ObserverInterface { const DEFAULT_SESSION_NAME_OF_FRONTEND = 'PHPSESSID'; ...
0
votes
0answers
29 views

Filters are missed in Admin Panel

For some reason filters in Admin Panel are missed. I tried to debug it but it is without any result. Can someone say where this collection is prepared or maybe why is it happens?
0
votes
0answers
15 views

Can i add internal links in adminhtml?

i am writing an payment module but sadly it only supports one currency. i would like to add a message which currency is supported and provide and internal link to the currency setup setting on the ...
1
vote
1answer
117 views

Add view button in admin grid to open a view page in slide window in Magento 2

I want to create View Slider in Admin For that I'm following This my files are view/admin/ui_component/marketplace_stores.xml <actionsColumn name="action" class="Apptha\...
0
votes
0answers
23 views

Expand admin catalogue product block (`admin__collapsible-block-wrapper`) by default

I want to expand by default some of the blocks present on the product detail page in the admin part like Product Reviews or Images And Videos. I see that some of the HTML attribute are changed when I ...
0
votes
0answers
3 views

How to display USD values within reorders above the international value in Order totals?

I am trying to display the USD values above the international value in Order totals in REORDER PAGE ADMIN. I can see that the columns and ORDER TOTAL section is generated in this file app/code/core/...
1
vote
0answers
32 views

Add caption or helper text to admin filter in magento 2

I added a filter in my admin panel. But i want to add a helper text before or after the input field. Like the 'more information about...' in this screenshot: Right now the field config I have is ...
0
votes
1answer
46 views

Magento 2 Add New Category Description

I built a simple module to create another field for the category description. But I get an error: The attribute with a "added_category_description" attributeCode doesn't exist. Verify the ...
2
votes
1answer
43 views

Magento 2: How to save form data to sales_order_item table from .phtml file of adminhtml in magento 2?

Have created form in .phtml file which is display in sales_order_view page in admin. So how to save the form values in sales_order_item table from .phtml file? [Vendor]/[module]/view/adminhtml/layout/...
0
votes
1answer
23 views

How can I add Country and State dropdown in Custom admin form?

I want to add country and state drop down in custom admin form. How can I do that ?
0
votes
0answers
12 views

Magento 2 - Admin Grid Listing with Third Party API

I created admin grid according to devdocs guide. But my requirement is to list third party API data into admin grid. Let's take example of https://jsonplaceholder.typicode.com/users API. How I can ...
0
votes
1answer
27 views

So many admin-related checkboxes grayed/greyed out in ALL scopes

For unknown reasons I am currently unable to modify a large proportion of settings, such as those for enabling template hints, although this was possible at some time in the last month, as evidenced ...
0
votes
0answers
20 views

Magento 2 How to call adminhtml Block in Particular Tab

I have developed a custom module for admin and in created form , edit section...etc. in the mydata_section_edit.xml file I have created 3 tabs: General Order Storedata(I am trying to calling the ...
0
votes
1answer
113 views

Magento2 behind AWS load balancer too many redirect admin

I have install magento2 in AWS ec2 behind a load balancer . But when i try to access to login admin page i have error too many redirection The problem is all solution i have fine not work . I try all ...
0
votes
2answers
65 views

Restrict adding products to cart from admin order create

I am creating order from admin end. My requirement is to restrict few products to place order only from admin. I need to show some message when those particular product selected and added to Order, I ...
0
votes
1answer
50 views

How to save custom table data in Magento 2?

I have created a table using a Controller and Model and in that file show some data. But i don't know how to save that data in database i have created a table in Magento 2 db. But don't understand how ...
0
votes
0answers
9 views

Magento 2.3: Round Brackets Issue In Product Meta Fields

I'm using Magento 2.3.4, I don't know why this is happening but when I enter round brackets () in Meta Fields e.g Meta Title Meta Keyword Meta Description and save product it gives me an error like: A ...
0
votes
1answer
39 views

I have created a custom module for backed to add menu and submenu but it shows me on phtml file in Magento 2

I have created a custom module for back end Menu and sub menu but it shows me an error for phtml file. 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template ...

1
2 3 4 5
32