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
0answers
17 views

Create product custom options template screen and assign to multiple product as mass assignment without effecting existing custom options

Hi All we are planning to create a admin page so as to create templates for product custom options. So that we can assign a custom option template to multiple products as a mass assignment. We know ...
0
votes
1answer
16 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 ...
0
votes
3answers
9 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&...
1
vote
2answers
1k views

Magento 2.1 Cannot Update Multi-select Attributes for Multiple Products

Anyone else having this issue? I have created a couple of new attributes (with multi-select) and when I try to mass update this attribute across 9 products simultaneously it doesn't update (although ...
6
votes
1answer
3k views

Mass action in custom grid block Magento 2 not showing

I've created a product grid block following this tutorial, right now i want to add new massAction item but the mass action field won't show up in the toolbar grid, here's the xml file: <?xml ...
0
votes
2answers
80 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\...
0
votes
2answers
2k views

How to create invoices for more than one order via mass action?

for creating an invoice normally you have to open the order an create the invoice for that one order. But is it possible to select more than one order in the overview grid and create the invoices for ...
0
votes
1answer
1k views

Magento 2 Mass Product Action module (append text to products name , update price…)

I need the code of the module magento 2 which allows to add mass action (append text to products name , update price....) I am blocked help me please
1
vote
2answers
1k views

Magento 2 Mass Product Action module

Hi magenticians I need the code of the module magento 2 which allows to add a text input when clicking on a mass action to enter a value like this example
0
votes
0answers
32 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' =>...
0
votes
3answers
2k views

Magento 2 - How to remove options from mass action in sales order page in admin?

I want to remove Print Invoices and Print Shipping Labels from mass action select menu available on order view page. I tried adding <action name="pdfinvoices_order"> <argument name="...
2
votes
1answer
23 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/...
1
vote
0answers
25 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(...
0
votes
0answers
11 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="...
0
votes
1answer
54 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 ...
0
votes
2answers
92 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"?> <...
0
votes
0answers
8 views

select element or add filter after massaction

I need your help because I really can't move forward with my problem. I would like to select or filter the elements that have been manipulated during my massaction in sales_order_grid. So I would like ...
0
votes
0answers
14 views

magento 2.3 ui grid massaction multiple indexes/values

I have an admin ui grid with a mass action that works fine: if I select an item from the list and go to actions > my action, I can log the selected item, something like: 'selected' => array ( ...
0
votes
2answers
53 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 ...
0
votes
0answers
14 views

magento 2.3 ui grid mass action noItemsMsg modal

I have a custom module with a table and a grid in backend created via ui listing component. To this grid I've added a mass action: <massaction name="listing_massaction"> <...
0
votes
1answer
88 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:...
0
votes
0answers
18 views

Can't save order data to a file with mass action Exception error

Why can't I save data to a file? What am I missing? The code without FileFactory works fine. <?php namespace Test\Admin\Controller\Adminhtml\Export; use Magento\Backend\App\Action\Context; use ...
0
votes
0answers
34 views

Magento2 - Attribute save before event for mass update

I need to modify some custom attributes on mass update of products. Now magento schedules the attribute save and runs the process in background and the event catalog_product_attribute_update_before ...
8
votes
2answers
1k views

How to remove Delete option from massaction dropdown for specific user role in Magento2?

I have different user role for my website. For a particular user role, I want to remove "Delete" from mass action dropdown which displays on customer grid in admin section. The Delete option is got ...
1
vote
0answers
151 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 ...
0
votes
0answers
52 views

Reload page after mass action on sales order grid

I created a new order status called Printed that has to be assigned after the mass action Print invoices on sales_order_grid. I created all the custom logic to achieve the result. The only problem ...
2
votes
1answer
1k views

Adding url parameters to UI component mass action

I have a ui component with a listing of products in magento 2.2, with a mass action function implemented. however when it submits, i need it to also pass over a parameters from the query string. ...
5
votes
2answers
1k views

Mass delete action in one step not in loop magento 2

I have custom module with mass delete action feature. how to do mass delete action in one step without loop. Because i got WARNING | Model LSD method delete() detected in loop when i check my module ...
1
vote
0answers
134 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 ...
0
votes
2answers
198 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 ...
0
votes
0answers
45 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 ...
2
votes
1answer
71 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="...
0
votes
2answers
626 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 "...
1
vote
0answers
35 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. ['...
4
votes
3answers
1k views

How to add Select All option in Export Settings of Magento 2

I want to export one attribute of product. For this I have to select all other attributes one by one for excluding. Can anyone please tell me How can I add the Select All option to select all the ...
2
votes
1answer
50 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 ...
4
votes
0answers
172 views

How to use modifier in product_action_attribute Form?

I have created an eav attribute and modified the field inside edit product form, that was easy. But in products mass action (Update attributes) page, the field I have created, by eav Attribute and ...
0
votes
1answer
186 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 ...
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 ...
2
votes
1answer
181 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 ...
0
votes
1answer
164 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.
1
vote
4answers
572 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="...
1
vote
3answers
830 views

Magento 2: MassAction Model LSD method delete()

My massaction functionalities are working fine. According to CodingStandard it shows this warning. ---------------------------------------------------------------------- 38 | WARNING | Model LSD ...
0
votes
1answer
645 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 ...
0
votes
2answers
39 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\...
3
votes
1answer
169 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 ...
3
votes
1answer
263 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 ?
6
votes
0answers
286 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 ...
2
votes
1answer
227 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
0
votes
1answer
270 views

How to remove a mass action in dropdown when it is disabled in configuration?

I create a new mass action and I try to remove it when it is disabled in configuration