Questions tagged [admin]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
3k views

Magento:2 How to Image upload in custom module

Image upload working fine in tmp folder, then store in DB. I want to after saving data image stored in the base folder pub/media/events var_dump($data); " ["events_url"]=> array(1) { [0]=> ...
0
votes
1answer
15 views

How to unserialize data in admin form

I need to unserialize data before displaying in admin [product_id] => a:2:{i:0;s:1:"2";i:1;s:1:"1";} My admin fieldset code $fieldset->addField( 'product_id', '...
0
votes
1answer
31 views

Override comment history order in backend

I'm trying to override the template for the comment history of a order (the part next to the total of the order). this is my path to layout .xml : app/code/Portail/Fournisseur/view/adminhtml/...
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.
0
votes
1answer
14 views

Redirect user to either admin or frontend based on login status

I want to build a custom controller, which works as follows: if user already have admin session, redirect user to admin page A if user does not have admin session, redirect user to storefront page B ...
5
votes
1answer
1k views

how to display different description for each virtual product which was create with configurable products?

In Magento 2 , when we create configurable product its child product also created, we can provide different description for child products too. > 1. How to access description of each child product ...
0
votes
1answer
23 views

Magento2: How to add Country and State field at backend in creating customer under the Account Information tab?

I want to add country and State field at the backend in creating customer under the Account Information tab. Based on the Country selected the State should filter in the dropdown. Any help would ...
0
votes
1answer
37 views

Send Email to Admin After Customer Registration in Magento 2

Trying to follow thuis tutorial: https://magecomp.com/blog/send-email-to-admin-after-customer-registration-magento-2/ What i have done: \app\code\Namespace\Modulename\etc\module.xml <?xml ...
0
votes
0answers
5 views

Is mangento2 EE edition allows to place order from admin side using credit card?

Is it possible to create order from magento2 admin side using credit card?
2
votes
3answers
806 views

How to remove the prefix field from the checkout in 2.2

How do I remove this prefix field from the checkout in Magento 2.2? When Googling this it appears there used to be an admin setting that has since been moved/removed: Update - I don't have the Show ...
0
votes
0answers
16 views

How to create functional of selecting products on admin category page

I'm trying to create selecting products on category page, I make: ui_component (category_form.xml) <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
0
votes
1answer
75 views

How to save the deleting customer book address id in customer custom attribute on Magento2?

I don't know how to implement this task. I need to Save the deleting customer book address id in customer custom attribute the customer on Magento2. Could you please help me?
2
votes
1answer
835 views

Magento 2: Change per page option for customer, Order & product Admin Grid

As a default, Magento Admin has Paging option as 20, 30, 50,100,200 But I need to change it for Product, Customer & Order Grid. I override the below files: vendor/magento/module-customer/view/...
13
votes
10answers
23k views

Magento 2 “Attention Something Went Wrong” Clicking Content>Blocks; Page Doesn't Load Correctly

I am using Magento 2.0.4, and whenever I click on Content>Elements>Blocks I receive the following error message: "Attention Something went wrong." There is no more information, and after clicking OK ...
0
votes
0answers
19 views

Magento 2 : Custom file attribute to admin user not saving file

i have created 2 attributes to admin used 1: simple input 2: file upload. simple input is working fine but for file one i am unable to save file in folder where as i can see file name in database ...
0
votes
1answer
707 views

Media browser field in magento2

I'm currently trying to create (or find how to) a field to display the Media browser (or media storage manager) in admin Edit on a custom module. Type file / image work fine, but it could be much ...
0
votes
2answers
738 views

Magento 2:- How to upload image in custom module in admin panel

Change the mode, then not working image preview got an error 404 image-preview.html Developer mode working fine, but production mode not working form page <field name="recipes_image"> <...
0
votes
1answer
28 views

Magento 2.3.4 xampp Admin Panel Problem

I've installed Magento 2.3.4 on xampp 7.2.28-0. The admin-panel didn't load so i started researching and did the following: go to: /vendor/magento/framework/View/Element/Template/File/Validator.php ...
0
votes
0answers
12 views

How to implement slider banner editing with elements through the admin panel

I have a slider on the main page, consisting of links to categories and pictures that are displayed. This is implemented through the template. app/design/frontend/qqq/www/template/cms/brands-carousel....
0
votes
1answer
22 views

I tried today to go to admin page and got this error

Warning: include(Mage/Admin/Model/Observer.php): failed to open stream: No such file or directory in /home/abogacec/public_html/dycgarage.ro/lib/Varien/Autoload.php on line 96 #0 /home/abogacec/...
0
votes
0answers
15 views

Change back button link in product edit page in admin to custom page when product type is custom

In magento2 in product edit page how to change back button link in admin to custom page when we have get custom product type in url
0
votes
2answers
704 views

How to access admin panel completely?

My website developer gave me a limited access to Magento admin-panel. Now he left the field without giving me the full access. Help me access admin completely and access site resource.
0
votes
1answer
842 views

How to solve the Service Temporarily Unavailable?

My website is showing: Service Temporarily Unavailable - The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. I cannot ...
0
votes
0answers
14 views

Admin csv uploader

I have created a empty admin page, it appears in the side bar and redirect to the correct place although I don't have a controller working. In this page I need a csv uploader then I need to send and ...
0
votes
1answer
791 views

Custom Grid in magento 2 without Form

How to create Admin Grid Without Form in magento 2 . I don't need form i Just Want Grid with my content I am referring to Cache or Re indexing kind of Grid is this possible to achieve that I tried ...
0
votes
0answers
23 views

Magento 2.3.0: Open Admin Form Specific Tab , When I am coming from specific URL

I am working on Admin Form Tabs what is happening that , I have added a custom tab in Customer Edit Form section. From this section , I have redirectd to my custom module , where I made some ...
20
votes
5answers
5k views

Issue using “having” in Magento collection

I am trying to build a custom collection for a grid in Magento admin module. I have created a new collection method called "addAttributeHaving" which just does the following: public function ...
0
votes
1answer
30 views

Magento2 - Admin grid Filter tab always show active

How to make admin panel grid filter on all the page. Tab always show active. Like a shared screenshot.
1
vote
1answer
1k views

Magento 2 Admin Grid edit form doesn't load input fields

What the code should do is to get fields filled with values because it's edit page. You see on the picture my controller class is loaded and it loads xml file as well but addBreadcrumb doesn't seem to ...
1
vote
1answer
29 views

Mageno 2 - How to set width of input where I use DateTime picker

How to set the width of input where I use DateTime picker? There is a question, which I have reviewed, but it looks like there are no issues. Magento 2 - How to add the DateTime UI Component ...
0
votes
0answers
11 views

E-mail sent when updating the order status manually in the backend

Since we upgraded in Magento 2.3.4, we have noticed that for each change of order status, our customer receved an email. We have not checked the "notified customer" box. Do you have the same behavior?...
2
votes
2answers
4k views

Magento 2 : Change Render Value for Grid in Custom Backend Module

I want change text value on my grid custom module, in database I just allowed to save 0 or 1 but in grid I want change and show that value from 1/0 to be Yes/No, here is my grid layout xml code : ...
1
vote
2answers
1k views

How to show uploaded image in admin

I want to show uploaded image in admin form. I use this code to upload image in admin form. $fieldset->addField( 'image', 'image', [ 'name' => 'image', 'label' => ...
0
votes
0answers
10 views

Create Admin Order phone number custom validation Magento 2

How to add custom validation on Admin Create order form?
3
votes
3answers
4k views

Add WYSIWYG Editor to Block Form in Magento 2

How do you add a WYSIWYG editor to a custom form which you create through a block. I have found this article for doing this through UI components but need this for a block. Have tried: $fieldset-&...
0
votes
1answer
830 views

Custom Module Displays Blank Page

I am trying to add my own module to the admin in version 1.x but I'm getting the blank page when I try to open the module This is what I have managed to achieve so far; My module appears as a ...
1
vote
0answers
24 views

How can we redirect Admin Catalog Search to use Elasticsearch?

We have over 2M products in our catalog and growing. This has made the Admin Catalog Search completely non-functional (it spins until it times out). How can we update this to also use elasticsearch? ...
1
vote
2answers
655 views

Magento 2.3.4 - Category save issue after upgrade

I just upgrade the store from Magento 2.3.3 version to Magento 2.3.4 version and I can't save any category in backend: and in the debug.log file I have this error: [2020-03-09 10:44:04] main....
0
votes
2answers
61 views

Magento 2.3.4 - How I can add attributes to Categories

I want to add two attributes in the admin for categories, one textarea, and one text input, I already add the attributes in the database, and I use this code Vendor/Module/view/adminhtml/ui_component/...
0
votes
1answer
851 views

Magento 2 : admin file field max upload size

I'm trying to restrict the weight of the uploaded file in admin, I found the 'maxFileSize' in Magento documentation but it's not working : $fieldset->addField( 'files', 'file', [ 'name' =...
9
votes
6answers
3k views

How to change default Magento admin password expiration period?

Magento prompts the password to be changes after 'X' days. How to change the value of admin dashboard password expiration period?
0
votes
1answer
35 views

Magento 2.3.4 - Get a list of all custom attributes for Categories

how I can get a list of all custom attributes that exist in backend for Categories? Is there anyway to do it from phpMyAdmin? Thank you
0
votes
0answers
25 views

Generate Multiple Input Form dynamically using Ui Component Magento 2 Admin

I have a custom table that act like an eav but in simpler way (just input text) like this: id | ref_id | label | value i want to generate input text form using records of this database with Ui ...
0
votes
0answers
15 views

Custom Admin Grid Export Data issue

I have created Custom admin grid and added magento default export,and i have exported the grid data for example i have the row like roles [ 1 => test,2 =>test1, 3 =>test2] . In exporte ...
0
votes
2answers
1k views

How to add “read more” to category description in product listing page in Magento 2.2.4?

I don't know how to implement this task. I have used in smart wave and Porto theme. I want to add read more in the category description. Can you please help me?
0
votes
0answers
27 views

Magento2 - customer address book in admin section

Autofill Region name in existing address when we are adding new address in customer address book section I am using Magento2.2.6, in that Magento, If any Customer have many existing address in ...
1
vote
2answers
1k views

Admin Grid issue in Magento 2

I have created an admin grid, but it is not showing the edit form. My files : 1.Stw\Skipredirectmodule\Block\Adminhtml\Skipredirectmodule.php <?php namespace Stw\Skipredirectmodule\Block\...
3
votes
2answers
2k views

Magento 2 - Event equivalent to checkout_cart_product_add_after for admin

I am using checkout_cart_product_add_after and checkout_cart_product_update_after events for making customization using observer on front-end this works properly there but in admin side this events ...
1
vote
1answer
1k views

How to sort attribute options in Magento 2 alphabetically

For example, if you have thousands of colors (options) in the color attribute, it becomes a pain to use the drag & drop sorting functionality. I'd like to override the default sorting (based on ...
0
votes
1answer
27 views

how to write php script for saving admin configurations in magento 2

I want to write a script that saves the admin configuration every time when I deploy/upgrade. For example, I need to have a PHP script for saving this admin configuration. Admin panel-> Stores-&...

1 2 3
4
5
56