Questions tagged [massaction]

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

54 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
285 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 ...
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 ...
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 ...
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 ...
2
votes
1answer
180 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 ...
2
votes
1answer
27 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 ...
2
votes
0answers
452 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 ...
2
votes
0answers
143 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 ...
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="...
1
vote
0answers
24 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(...
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 ...
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 ...
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. ['...
1
vote
1answer
396 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
0answers
322 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 ...
1
vote
1answer
716 views

Magento 2 : Error 503 first byte timeout

Getting this error when i'm update product from product grid using update attributes. Error Page:
1
vote
0answers
105 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
146 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
0answers
119 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. ...
1
vote
1answer
119 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 ...
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
1
vote
0answers
290 views

Mass Action is not redirecting to defined controller Magento 2

I created a custom grid for my extension with mass action like this: <listingToolbar name="listing_top"> <argument name="data" xsi:type="array"> <item name="config" xsi:...
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 ...
1
vote
1answer
524 views

URL key regenerating from tilte in magento 1.8 CE

I have a magento 1.8 with 5 storeviews (IT -EN - DE- FR -ES) I set the Italian (IT) as Default Store View. Then I figured out that, if i select "Default values" or "IT" store view from the left ...
1
vote
0answers
448 views

New Order statuses in the mass action update menu in Orders / Sales?

I am using Mangeto 1.9. I want to display in this menu: URL of the page: www.yourmagento.com/index.php/admin/sales_order/index - This is the orders view page, where you can see all your orders. In ...
1
vote
1answer
367 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
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
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
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
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
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
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
33 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 ...
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 ...
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 ...
0
votes
2answers
197 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
483 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
323 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 ...
0
votes
0answers
36 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
511 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 ...
0
votes
2answers
171 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
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
0
votes
1answer
312 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
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
0
votes
0answers
324 views

Add Category Tree to mass update product functionality

I need to add Category option to mass update product functionality as shown below As these three are being added from htdocs/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute/...
0
votes
0answers
303 views

The width of massaction check box column in _prepareMassaction()

i have a column in a custom grid protected function _prepareMassaction() { $helper = Mage::helper('mymodule_name'); $this->setMassactionIdField('tax_calculation_rate_id'); $this->...