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
0answers
28 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 ...
0
votes
0answers
20 views

Magento 2 grid mass actions Cannot read property 'total' of undefined

I created a grid ui_component but the massAction select won't work. It keep show me this error : Cannot read property 'total' of undefined (l55) Could you help me with this issue ? Here is my ...
1
vote
1answer
26 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 ...
0
votes
0answers
22 views

Show Model PoPuP after executing massAction in Magento 2?

I have a custom massAction after executing the function I need to show the model popup. In my case, I am sending the multiple requests to web service and storing the array of messages if I use below ...
0
votes
1answer
53 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
64 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
106 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
39 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
59 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
21 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
70 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
189 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
129 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
43 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
76 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
29 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
35 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
229 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
146 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
37 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
90 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
172 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
39 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
22 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
116 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
173 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
54 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
20 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
326 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
114 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
2answers
343 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
58 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
28 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
641 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
373 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
477 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
76 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
75 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
387 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
996 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
120 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
136 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
1k 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
450 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
211 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
252 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
512 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
792 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