Questions tagged [admin]

Can denote questions related to Magento admin panel, admin session or admin user.

Filter by
Sorted by
Tagged with
7
votes
2answers
977 views

Magento2 Admin dashboard chart is broken in my all Projects

Today suddenly my admin dashboard chart is not visible. Live and Test websites are on different server and suddenly today it's broken. I have check in log file and found that [2019-03-19 05:51:17] ...
7
votes
3answers
9k views

Magento 2: How can I check all modules installed using admin panel?

There is a method to check my modules installed and enabled or disabled using just the admin panel? Thanks
7
votes
1answer
17k views

Creating first custom content page in admin section

Total beginner with Magento... I've installed magento, and followed this article to the T. I have no issue with the article, it basically creates a custom admin menu item, and when you click on it you ...
7
votes
1answer
332 views

Best way to replace the die function?

I have the following Magento code : protected function _sendUploadResponse($fileName, $content, $contentType='application/octet-stream') { $response = $this->getResponse(); $response->...
7
votes
5answers
5k views

How to solve admin grid error?

I am getting this error in admin custom module of Magento 2. Something went wrong with processing the default view and we have restored the filter to its original state. admin grid error.
7
votes
7answers
27k views

Magento 2 : URL key For Specified Store Already Exists

We have a Magento 2 multisite setup, with categories set up. When editing some (but not all) of these categories, in different store views, Magento throws following error and does not save data: In ...
7
votes
4answers
10k views

Daily admin email for products that went out of stock that day

I am trying to set up a script to send out daily emails to my admin to let them know what went out of stock that day only. It doesn't need to be anything fancy, perhaps even writing items to a text ...
7
votes
1answer
1k views

How to list all currently online admin users?

In Magento I have created multiple admins with different roles. How do I get the list of online admin users. Similar to the online customers list? I have used Mage::getSingleton('admin/session') ...
7
votes
2answers
2k views

Make customer attribute unique

is it possible to make a customer attribute unique, preferably on a website basis bit if not then globally? I cant see how to do this. Similar to the email address
7
votes
1answer
2k views

Do not want to see disabled products when creating an order from admin end

When you click on a customer in "manage customers" and then "create order", my client does not want to see the disabled products come up in the list for products to add to order. Any idea how I would ...
7
votes
1answer
867 views

Why does DataProvider (UiComponent) expect custom data to have custom attributes?

I've built an admin grid following a few tutorials and hit this error: Warning: Invalid argument supplied for foreach() in /home/sadmin/mage/lib/internal/Magento/Framework/View/Element/UiComponent/...
7
votes
1answer
474 views

Magento 2 : Error When searching in the grid of a custom module

I have a problem in my custom module when search using title in the admin grid and also the next page of grid. Sorry for the image erasures. Correct me if I'm wrong in my title of this question. ...
7
votes
1answer
722 views

Magento 2 Customer address attribute not saved while creating new order from admin

I have created one "Customer address" type of attribute name "Suburb", It successfully created. It shows on Checkout, Customer create(admin) and Create New Order address(Admin) section, While It ...
6
votes
3answers
11k views

How to override an admin theme template?

I would like to override app/design/adminhtml/default/default/template/page.phtml i'm currently using an extension that overrides app/design/adminhtml/default/default/template/page/header.phtml with ...
6
votes
6answers
19k views

Integrity constraint violation: 1052 Column 'increment_id' in where clause is ambiguous

I am trying to create a customer grid module that accesses different table columns from sales_order information such as billing, payment method etc.. I have the grids show the correct data but when I ...
6
votes
2answers
2k views

“Unknown columns” error when executing a mass action

I built up a grid with mass action similiar to this examples: AbstractMassAction.php Mass Cancel When executing the code (see below) I get the following error message: SQLSTATE[42S22]: Column ...
6
votes
3answers
4k views

Why is the default js files outside the theme package?

I am developing a new admin module and needs to customize the magento admin panel. i've created a new theme in default package of adminhtml. In the skin folder (skin/default/mytheme) i've included my ...
6
votes
3answers
17k views

There was no Home CMS page configured or found

I already look online and still can't solve this problem, I have to do this my self because my developer is on a vacation. This is my website: http://www.trenpon.com/ The website home page was ...
6
votes
4answers
15k views

How can I assign an existing simple product to a configurable product using the admin interface?

I have existing simple products I need to assign to configurable products, however I can't find any interface to do this. This was possible in Magento 1, but I can't see where it is possible in ...
6
votes
3answers
4k views

Admin Category Insert Thumbnail field has disappeared

I have recently installed Magento 1.9.1 and trying to make use of the category thumbnails (as well as the main image). However, I have gone to Admin >> Catalog >> Manage Categories and it ...
6
votes
2answers
28k views

get magento customer group id and magento group name from admin side

I need a script to show from admin side and export in XML Customer Group ID and Group Name. This is the code to show Customer Group ID on front-end. But this is not working in back-end: $groupId = ...
6
votes
3answers
3k views

Magento2 : Remove decimal from quantity

How to remove decimal from quantity on Catalog Admin grid of Magento2 (Product/Catalog). I have set Qty Uses Decimals to "No", but the decimals are still there.
6
votes
2answers
2k views

Disable customer attribute in magento admin form

I created custom customer attribute is_institution with boolean value My installData.php is <?php namespace xxx\xxxx\Setup; use Magento\Framework\Setup\InstallDataInterface; use Magento\...
6
votes
3answers
3k views

What is the purpose of isAllowed method and when It is called in Magento 2?

I have seen that below method. protected function _isAllowed() { return $this->_authorization->isAllowed('Custom_Module::moduleslider_banners'); } What exactly it will do? Will it check ...
6
votes
2answers
916 views

“Row Size Exceeding 65535” while this seems impossible

I'm getting this error: Row Size Exceeding 65535 There are a lot of posts out there discussing the maximum row size in catalog_product_flat_x exceeding 65535 bytes. I have only about 150 ...
6
votes
2answers
3k views

Is it the best strategy to create a store for each country I serve?

I am starting three Magento projects. One is local and the two other ones are international. So I though about creating a store for each country for my Magento setup that are international and then ...
6
votes
3answers
213 views

never loggout admin magento

i want to make magento admin never logout in my computer. I have tried increasing cookies life time and other thing. But never got successed. Is there any other way to edit code and make never logout ...
6
votes
5answers
3k views

Magento Admin Order Grid Filter by “Status” giving error while joined with “sales_flat_order” table

I am working on a project where there is custom column already installed on sales_flat_order table. I know, in order grid magento uses sales_flat_order_grid table to fetch data. I have used join ...
6
votes
2answers
3k views

Remove Administrator

We had a Magento site built for us a while back by a local developer but he has just vanished. We do not have any of his login details, only a few accounts with limited access to the backend and ...
6
votes
3answers
3k views

Disable admin or frontend route

Is there a way to disable an admin route, well actually any route. The use case is I have an extension that comes with a frontend section and an admin section but I do not want the admin section to be ...
6
votes
3answers
10k views

Admin not saving changes

I've seen a lot of people with similar issues, but none of the many resolutions I've seen online have worked for my situation. Magento 1.8 Community Edition. Admin changes are not being saved. ...
6
votes
4answers
5k views

keep the checkboxes of mass action checked for some items, by default

In my Grid.php of custom module, I added the following code (excerpt) to enable mass action. protected function _prepareMassaction(){ $this->setMassactionIdField('entity_id'); $this->...
6
votes
2answers
525 views

Customer Associated with the Admin Store

Is there a use case for associating a customer with the admin store in Magento's backend? Or is this one of those UI bugs that's never been fixed? When you create a customer object via the Customers ...
6
votes
1answer
7k views

Call to a member function getBackend() on a non-object

Client is trying to setup promotions via the admin but when saving and applying the promotion the server logs the following error (admin return blank screen): PHP Fatal error: Call to a member ...
6
votes
3answers
4k views

Adding button in Magento 2

I'm trying to add button in customer address form. But I don't know how to do it from customer_form.xml file. If any one knows please suggest me. I have registered button control on ui_definition.xsd ...
6
votes
2answers
4k views

How could I get the attribute(manufacturer) Url Like example.com/brands/nike in magento

I have a site naijafeet.com.. In this i want the products listed by attribute(manufacturer) name..If I enter naijafeet.com/brands/nike or puma then the items come from those attribute..Please give me ...
6
votes
2answers
20k views

Transferring Magento website, admin panel URL gives 404

I'm having a problem which I've never experienced before when moving a Magento website to a new server. The transfer was complete and the website is working fine, the only problem is that the admin ...
6
votes
7answers
7k views

Magento keeps randomly logging me out of the admin panel

I am new to Magento, and have some issue with the admin panel. For some reason, I keep being disconnected from the admin panel, which makes it really hard to change what I want on the website, as I ...
6
votes
3answers
600 views

why magento doesn't enable flat model by default?

we can see that the following two options at system > configuration > system > catalog 1.Use Flat Catalog Category 2.Use Flat Catalog Product it is clear that the flat model reduces the ...
6
votes
3answers
2k views

Error message “cannot take that action right now” when system upgrade

I installed Magento 2 on Ubuntu 14.04, and tried to examine whether anything I need to update in Magento system. I enter "Web Setup Wizard" from admin panel, but it shows the error message at the ...
6
votes
4answers
8k views

Missing image upload button

I can't seem to see any of the upload of browse image buttons on my magento backend, I have tried Firefox and chrome with no luck. I get these errors in Firefox inspect element: TypeError: ...
6
votes
3answers
1k views

Magento 2: System.xml configuration shows blank

I have created system.xml file in my module but it is show me blank Path:-app/code/Amitshree/Customer/etc/adminhtml/system.xml Code:- <?xml version="1.0"?> <config xmlns:xsi="http://www.w3....
6
votes
2answers
2k views

Show/Hide a field in an admin form based on value of another field

My module has 2 tabs. In one, there is a text field for an API Key. In the other, a select field gets populated based off an HTTP request that is made with the API Key. I have all this working fine. ...
6
votes
2answers
3k views

How to add shipped date to admin sales order grid

I am stuck with adding new column(Shipped date) to sales order admin grid. I copied the file Grid.php from app/code/core/Mage/Adminhtml/Block/Sales/Order to app/code/local/Mage/Adminhtml/Block/Sales/...
6
votes
1answer
345 views

data-source-for-selected-admin-ui-form

field <field name="category_id"> <argument name="data" xsi:type="array"> <item name="options" xsi:type="object">Vendor\Blog\Model\Config\Source\CategoryTree</item> ...
6
votes
1answer
682 views

Redirected to store base URL instead of custom admin URL

In case of Custom Admin URL (in System -> [Advanced] Admin -> Admin Base URL) is set to something like http://mytreasure.store.com after creation of order or invoicing it Magento redirects back to the ...
6
votes
1answer
4k views

Magento admin URL redirecting to index.php/admin, resulting in redirect loop

If I enter URL https://server.com/admin It ends up redirecting to: https://server.com/index.php/admin and I end up with "This webpage has a redirect loop". a) Is this redirect url correct? ...
6
votes
0answers
96 views

How to create Dynamic rows in custom admin form?

I want to create a form field which has dynamic rows in that page. Also, I want to store the form data in database table. I already referred this link >> https://github.com/bbakalovGlobal/...
6
votes
0answers
1k views

Magento 2: Get Order Information Outside Magento Issue for Date

I have below script, trying to get all Orders. I have issue with Date. That i have solved using https://github.com/magento/magento2/issues/7560 //place this before any script you want to calculate ...
6
votes
0answers
1k views

Magento 2 Admin- Invalid data provided for linked products

Getting an error " Invalid data provided for linked products " when adding related products to a product from the admin panel and saving Indexer crons, already setup Magento CLI version is : 2.1....

1 2
3
4 5
56