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
1
vote
0answers
11 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
0answers
15 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 ...
1
vote
1answer
22 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="...
1
vote
0answers
17 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. ['...
2
votes
1answer
36 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 ...
0
votes
2answers
48 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 "...
0
votes
1answer
70 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 ...
0
votes
1answer
34 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
85 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.
0
votes
0answers
40 views

Magento 2 - Admin Grid - Mass Action Column Custom Render

I have a custom module in admin Magento 2 and I need to render custom data in the mass action column. For Ex. by default checkbox is coming in mass action column that is good. But when we have made ...
0
votes
0answers
13 views

Add dynamic mass action in sales grid order magento 2 [duplicate]

I wrote this system.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file....
0
votes
1answer
215 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
0answers
13 views

Mass Action assigned to a custom button in Sales Order page Magento 1.9

I am working on a custom module. One part of that module creates a button above the Sales Order Grid. The current code for that button is; public function addNewButton($observer) { $...
1
vote
4answers
196 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="...
0
votes
2answers
25 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\...
5
votes
0answers
80 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 ...
0
votes
0answers
49 views

Show Custom Popup when clicking massaction in ui-component grid

I am using custom uicomponent grid in which I have mass actions, now on click of that mass action, I want to show custom popup instead of showing confirm box popup. I have looked at uicomponent grid ...
0
votes
0answers
90 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
34 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
236 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
522 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
16 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
164 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
152 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
99 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
134 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 ?
2
votes
1answer
133 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
0answers
71 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
2answers
106 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
159 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
264 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
230 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
184 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
1answer
524 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
279 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
59 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 ...
4
votes
0answers
152 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
63 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
110 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
585 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
300 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
48 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
120 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
384 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
43 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
50 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
191 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
83 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
23 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
515 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 ...