Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [massaction]

Mass-action is a bulk edit action for Magento admin. Admin can edit/update bulk items from grid.

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

How to get admin controller url to js without using phtml file?

I have created new mass action for product grid, So whenever someone click on that mass action, custom admin controller url should be pass to js
Mark's user avatar
  • 63
0 votes
0 answers
30 views

MassAction if I select all items I get NULL in the controller

I have this grid: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=&...
elunicotomas's user avatar
0 votes
1 answer
171 views

How to override Mass action in magento 2?

How to override Mass action in Magento module. I want to override below files. Vendorname\ModuleName\Ui\Component\MassAction\Status to my custom module.
Paren Sutreja's user avatar
0 votes
1 answer
50 views

Mass price update vis custom code

I am trying to find code found in a tutorial that would enable me to update all pricing per sku for a specific store id. I am wondering if row 151 the INSERT qyuery shouldn't that be an update query ...
Jayreis's user avatar
  • 725
2 votes
0 answers
124 views

How to disable massaction Dropdown conditionally ui_component Magento 2

I have implemented functionality like hiding mass actions based on some conditions. I want to assign some specific rights to other admin users. I want functionality like, If there is no mass action in ...
Sunny Rahevar's user avatar
1 vote
0 answers
320 views

Add a modal popup when the mass action button in ui component admin grid

I have a admin grid, where I want to add a popup which will have a input field posting a data on confirmation. Take the above screenshot as an example. When the hold button is clicked, I want to ...
Jason's user avatar
  • 170
0 votes
2 answers
206 views

Sales Order Grid Mass Action Route 404 Error

I have created module to send email using mass actions, but it is showing 404 error. etc/acl.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
ishaq's user avatar
  • 195
0 votes
1 answer
983 views

What event is responsible for the bulk product save in the admin in Magento 2?

Magento V2.4.1 We have created one attribute named "Test" with 2 values "test1" and "test2". We are required to automatically select the value "test2" when the ...
Chintan Kaneriya's user avatar
0 votes
1 answer
555 views

Magento 2: Observer or Plugin for Mass Update Product Attribute

I have a custom attribute that I need to observe after the mass update product has been finished, this custom attribute is related to a category in another custom table, so if this custom attribute ...
jojo's user avatar
  • 39
1 vote
0 answers
202 views

Mass update customer attribute programatically in a single query

I've created a custom customer attribute via install script. Now I would like to bulk update this attribute for batches of customers programmatically. Preferably in a single query (using foreach would ...
hellward's user avatar
0 votes
0 answers
434 views

Magento 2 order grid custom mass action 404 page not found

view/adminhtml/ui_component/sales_order_grid.xml <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
mahmoudismail's user avatar
0 votes
1 answer
957 views

Mass action not working in Magento 2

In my custom module I am showing the records in the admin panel grid using ui_component and it's showing good. When I am selecting count()-1 records the selected parameter is passing to controller to ...
Bojjaiah's user avatar
  • 3,762
0 votes
3 answers
315 views

Mass Action needs to change the place Magento 2

I have created the custom grid with UI Component and it's working good except the position of Mass Action. For this I have written below code: <?xml version="1.0" encoding="UTF-8&...
Bojjaiah's user avatar
  • 3,762
4 votes
2 answers
379 views

Magento 2: Add datepicker in massaction field in block grid

I am trying to show the date picker in the mass action field in the custom block grid. Here is my code: $this->getMassactionBlock()->addItem( 'update_eta', [ 'label' =>...
Mohit Kumar Arora's user avatar
3 votes
1 answer
262 views

`Selected` field is missing from the post request for the product grid mass action

I made a custom mass action for the product grid. This is the ui component part: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/...
Attila Naghi's user avatar
  • 4,023
1 vote
0 answers
174 views

Magento 2 add text input to massaction from dropdown

In magento 1, if I wanted to add a text input to send a custom value with my massaction to my controller, I would do something like: $this->getMassactionBlock()->addItem('add_ship_method', array(...
joeybab3's user avatar
  • 378
0 votes
0 answers
35 views

Parsing mass selection id from the product grid

I made a new item in the action list from the product grid. This is my file, ui_component/product_list.xml: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="...
Attila Naghi's user avatar
  • 4,023
0 votes
1 answer
288 views

Magento 2 Custom MassAction redirects to dashboard with "Invalid Security Token" but works?

I created a custom mass action, and it shows up and seems to function fine except rather than redirecting back to the order page, it goes to the admin dashboard and says the typical "Invalid ...
joeybab3's user avatar
  • 378
0 votes
2 answers
2k views

Type Error occurred when creating object

I am having the massaction "delete" in the ui_component and it is then process by a controller MassDelete in my adminhtml folder. like this: <?php namespace Apriljune\Testimonial\...
Shoaib Fareed's user avatar
0 votes
2 answers
112 views

Magento 1.9: How to translate TITLES and TITLES OPTIONS of the "Custom Options" of simple products?

I need to translate all the TITLES and OPTION TITLES of the Custom Options related to simple Magento products. The need is: 1- Export all the fields of the "custom Option" 2- Translate them (or how to ...
ANG's user avatar
  • 11
0 votes
1 answer
1k views

UI component add text field for mass action in grid issue

This is my ui component: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:...
Attila Naghi's user avatar
  • 4,023
0 votes
2 answers
469 views

Magento2: How to override Catalog Product Mass Delete file?

I want to override Catalog Product Mass Delete file in Magento2 vendor/magento/module-catalog/Controller/Adminhtml/Product/MassDelete.php My Code: di.xml <?xml version="1.0"?> <...
Amy's user avatar
  • 935
2 votes
0 answers
476 views

Magento 2 Mass Delete Cannot read property 'total' of undefined

I tried to perform mass delete on my custom UI grid but it gives me error in console "Cannot read property 'total' of undefined" i don't understand whats wrong with my code, my gride code is given ...
Arjun Soni's user avatar
1 vote
0 answers
464 views

Magento2: How to mass update the custom table status from ui component grid

I have a ui component grid in admin which displays data from the custom table multivendor_product in which id is the primary key of the table and another field product_id is the product ID ...
coderaiseR's user avatar
0 votes
0 answers
123 views

Mass Delete and other mass actions on Inventory grid throwing errors

We added some extra functionality to an Product inventory grid and now the default actions that were previously there all fail with this error below. Note products are selected with a check in the ...
Hank Baron's user avatar
2 votes
1 answer
330 views

Add mass action to product grid Magento2

For adding massaction to product grid I use next code: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
omelandr's user avatar
  • 1,267
3 votes
0 answers
211 views

Magento2: easiest way to delete a product attribute value without loading the product

I can update products efficiently without loading the whole product with $this->productAction->updateAttributes([$productId], $attributesData, 0); where $attributesData is an array, e.g. ['...
Mavis Bacon's user avatar
2 votes
1 answer
117 views

Magento2.3.1 How to add customer grid mass action link reset forget password and custom reset forget email sent to customer

I am using Magneto 2.3.1 and how to add customer mass-action inside link add reset forget password and when select customer sent to email for customer, but email not use in default Magento our custom ...
Rv Singh's user avatar
  • 1,617
0 votes
3 answers
2k views

Admin Grid "Select All" for mass action only sends the visible IDs

I'm having some trouble getting "Select All" working properly for a custom grid. I have a massDelete action working and deleting multiple items. I have a multiselect column which, after I run a "...
Colin Pickup's user avatar
0 votes
1 answer
561 views

Magento 2.3.0 : Admin panel mass status action change after not updated in custom module grid record

I am using Magento 2.3.0 and I create custom module for video gallery in admin side module grid mass action change status after not updated in grid but message comes on successfully updated. If any ...
Rv Singh's user avatar
  • 1,617
3 votes
1 answer
543 views

Add Text Input on MassAction and Receive it in Controller - Magento2 Product Grid

I am trying to create a MassAction which accepts the Text Input and not Drop Down like Update Status which brings DropDown of Enable and Disable. Can someone please provide me correct XML file and PHP ...
Mayur Patil's user avatar
0 votes
1 answer
348 views

Mass update or Bulk update Like product updates in Magento 1.9 for custom admin grid

I want to add Mass update or Bulk update Like product updates in Magento 1.9 for custom admin grid. Could you guys please help me out. Thanks in advance.
gajjala sandeep's user avatar
0 votes
1 answer
1k views

Magento 2.3: Mass Action For Status Not Working

I'm very new to Magento 2.3, i created a Mass Action for Status Change, when i open action dropdown and click Change status a tree menu should open with 2 options, but when i click on Change status ...
Partab Saifuddin Zakir's user avatar
1 vote
4 answers
2k views

Magento 2: Mass Delete PHP code not Working

I'm very new to Magento, i created a Mass Action for Delete i write this code in /EC/Downloads/view/adminhtml/ui_component/ec_downloads_items.xml <?xml version="1.0"?> <listing xmlns:xsi="...
Partab Saifuddin Zakir's user avatar
0 votes
2 answers
48 views

Create QuestionManagement class

I have made Question repository class: namespace Vendor\Module\Model; use Magento\Framework\Api\DataObjectHelper; use Magento\Framework\Api\SearchCriteriaInterface; use Magento\Framework\Api\Search\...
Rufus's user avatar
  • 621
6 votes
0 answers
596 views

Unable to resolve the source file for 'adminhtml/Magento/backend/en_US/amasty_paction/template/grid/tree-massactions.html Magento 2

I have installed Amasty Mass product action extension for Magento 2.When i enabled that extension product grid does not load in the backend. Please check below Screenshot, I have checked log file and ...
Sunny Rahevar's user avatar
1 vote
1 answer
789 views

Backend massaction(grid) selectAll in not working

In Magento admin grid, select all alone is not selecting all the checkboxes, whereas select visible, unselect visible and unselect all is working fine. What might be the issue? help me to resolve this ...
Prema Karthik's user avatar
1 vote
3 answers
3k views

Admin Grid Mass Action delete not working for custom module for Magento 2.2.4

I am new to Magento and building a custom module. I need to show the admin grid to list data and it’s working fine. Also trying to add mass delete option but that’s not working. Getting below error ...
GeorgeM's user avatar
  • 109
2 votes
1 answer
50 views

M1.9x How can I reset 1 multiselect attribute for *all* products

I want to reset 1 multiselect attribute for all products. So remove any value (set to null) for all products and save Ideally targetting the products that have a value set ... it makes no sense to ...
snh_nl's user avatar
  • 5,452
1 vote
0 answers
600 views

How magento 2 render checkbox column in admin product grid

I need to disable some checkboxes in a grid based on certain criteria but not able to figure out from where the checkbox column is rendered. I reached the following two files after some search, but ...
Muhammad Saeed Khan's user avatar
3 votes
1 answer
288 views

Mass Action: Bulk invoice - Shipping charges issue

I have created mass action in order grid to create bulk invoice. And after successfully creating invoice on multiple orders I am facing issue with shipping charges. i.e, for first order it is adding ...
Shoaib Munir's user avatar
  • 9,482
3 votes
1 answer
719 views

Magento 2 Mass shipment

I have found mass Invoice in the following link, How to create invoices for more than one order via mass action? Similarly, how to create shipment for more than one order via mass action drop down ?
user2618314's user avatar
2 votes
1 answer
449 views

Magento2 Add line separator in mass action list in sales order grid

I need to add line separator before my two newly created custom mass action "Custom Action 1" and "Custom Action 2" and
Muhammad Hasham's user avatar
0 votes
2 answers
518 views

Magento 2: "All in Column" does not work if actions column is not present in the grid

I have built a custom grid where I have only 3 columns, i.e. Category and Priority, and the Mass Action column. Since the priority field is the only field which can be changed, so I don't want Edit ...
Mohit Kumar Arora's user avatar
0 votes
1 answer
311 views

Exeption on massAction delete

It's my massAction controller: <?php /** * Created by PhpStorm. * User: pkushnerevich * Date: 19.10.18 * Time: 18.20 */ namespace Aty\TestTask\Controller\Adminhtml\AddedList; use Magento\...
Pasha's user avatar
  • 65
0 votes
1 answer
952 views

How to get selected Order Ids in block from Sales Order Grid? Magento2

I want to generate PDF of selected orders, Rest of the functionality is complete just wanted to get selected Ids from sales order grid. For now I am getting full list of Orders on clicking my custom ...
Ajwad Syed's user avatar
  • 1,591
0 votes
1 answer
618 views

Event for bulk updating product status : M2

I am trying to find event when admin mass update product status from productgrid. This event catalog_controller_product_mass_statusis not available in magento2, so can any one help me which event i ...
Jimit Bhavsar's user avatar
1 vote
1 answer
814 views

Magento2 | MassAction Filter instance none given

I'm getting strange error when I want to use mass action in a grid : AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Argument 2 passed to Toto\\Helloworld\\Controller\\...
Jakk64's user avatar
  • 79
3 votes
1 answer
965 views

Mass action tree drop down issue in magento2

I am trying to create a custom drop down option in Action section in the sales order Grid. The main gold is to bring custom Option(Assign to User) in Action Drop down. Then once Assign to user is ...
Jafar Pinjar's user avatar
  • 1,929
1 vote
2 answers
3k views

Magento 2 : Error 503 first byte timeout

Getting this error when i'm update product from product grid using update attributes. Error Page:
Jimit Bhavsar's user avatar