Magento 2 Mass Product Action moduleHow to add a mass action via xml in Magento 2?ProductController for Mass ActionHow to set Input for argument of mass actionsACL problem on new mass action in product grid 1.9“Unknown columns” error when executing a mass actionMass action in custom grid block Magento 2 not showingMass Action not sending all dataResolved - Mass Action - Mass Database Update in Magento GridMagento 2 Mass Product Action module (append text to products name , update price…)Adding url parameters to UI component mass action
Is delete *p an alternative to delete [] p?
Python: return float 1.0 as int 1 but float 1.5 as float 1.5
What reasons are there for a Capitalist to oppose a 100% inheritance tax?
Is there a hemisphere-neutral way of specifying a season?
Watching something be written to a file live with tail
90's TV series where a boy goes to another dimension through portal near power lines
In a Spin are Both Wings Stalled?
How do I write bicross product symbols in latex?
What is the PIE reconstruction for word-initial alpha with rough breathing?
Why do I get two different answers for this counting problem?
Combinations of multiple lists
How can saying a song's name be a copyright violation?
How could indestructible materials be used in power generation?
How do conventional missiles fly?
Is the Joker left-handed?
In Romance of the Three Kingdoms why do people still use bamboo sticks when papers are already invented?
Facing a paradox: Earnshaw's theorem in one dimension
Can I use a neutral wire from another outlet to repair a broken neutral?
Neighboring nodes in the network
intersection of two sorted vectors in C++
What mechanic is there to disable a threat instead of killing it?
If a Gelatinous Cube takes up the entire space of a Pit Trap, what happens when a creature falls into the trap but succeeds on the saving throw?
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
What does it mean to describe someone as a butt steak?
Magento 2 Mass Product Action module
How to add a mass action via xml in Magento 2?ProductController for Mass ActionHow to set Input for argument of mass actionsACL problem on new mass action in product grid 1.9“Unknown columns” error when executing a mass actionMass action in custom grid block Magento 2 not showingMass Action not sending all dataResolved - Mass Action - Mass Database Update in Magento GridMagento 2 Mass Product Action module (append text to products name , update price…)Adding url parameters to UI component mass action
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
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
magento2 magento-2.1 catalog massaction product-grid
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
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
magento2 magento-2.1 catalog massaction product-grid
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
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
magento2 magento-2.1 catalog massaction product-grid
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
magento2 magento-2.1 catalog massaction product-grid
magento2 magento-2.1 catalog massaction product-grid
asked Apr 13 '17 at 7:23
Creativity GroupCreativity Group
114
114
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can try this
$Ids = [];
$attributes = ['name' => 'product name'];
$storeId = 0; // for admin
$productMassAction = MagentoFrameworkAppObjectManager::getInstance()->get('MagentoCatalogModelProductAction');
$productMassAction->updateAttributes($Ids, $attributes, $storeId);
---------- EDIT -------------
But for admin panel this gets called
execute() inside appcodeMagentoCatalogControllerAdminhtmlProductActionAttributeSave.php
For mass status change and mass delete you can use these filesMassDelete.phpandMassStatus.phpinsideappcodeMagentoCatalogControllerAdminhtmlProduct
– Kingshuk Deb
Apr 13 '17 at 7:38
Thank you my friend, I have already managed to modify the value with this code but I am stuck in how I can add an input text to enter the new value , for example enter +20 and press apply, how to add input text and button
– Creativity Group
Apr 13 '17 at 7:59
To make the dynamic product name from the written value in the input
– Creativity Group
Apr 13 '17 at 8:24
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f170014%2fmagento-2-mass-product-action-module%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can try this
$Ids = [];
$attributes = ['name' => 'product name'];
$storeId = 0; // for admin
$productMassAction = MagentoFrameworkAppObjectManager::getInstance()->get('MagentoCatalogModelProductAction');
$productMassAction->updateAttributes($Ids, $attributes, $storeId);
---------- EDIT -------------
But for admin panel this gets called
execute() inside appcodeMagentoCatalogControllerAdminhtmlProductActionAttributeSave.php
For mass status change and mass delete you can use these filesMassDelete.phpandMassStatus.phpinsideappcodeMagentoCatalogControllerAdminhtmlProduct
– Kingshuk Deb
Apr 13 '17 at 7:38
Thank you my friend, I have already managed to modify the value with this code but I am stuck in how I can add an input text to enter the new value , for example enter +20 and press apply, how to add input text and button
– Creativity Group
Apr 13 '17 at 7:59
To make the dynamic product name from the written value in the input
– Creativity Group
Apr 13 '17 at 8:24
add a comment |
You can try this
$Ids = [];
$attributes = ['name' => 'product name'];
$storeId = 0; // for admin
$productMassAction = MagentoFrameworkAppObjectManager::getInstance()->get('MagentoCatalogModelProductAction');
$productMassAction->updateAttributes($Ids, $attributes, $storeId);
---------- EDIT -------------
But for admin panel this gets called
execute() inside appcodeMagentoCatalogControllerAdminhtmlProductActionAttributeSave.php
For mass status change and mass delete you can use these filesMassDelete.phpandMassStatus.phpinsideappcodeMagentoCatalogControllerAdminhtmlProduct
– Kingshuk Deb
Apr 13 '17 at 7:38
Thank you my friend, I have already managed to modify the value with this code but I am stuck in how I can add an input text to enter the new value , for example enter +20 and press apply, how to add input text and button
– Creativity Group
Apr 13 '17 at 7:59
To make the dynamic product name from the written value in the input
– Creativity Group
Apr 13 '17 at 8:24
add a comment |
You can try this
$Ids = [];
$attributes = ['name' => 'product name'];
$storeId = 0; // for admin
$productMassAction = MagentoFrameworkAppObjectManager::getInstance()->get('MagentoCatalogModelProductAction');
$productMassAction->updateAttributes($Ids, $attributes, $storeId);
---------- EDIT -------------
But for admin panel this gets called
execute() inside appcodeMagentoCatalogControllerAdminhtmlProductActionAttributeSave.php
You can try this
$Ids = [];
$attributes = ['name' => 'product name'];
$storeId = 0; // for admin
$productMassAction = MagentoFrameworkAppObjectManager::getInstance()->get('MagentoCatalogModelProductAction');
$productMassAction->updateAttributes($Ids, $attributes, $storeId);
---------- EDIT -------------
But for admin panel this gets called
execute() inside appcodeMagentoCatalogControllerAdminhtmlProductActionAttributeSave.php
edited Apr 13 '17 at 7:43
answered Apr 13 '17 at 7:32
Kingshuk DebKingshuk Deb
806724
806724
For mass status change and mass delete you can use these filesMassDelete.phpandMassStatus.phpinsideappcodeMagentoCatalogControllerAdminhtmlProduct
– Kingshuk Deb
Apr 13 '17 at 7:38
Thank you my friend, I have already managed to modify the value with this code but I am stuck in how I can add an input text to enter the new value , for example enter +20 and press apply, how to add input text and button
– Creativity Group
Apr 13 '17 at 7:59
To make the dynamic product name from the written value in the input
– Creativity Group
Apr 13 '17 at 8:24
add a comment |
For mass status change and mass delete you can use these filesMassDelete.phpandMassStatus.phpinsideappcodeMagentoCatalogControllerAdminhtmlProduct
– Kingshuk Deb
Apr 13 '17 at 7:38
Thank you my friend, I have already managed to modify the value with this code but I am stuck in how I can add an input text to enter the new value , for example enter +20 and press apply, how to add input text and button
– Creativity Group
Apr 13 '17 at 7:59
To make the dynamic product name from the written value in the input
– Creativity Group
Apr 13 '17 at 8:24
For mass status change and mass delete you can use these files
MassDelete.php and MassStatus.php inside appcodeMagentoCatalogControllerAdminhtmlProduct– Kingshuk Deb
Apr 13 '17 at 7:38
For mass status change and mass delete you can use these files
MassDelete.php and MassStatus.php inside appcodeMagentoCatalogControllerAdminhtmlProduct– Kingshuk Deb
Apr 13 '17 at 7:38
Thank you my friend, I have already managed to modify the value with this code but I am stuck in how I can add an input text to enter the new value , for example enter +20 and press apply, how to add input text and button
– Creativity Group
Apr 13 '17 at 7:59
Thank you my friend, I have already managed to modify the value with this code but I am stuck in how I can add an input text to enter the new value , for example enter +20 and press apply, how to add input text and button
– Creativity Group
Apr 13 '17 at 7:59
To make the dynamic product name from the written value in the input
– Creativity Group
Apr 13 '17 at 8:24
To make the dynamic product name from the written value in the input
– Creativity Group
Apr 13 '17 at 8:24
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f170014%2fmagento-2-mass-product-action-module%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown