Questions tagged [massaction]
Mass-action is a bulk edit action for Magento admin. Admin can edit/update bulk items from grid.
150
questions
0
votes
0
answers
10
views
Magento 2: How To Override Mass action js For Current Module(works only for the current module)?
Magento 2: How To Override Mass action js For Current Module(works only for the current module)?
Using the mixin I'm able to override core massactions.js but its working with other modules too.
How ...
2
votes
0
answers
30
views
How to disable massaction Dropdown conditionally ui_component Magento 2
I have implemented functionality like hiding mass actions based on some conditions. I want to assign some specific rights to other admin users.
I want functionality like, If there is no mass action in ...
0
votes
0
answers
17
views
How to hide and show option from massaction dropdown for specific filter in Magento2?
I want to show options from massaction dropdown when I apply a UI component filter? Is there any way to achieve this functionality?
0
votes
0
answers
26
views
How to Add Custom Mass Action in Order Grid - Change status to Complete
I am trying to implement a new action in the order grid, however I don't know what is the logic that my code must have to work. Below is an image of what I want to do, as well as a fragment of the ...
0
votes
0
answers
34
views
Disable row click for Products in Category
How can I disable row click for Catalog > Categories > Products in Category?
I have added an extra column as in the code below and each type I click the button, the checkbox is checked/unchecked ...
0
votes
0
answers
20
views
adding custom popup in mass action in sales order admin page
Is that possible to create Modal like this but with custom dropdown inside the Modal? All I found only tree-massaction
1
vote
0
answers
89
views
Add a modal popup when the mass action button in ui component admin grid
I have a admin grid, where I want to add a popup which will have a input field posting a data on confirmation.
Take the above screenshot as an example. When the hold button is clicked, I want to ...
0
votes
2
answers
49
views
Sales Order Grid Mass Action Route 404 Error
I have created module to send email using mass actions, but it is showing 404 error.
etc/acl.xml
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0
answers
15
views
Magento 2 : Reorder Attributes in Mass Update Attributes
I want to sort attributes in mass update attributes like the image below:
I want to add manufacturer, cost and color beneath special price field.
The attributes are rendered from getAttributes() ...
0
votes
0
answers
15
views
Magento 2: Sorting mass update product attributes
Is there a way to sort mass update product attributes alphabetically?
0
votes
1
answer
300
views
What event is responsible for the bulk product save in the admin in Magento 2?
Magento V2.4.1
We have created one attribute named "Test" with 2 values "test1" and "test2". We are required to automatically select the value "test2" when the ...
0
votes
1
answer
241
views
Magento 2: Observer or Plugin for Mass Update Product Attribute
I have a custom attribute that I need to observe after the mass update product has been finished, this custom attribute is related to a category in another custom table, so if this custom attribute ...
1
vote
0
answers
70
views
Mass update customer attribute programatically in a single query
I've created a custom customer attribute via install script.
Now I would like to bulk update this attribute for batches of customers programmatically. Preferably in a single query (using foreach would ...
0
votes
0
answers
290
views
Magento 2 order grid custom mass action 404 page not found
view/adminhtml/ui_component/sales_order_grid.xml
<?xml version="1.0" encoding="UTF-8"?>
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1
answer
315
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
3
answers
151
views
Mass Action needs to change the place Magento 2
I have created the custom grid with UI Component and it's working good except the position of Mass Action.
For this I have written below code:
<?xml version="1.0" encoding="UTF-8&...
3
votes
1
answer
179
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' =>...
2
votes
1
answer
43
views
`Selected` field is missing from the post request for the product grid mass action
I made a custom mass action for the product grid.
This is the ui component part:
<?xml version="1.0" encoding="UTF-8"?>
<listing xmlns:xsi="http://www.w3.org/2001/...
1
vote
0
answers
113
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(...
0
votes
0
answers
17
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
1
answer
155
views
Magento 2 Custom MassAction redirects to dashboard with "Invalid Security Token" but works?
I created a custom mass action, and it shows up and seems to function fine except rather than redirecting back to the order page, it goes to the admin dashboard and says the typical "Invalid ...
0
votes
2
answers
499
views
Type Error occurred when creating object
I am having the massaction "delete" in the ui_component and it is then process by a controller MassDelete in my adminhtml folder.
like this:
<?php
namespace Apriljune\Testimonial\...
0
votes
2
answers
90
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
1
answer
501
views
UI component add text field for mass action in grid issue
This is my ui component:
<?xml version="1.0" encoding="UTF-8"?>
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:...
0
votes
2
answers
296
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"?>
<...
2
votes
0
answers
351
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
0
answers
294
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
0
answers
67
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 ...
2
votes
1
answer
185
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="...
2
votes
0
answers
126
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
1
answer
89
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
2
answers
1k
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
1
answer
386
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 ...
3
votes
1
answer
417
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
1
answer
259
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
1
answer
1k
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 ...
1
vote
4
answers
1k
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
2
answers
45
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\...
6
votes
0
answers
489
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 ...
1
vote
1
answer
617
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
3
answers
2k
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
1
answer
40
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 ...
1
vote
0
answers
473
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 ...
3
votes
1
answer
256
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
1
answer
483
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
1
answer
350
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
2
answers
382
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
1
answer
254
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
1
answer
716
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
1
answer
441
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 ...