Stack Exchange Network

Stack Exchange network consists of 175 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
17 views

How to add massaction in product grid in magento 1

What is the easiest way to add add mass action to product grid using only observer and controller(no block). I would like to see a simple example because it is the first time I create it.
0
votes
0answers
11 views

Assign images to simple products within configurable

I have 1300+ Simple products that are joined by 120 configurable. Currently all configurable products have images, however when I select options such as color, in the configurable images don't switch/...
1
vote
1answer
33 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 ...
1
vote
3answers
63 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 ...
2
votes
1answer
12 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 ...
0
votes
0answers
67 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
39 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 ...
3
votes
1answer
35 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
25 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
67 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
83 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
162 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
69 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
94 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
15 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?
-1
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
268 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
170 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
47 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 ...
2
votes
0answers
112 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
34 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
52 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
290 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
172 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
41 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
96 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
220 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
41 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
32 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
132 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.
1
vote
0answers
67 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
21 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
379 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
2answers
421 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
62 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
30 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
727 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
439 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
494 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
84 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
76 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
418 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
1k 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
128 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
139 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"> ...
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
485 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
230 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
260 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
564 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