Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [custom-button]

The tag has no usage guidance.

1
vote
1answer
15 views

Magento 2.3: How to Echo From Controller On Button Click?

I'm very new to Magento, I have a custom module and some tabs and fields in it, i have an 'import' tab, in that their is 'Import' button, just want to know the workflow of that button, like on button ...
5
votes
1answer
39 views

Add button on product page

I want to add a button only on those products which are having product size.Button displaying over Color attribute. My XML file is catalog_product_view.xml <?xml version="1.0"?> <page xmlns:...
2
votes
1answer
40 views

how to add onclick method in magento2 admin custom module page?

my edit.php file in magento admin custom module $this->addButton( 'approve', [ 'label' => __('Approve'), 'onclick' => 'deleteConfirm('...
3
votes
1answer
60 views

Magento2 : How to show button in admin for custom module page?

I want to show the button in my custom module (admin page) but I am getting an error I want to add a button and how I add action process for that button i already tried this answer : (https://...
0
votes
0answers
83 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 ...
1
vote
0answers
26 views

How to solve ERR_TOO_MANY_REDIRECTS

I have made button New Comment as well as controller NewComment.php. When I try to redirect to controller I have ERR_TOO_MANY_REDIRECTS. This is my button block code: namespace Vendor\Module\Block\...
0
votes
1answer
62 views

How to add a button in admin grid in magento 2

I wish to add button field in layout grid(without using UI component), After adding button, also need to add click function to that field. Please provide me a solution to add button as a field in the ...
0
votes
1answer
53 views

How can i add custom button (not add to cart) in product page in Magento2?

I want to add a new button to the product page , in which file can I add or should I create a module for this?
0
votes
0answers
15 views

UI form button not post data

I have created button on UI form: <settings> <buttons> <button name="save"> <url path="*/*/save"/> <class>save</class> ...
1
vote
0answers
753 views

Magento 2 How to do export products csv & xml from admin end?

I would like to implement export catalog products functionality from admin end from custom module. I have followed below steps for displaying export button at admin end catalog > products but unable ...
0
votes
1answer
71 views

UI Component: position custom split button?

Magento 2.3.0 I've added an split button to admin product edit page with this code ... <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
1answer
21 views

I wish to add custom section in product detail page in magento 2

How to add custom button in product page,while clicking that button it needs to show custom form in a popup ?
0
votes
1answer
56 views

M2| How to put button on sales order information page

I want to add a button with email address. I can add buttons on places like this. Can any body help me to figure out how to do this on the specific point. Any help should be highly appreciated.
1
vote
1answer
73 views

Magento 2: Add button next to “Shopping Cart” title

When viewing my shopping cart there is an header "Shopping Cart", looks like this: How can I add an button (or just a "a href link which has div inside it" would also be good enough) in that header ...
0
votes
1answer
87 views

Add new button in product page in M2

Does anyone know how we can add new custom button beside Addtocart button on product page. The button I can add custom link, any help or suggestions would be greatly appreciated! I tried How to add ...
2
votes
2answers
510 views

Magento 2 Admin Grid Add/Update Button

In Magento 2.2.5, I am creating admin grid by following this tutorial(Using layout Block method. Not UI Component). In that I have a add button. I can't remove it. I need to remove it and add a new ...
0
votes
1answer
90 views

Desperately need Help with a task for a test in Magento 1.9.3

So guys, I'm doing this task for something very important to me but now I'm completely stuck. I need to fulfill this task: Create a module to output a nice list of the products that have a value ...
1
vote
2answers
93 views

Fatal error: Call to a member function … on a non-object

I need help with the following error: Fatal error: Call to a member function getno_cart_button() on a non-object in /var/home/hifi-studio_at/www/app/design/frontend/default/theme582/template/...
1
vote
0answers
54 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? ...
1
vote
1answer
356 views

How to add 'Buynow' button on product's gallery and product's detail view?

I need to add a button for 'Buy Now / Checkout' along with the 'add to cart' button. I need to display both of these buttons together in product gallery as well as product's detail view page. I have ...
0
votes
1answer
732 views

Magento 2 : Button Onclick Method Executed Before Button is Clicked

I got following code: <?php namespace UV\PrintBestellschein\Block\Adminhtml; use Magento\Framework\App\Filesystem\DirectoryList; class PrintBestellscheinButton extends \Magento\Backend\Block\...
0
votes
1answer
196 views

Magento 2 : Add Button to Order View

I want to add custom button to the order view, which should print the package slip. How can I do that? Thanks!
-1
votes
1answer
725 views

Call Controller from Button [duplicate]

I created this button: medienshop-dev/magento/app/code/UV/Bestellung/Plugin/Button.php <?php namespace UV\Bestellung\Plugin; class Buttons { public function beforePushButtons( \Magento\...
0
votes
1answer
307 views

Failed to call function “on click” in magento 2

I have created the add button using the below block file. On button click I have called return FilterControl.addItem() from my template file seo.phtml. But it shows error like below Uncaught ...
0
votes
0answers
149 views

Magento 1.9 : Value not working on submit button in edit form?

I created an edit form of custom module, all other fields are working fine but submit button value is not working my code of button is Matrid_Feedmanager_Block_Adminhtml_Web_Edit_Tab_Form extends ...
0
votes
2answers
74 views

Where to implement the custom button logic?

I created a button via following code: <?php namespace UV\Bestellung\Plugin; class Buttons { public function beforePushButtons( \Magento\Backend\Block\Widget\Button\Toolbar\Interceptor $...
0
votes
1answer
307 views

Add custom button to Pageactions

I have another problem. When you edit an order (admin) you will get here: The buttons above, marked with the red line, are generated here: /module-backend/view/adminhtml/templates/pageactions....
4
votes
2answers
47 views

Adding new button from observer issue

I am using this event to add a new button: controller_action_layout_render_before_adminhtml_sales_billing_agreement_view This is my function: var_dump(Mage::getSingleton('core/layout')->...
1
vote
0answers
868 views

Magento 2 add new Button in admin Controller

I am working on module which will work for sync product from Third party Api.I have already created admin controller page but don't have Idea how to add button Sync Products whose action will call a ...
4
votes
1answer
2k views

How to add a button to the Customer Edit Page within the admin?

I've been working on a module to put a custom button, that opens a popup for input values, onto the Customer Edit page (customer/index/edit/id/) within the admin: I've been using this for the module....
1
vote
2answers
4k views

Magento 1.9 add custom button in admin order grid page

i need to add a custom button on admin sales order grid page like this:I'm trying to create a module for this using this code in my config.xml file: <adminhtml> <events> ...