Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [massaction]

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

0
votes
1answer
42 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
1answer
47 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\...
0
votes
1answer
34 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 ...
0
votes
1answer
31 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 ...
1
vote
1answer
40 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\\...
0
votes
0answers
12 views

Magento 2 - How can I use custom handler for a mass action?

I know that mass actions are handled by massactions.js. How can I use a custom handler for a custom mass action?
0
votes
0answers
20 views

Magento 2 - How can I add data to the array sent to my controller via mass action?

I have created a mass action and some columns in sales order grid in admin view. These columns are inline editable. How can I pass their values when clicking on the mass action to my controller and ...
0
votes
1answer
38 views

Show popup when clicking on custom mass action on sales order grid

I am new to Magento 2. I have managed to add a new mass action on sales order grid following some guides that exist out there. What I want to do next is when clicking on the custom mass action to show ...
0
votes
1answer
111 views

Magento 2 : Error 503 first byte timeout

Getting this error when i'm update product from product grid using update attributes. Error Page:
2
votes
0answers
95 views

How to create mass credit memos magento 2?

Total noob in magento here. What I want is to select a bunch of orders, and create credit memos for them if their status is completed, and after the creditmemo is created, I want to set their ...
1
vote
0answers
31 views

How to get the selected Order(s) so i can use them for building a form in custom grid?

I am new to Magento and development in in general. I am working on a custom module. I did some tutorials and a lot of searching to help me get where i am. But now I have the feeling I am lost ...
1
vote
0answers
45 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 ...
1
vote
1answer
28 views

Create empty page on custom admin url

So we have a module which has to return a specific view using a layout. However we can not get an empty page rendered to add my layout too. So our code does the following: We have a massaction that ...
0
votes
1answer
25 views

Mass creation of invoice in magento 1.9

I am trying to add a mass action of creating the invoice, in my Magento store, which has been built with Magento - 1.9. The code files are as below. But when I select the orders and click on the '...
0
votes
1answer
152 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. ...
1
vote
1answer
120 views

Hide Custom Grid Mass Action for non administrator user

Currently I am working in Magento version-2.2.3. I have prepared one custom grid page using ui-component and added mass action on it which will be useful for admin. But now I want to hide Mass action ...
0
votes
2answers
33 views

Is it Necessary to create layout.xml for massDelete file?

here my delete action <action name="delete"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="type" ...
1
vote
0answers
81 views

Magento 2 add conditional mass action in sales order grid

I want to add conditional mass action in sales order grid. I want to use my system configuration values to show the mass action. like we use in block layout ifconfig="contact/contact/enabled" <...
1
vote
1answer
133 views

Magento2 : massdelete is not working

I have created a custom module with ui_component grid, below is my grid xml file : ... <massaction name="listing_massaction"> <argument name="data" xsi:type="array"> <item ...
0
votes
1answer
36 views

Difference in approach for Mass Order Hold and Unhold

I was working on something in Magento admin on order Management. I have observed that MassAction Unhold is using the collection to release order from hold, whereas MassAction Hold is using Interface ...
0
votes
1answer
20 views

Which controller is used when bulk printing invoices? (Magento1.9)

On the orders grid, when using the Action Print Invoices, which controller is used to generate the invoices?
3
votes
1answer
96 views

Magento 1.9 : Additional Dropdown in Massaction

How to Add Additional Drop-down in Mass-action. Example if I select Delete in Mass-action it also Ask Reason in another Drop-down for Delete.
0
votes
0answers
154 views

Set product price to be equal to the special price for all simple products

I want to replace the normal price with the special price for all my simple products (the special price will no longer exist). I am pretty new with Magento and I don't know what's the best approach to ...
1
vote
0answers
50 views

Add dynamic massaction to product grid

Is it possible to add dynamic massactions to admin grids? "Dynamic" in the way that the last dropdown options depend on previous selection? For example I want to update some attribute values. ...
0
votes
1answer
19 views

Disable custom module functions for user roles

I've created a custom module that allows you to delete orders. Now what I want is that when another user has logged in with a custom role (so not the Administrator), this function won't work. If I ...
0
votes
1answer
276 views

Enabling or disabling mass action does not work

I am trying to add a mass action function to the orders grid in the admin panel, using the following code placed in: app/code/vendor/module/Controller/Order MassDelete.php <?php namespace ...
0
votes
0answers
91 views

Magento 2: How to change the order of mass action option in sales order gird

I want to change the Export" order option after the filter option in magento admin sales order grid as shown in the screenshot:- Please let me know how to achieve this.
0
votes
0answers
93 views

Magento 2 extension validation errors

I have created a magento2 custom extension and checked the extension with MEQP2 tool. I'm getting the below warning errors while checking the coding standard using Eqp validation. How can I resolve ...
0
votes
2answers
258 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 ...
2
votes
2answers
54 views

How to Remove Backend Bulk Action Buttons

In the backend of magento, under Sales> Orders, Catalog> Manage Products and Clients> Manage Clients, you have the field of actions from which one of them is to exclude and in this case ...
0
votes
0answers
43 views

Allowed memory size exhausted on Product Mass Delete Action [duplicate]

I am facing an issue on my store while deleting products. Issue is PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /home/../../vendor/magento/...
0
votes
0answers
26 views

Magento vs mass change attributes/inventory/etc

Trying to update some things in products so what I've done is: $attribute_code = use_config_manage_stock; $attributeValue = 1; $data = $attributeCode.' = '.$attributeValue; Mage::log($data, NULL,'...
0
votes
1answer
529 views

Add new mass action in order grid in magento 1.9

I am using Magento 1.9.1 . I will create new mass action same like Print Packingslips in order grid also download pdf for same as Print Packingslips but some customization in pdf as per requirement....
3
votes
2answers
322 views

Mass status in admingrid: Ui form

I have created Admingrid and associate UI form. I need to change the Status for all the items using Massaction. Any one know Please suggest me.. Uigrid.xml <massaction name="listing_massaction"&...
1
vote
2answers
429 views

Shipment grid custom mass action problem with UiComponentFactory::argumentsResolver()

I added a custom mass action to the shipments grid for sending multiple tracking emails at once and the collection part is throwing an error, because I must be missing something. For reference, I ...
1
vote
1answer
61 views

show massaction depending upon store configuration value

I have added one new mass action in sales order grid using UI component, I want to show mass action only if store configuration value set to yes. If store configuration value set to No, then my ...
0
votes
0answers
70 views

Magento 2.1.9 CMS Block massdelete action gives error

In magento 2.1.9, the mass delete action on CMS block gives following error. Fatal error: Uncaught Error: Call to undefined method Magento\Cms\Model\ResourceModel\Block\Grid\Collection::...
0
votes
1answer
348 views

Mass action delete not working on Magento 2.1.9

I have created a backend module on magento 2.1.6 which was working fine on the mass delete action. After upgrading magento with version 2.1.9, now if i tried to make a mass delete i receive this next ...
2
votes
1answer
810 views

Need pass dynamic url param value in massAction url of ui-component grid

I have a massAction on a admin grid which need to pass URL parameter coming on the grid page like http://ashish.local/admin/package_module/rsvp/index/event_id/21/key/...
2
votes
0answers
114 views

magento 2.0 and 2.1 massaction compatibility issue admin back-end

We have a custom written Magento 2 module that adds an action to the order overview dropdown. Now we have ran into an issue where it would work on 2.0.x but not 2.1.x and up. After a bit of research ...
0
votes
2answers
128 views

Validate mass action column

I am using Magento ver. 2.1.7 CE . I added new button "Validate" in UI component layout as follows <item name="buttons" xsi:type="array"> <item name="print" xsi:type="array"> ...
0
votes
0answers
46 views

How to keep filters and paging settings after (mass)action?

How to force custom magento2 grid to keep current page or current filters settings after perform massaction or simple action on record?
1
vote
2answers
915 views

Invalid Method name delete in magento 2

I'm trying to perform mass delete action on my custom admin grid in Magento 2. but while I try to perform it displays this error. Exception #0 (Magento\Framework\Exception\LocalizedException): ...
1
vote
2answers
406 views

Why the bulk update attributes is showing a blank red error message?

I'm trying to bulk update visibility of all products from Actions > Update Attributes under Catalog > Products menu. I'm getting this error. Any Idea Why?
0
votes
1answer
198 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
0
votes
1answer
243 views

How to get CategoryIds and Category name for selected Products in magento2 ?

I want to get CategoryIds and CategoryName to salected Produts; but in my code; I can give CategoryIds to All Products $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $...
0
votes
1answer
467 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
1answer
726 views

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

Hi magenticians 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 plz
0
votes
1answer
130 views

Resolved - Mass Action - Mass Database Update in Magento Grid

I have this grid developed for the custom module. I added the mass delete action which works fine. But the mass Approve/Disapprove actions work only for one value, when I select multiple values I get ...
0
votes
2answers
3k views

Solved - Adding Mass Delete Action to the Grid

I have created a custom module and need to add checkboxes to the grid and be able to delete multiple values with a mass action. Tried to use number of different articles but nothing worked. Can ...