Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [action]

The tag has no usage guidance.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
1k views

admin grid action with popup modal

<actionsColumn name="actions" class="Vendor\Module\Ui\Component\Listing\Column\SelectActions"> <argument name="data" xsi:type="array"> <item name="config" ...
HaFiz Umer's user avatar
  • 1,661
1 vote
1 answer
883 views

Magento how to change action url of contact page

I add contact form in CMS page using this code - <form class="form contact" action="<?= $block->escapeUrl($block->getFormAction()) ?>" id="contact-form" method="post" data-...
Gagan's user avatar
  • 557
1 vote
1 answer
69 views

On order page in action tab want to delete button

In the Sales>Order page on the right side, there is the drop-down option for Actions. In that actions tab, there is the delete option and I want to hide this option from that page. Anyone know how to ...
Neha Khedkar's user avatar
1 vote
0 answers
178 views

How to create custom button in the admin panel form?

I want to create custom button besides Update Quantity with an custom action where when you click on it, it makes the Quantity to refund column as zero on credit memo page. How can we create that? ...
Darshan Jethwa's user avatar
1 vote
0 answers
486 views

magento2 Mass Action to Custom Page in Admin

I have added a custom option to the magento2 admin order action-dropdown in view/adminhtml/ui_component/sales_order_grid.xml. Then I created a custom method Controller/Adminhtml/Order/MassDoSomething....
user3310748's user avatar
1 vote
1 answer
522 views

How to add more actions to a column in Magento grid?

In Magento 1.9 I add a column to Sales Grid using an observer. I want to show more actions instead only one action. With my code, in my column I see a select box, with the two actions. Instead I want ...
Vixent's user avatar
  • 349
1 vote
1 answer
246 views

Controller action not working with external callback

I have a custom payment module where I need a controller for callback to get notified about the payment, but the payment service only gives me the error that the response contains html. Also, in the ...
user1563232's user avatar
0 votes
0 answers
383 views

Close window popup after successfully submit form and refresh background form

I've added window model popup in block grid using add coulmnn method. this popup is loaded when admin user click on action column. this popup window render as below approch. $this->getColumn()->...
user73267's user avatar
  • 183
0 votes
1 answer
67 views

Magento 2: Add Reset option in the Auto Generation coupon grid Manage Coupon Codes section

I need to add Reset option in Manage Coupon Codes Auto Generation coupon grid Action. When select record(coupon code) in the grid and click on the Reset option then Submit button should be display and ...
Kirti Nariya's user avatar
  • 3,041
0 votes
1 answer
35 views

Programatically mass change product prices

I am writing a module that uses a cli command get a csv file and use that to change the prices of a selection of products based on sku and new price retrieved from an CSV file. I have the logic for ...
AndrewRMillar's user avatar
0 votes
1 answer
2k views

main.DEBUG: Request validation failed for action ... Invalid request received at Account/CreatePost.php:327 on loop error in debug log

Hey There i have been facing a serious issue in my magento 2.3.7. in my debug.log this error is constantly hitting n filling it in seconds Request validation failed for action "Magento\Customer\...
Sayyed Hasan's user avatar
0 votes
0 answers
140 views

After deleting the module I'am getting "class does not exist" - magento2.3

I had created the dropdown action in the admin panel in the customer grid after that I had deleted the module but the view all customer page is getting an error in the admin panel as the class does ...
Sabareesh's user avatar
  • 358
0 votes
0 answers
34 views

cannot create new action

I want to create new action (like 'webrequest/index/search') on existed module. I created following https://www.mageplaza.com/magento-2-module-development/ But when I run http:///webrequest/index/...
Spirit's user avatar
  • 101
0 votes
1 answer
1k views

How create and download excel file in magento 2.3

I need to create excel file at front-end and need to download bu there is no any reference please help with some solution.
Sabareesh's user avatar
  • 358
0 votes
1 answer
298 views

Magento2 : How to add button in admin custom module page?

I want to add one button here how I can add code?? and how to add action controller any idea ?? i already tried this answer(https://magento.stackexchange.com/a/212656/73525) but showing error ...
prabhakaran7's user avatar
  • 1,087
0 votes
0 answers
53 views

Custom action won't work?

My Customized controller seems not work. Added new method which suppose to update some values in table, here is my method: public function reorderAction() { Mage::log('=> test',true,'...
Rob D. A.'s user avatar
  • 867
0 votes
0 answers
18 views

Assign a template from a place other than local.xml

I'm creating a custom page for some categories, I'm filtering the different blocks that I need to use in the catalog/category/view.phtml, but in some categories I wanna use a template with 1 column, ...
jacr1614's user avatar
  • 187
0 votes
0 answers
301 views

Trigger custom js script by using Magento observer

I need to trigger some custom js script in Magento for following actions, 1) customer account creation (customer_register_success) 2) Add to cart action (checkout_cart_product_add_after) 3) Remove ...
Muthukumar Sivasamy's user avatar
0 votes
1 answer
48 views

Admin Grid Erratic Edit Form Behavior

My custom module uses an Admin Grid to display my model. I have added a link to my edit method with a button as follows: $this->addColumn('action', array( 'header' => 'Action', ...
Alan A's user avatar
  • 133
0 votes
1 answer
637 views

Call to a member function getTemplate() on boolean in

After activate cache I got this error in controller: Fatal error: Call to a member function getBlock() on string Below is my controller action code: public function loginAction() { if ($this->...
Nimesh Patel's user avatar