Questions tagged [overrides]

Questions about overriding core features (class rewrites, local code pool, theme overrides). For URL rewrites, use the "url-rewrite" tag instead.

Filter by
Sorted by
Tagged with
0
votes
0answers
67 views

What is the best way to edit your Magento site's toplinks block in the top right hand corner, WITHOUT editing core files? [duplicate]

This is the block which contains "My Account", "Log In/Log Out" etc by default. I've seen a few suggestions on how to do this, but I haven't seen anything complete that doesn't involve editing core ...
0
votes
1answer
491 views

Trying to override a community pool template

So, I am trying to override a template from an extension we have installed. This is the template location: app/design/frontend/enterprise/default/template/affiliatepluscoupon/affiliatepluscoupon....
0
votes
1answer
263 views

How to override js file in lib folder for admin theme?

I need to override js located in lib/web/mage/backend in Magento/backendtheme. Basically i should get modified js in static content for admin theme.
0
votes
1answer
521 views

Magento 2: How to redirect from Model?

I have below code. I'm overriding Paypal Express 1 function. magento\app\code\Custom\Module\Model\Api\Nvp.php namespace Custom\Module\Model\Api; class Nvp extends \Magento\Paypal\Model\Api\Nvp { ...
0
votes
1answer
529 views

sales order grid custom column filter QLSTATE[42S22]: Column not found: 1054 Unknown column

Here is the class to rewrite sales order grid adding email column, there is an error for filtering by this email column SQLSTATE[42S22]: Column not found: 1054 Unknown column 'email' in 'where ...
0
votes
2answers
3k views

How to override adminhtml phtml files in magento2

How to override adminhtml phtml files in magento2? I want to place a custom text in customer edit page welcome to magento2. For this I have created a theme and placed app\design\adminhtml\Vendor\...
-1
votes
1answer
2k views

Rewrite Helper Class that implements interface

What I want to do is removing the price from the options in the bundled products in the cart. I made a folder Mage/Bundle/Helper/Catalog/Product/Configuration.php in my local folder and i copy/paste ...
-1
votes
5answers
3k views

How to override layout file in custom theme in magento 2?

I want to override catalog_product_view.xml file which is located in vendor/magento/module-catalog/view/frontend/layout/catalog_product_view.xml file. I created below files - app/design/frontend/...
-1
votes
2answers
241 views

Override custom template

I have a custom theme. In a controller is called a template from the custom theme, that overrides the default template: $this->getLayout()->getBlock('root')->setTemplate('page/2columns-left....