Questions tagged [core]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
81
votes
4answers
27k views

Fundamentals for debugging a Magento store

How can I debug my Magento store This is a question that isn't all too relevant to us now, but had a Magento SE site existed 5 years ago, it probably would have been our first question. For those ...
107
votes
13answers
69k views

Magento core_url_rewrite table excessively large

I've noticed a large amount of reports that this table itself can become extremely cluttered, I'm running a site with ~5000 SKUs and ~250 categories (single-store) and a resultant core_url_rewrite ...
27
votes
4answers
7k views

Disabling modules - performance improvement?

This question has 2 parts: Does disabling core modules improve overall performance of the store and if so, do they need disabled in the admin (i.e. disable frontend output) or disabled via config.xml ...
9
votes
4answers
8k views

Disable Core Extensions in Magento 1.x

we have a shop that sells physical configurable products. We use a custom payment provider (own extension) and our store is located in Europe. What core extension can we disable without nasty side ...
1
vote
2answers
511 views

Core/Local which is better?

I recently fell into an interesting argument. My question is when should we use the local codepool to completely overwrite a class and when should we use Magento class overrides extending a class. ...
27
votes
3answers
21k views

where does is_salable come from?

Note: If you've been editing products by PHP code, then re-index them in the admin after, save your self hours trying to work out why they not showing like me below ... I am going round in circles ...
10
votes
1answer
2k views

“Gang of Four” Design Patterns in Magento Core

There are a few very obvious patterns in use in Magento's core, such as: Singleton Registry Event/Observer Factory Model/View/Controller But there are others that may be in use in Magento that I'm ...
4
votes
2answers
4k views

Why is my url added to the enterprise_url_rewrite table but not core_url_rewrite?

Redirects in Magento have me utterly confused. Enterprise 1.13 has not helped the situation. My problem is this, I want to add a product link widget to the home page but newer products do not show up. ...
1
vote
3answers
4k views

Magento2: How to override admin files

I need to add some modification on the following file so that i'm trying to overwrite the file in local vendor/magento/module-sales/view/adminhtml/templates/order/view/info.phtml to app/design/...
5
votes
2answers
4k views

Is It Possible To Create My Own Shortcode

I'm building a module. I want to be able to use a shortcode (template directive) in my CMS static blocks, such as the following: {{store url=""}} I want to call my own module's frontpage blocks ...
2
votes
1answer
5k views

Magento 2 Training Overriding a core class

I'm trying to implement a basic m2 class override following the M2 Fundamentals Course and it is not working. Here is what I have in my Training/Test/etc/di.xml <?xml version="1.0"?> <!-- /*...
23
votes
1answer
649 views

How do I report Magento bugs and submit bugfixes so that they are likely to be closed?

I found a bug in Magento 1.x and I also found a bugfix for it. Where do I report it? Where do I have a chance that a Magento core developer has a look at it? The Magento bug tracker seems to be ...
9
votes
4answers
2k views

Magento 2 How to override vendor/magento/magento2-base/lib/web/css/source/lib/_navigation.less?

How Can I override vendor/magento/magento2-base/lib/web/css/source/lib/_navigation.less file in my custom theme ?
7
votes
2answers
2k views

Speed Optimization by disabling Mage_Reports module?

When thinking about optimizing the speed of Magento, there are several possibilities like caching (PHP, Database, even Full Page Caches) to speed up your site. Another possibility is to reduce the ...
2
votes
3answers
5k views

Magento add Customer Email to adminhtml order grid (Mage 1.8)

I am trying to add the Customer Email to our adminhtml order grid. We are overriding the code in Mage/core in this file: app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php In PrepareColumns we ...
2
votes
1answer
1k views

Magento 2:i18n folder to custom theme

I want to edit .csv file in module-wishlist to my custom theme. I have copied the the file from module-wishlist and copied to app/design/frontend/vendor/theme/Magento_Wishlist/i18n/en_US.csv. ...
2
votes
1answer
2k views

Extending an abstract block class

I'm modifying getCountryHtmlSelect() through a custom class that extends another core class that extends Mage_Checkout_Block_Onepage_Abstract. Here's the class with the customized code: local/...
1
vote
2answers
2k views

How can I add category IDs as a class on the top menu?

I'm trying to add classes such as cat-1, cat-2, ..., cat-n to the <li> elements in the top menu, where the number is the category ID. I would also like to add cat-0 to the "Home" link. At ...
0
votes
1answer
1k views

How to quickly override/modify core block file?

I need to modify 1 line of code in: Mage/Catalog/Search/Block/Autocomplete.php $html .= '<li title="'.$this->escapeHtml($item['title']).'" class="'.$item['row_class'].'">' . '...