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 [extensions]

Denotes a question about developing and integrating extensions

133
votes
5answers
10k views

How to write a custom extension?

Because I had a lot of issues lately with free and commercial extension I've decided to ask this question and answer it with the steps I usually follow when writing an extension. Feel free to edit the ...
81
votes
4answers
26k 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 ...
70
votes
5answers
17k views

How to check which modules are affected by security patch SUPEE-6788

On October 27, 2015, Magento has released security patch SUPEE-6788. According to the technical details, 4 APPSEC's that have been fixed require some rework in local and community modules: APPSEC-...
42
votes
1answer
6k views

Difference between /Controller and /controllers

A question I've been meaning to ask for ages, more theoretical than anything else. I'm fully versed in developing Extensions using the normal Magento module file structure. I've noticed though when ...
41
votes
5answers
2k views

What do I do when an extension overwrites a class globally and I want to use the original?

We're using an extension which globally overwrites the Mage_Catalog_Block_Product_List_Toolbar block. <global> <blocks> <catalog> <rewrite> ...
41
votes
8answers
1k views

How to evaluate 3rd party extensions?

While Magento does a lot 'out of the box', we've found there are inevitably features and facilities needed for client stores that require a 3rd party extension. However, given the nature of the ...
30
votes
5answers
7k views

Learning Magento Plugin Development

I have been a PHP developer for 13+ years, have extensive knowledge of PHP itself as long as some other popular projects like WordPress. I have no experience with Magento. I now have a full time job ...
26
votes
4answers
2k views

How to create a Marketplace ready Magento 2 extension

I have created a Magento 2 extension which I wanted to upload on Magento Marketplace. When I tried to upload my extension it got rejected multiple times with one or the other reason. Due to this and ...
26
votes
4answers
32k views

How to avoid 404 error on new extension installation

It is a very common error that shows in Magento when you install a new extension with system.xml config: When you go to the System->Configuration->Extension tab, a 404 error is shown. You need ...
25
votes
3answers
3k views

What is the difference between an Extension and a Module?

What is the difference between an Extension and a Module? Just curious to know that what is the right term to use when we extend Magento's functionality by creating our custom code in local folder.
23
votes
3answers
6k views

How to fix warnings / errors raised by the Magento Marketplace technical review report?

With the new Magento Marketplace, a submitted extension goes through several validation states in order to be approved and available via the Marketplace. One of them is the technical review, from ...
22
votes
5answers
8k views

How do I get a list of all class rewrites?

Is there a way to list all rewrites and maybe other potential conflicts besides reviewing all configuration files? I have to analyse some projects with lots of extensions and custom modifications and ...
22
votes
3answers
47k views

Magento 1.9.2 Unknown cipher in list: TLSv1 [duplicate]

Just tried to load an extension through magento connect and had the error "Unknown cipher in list: TLSv1", the extension was Subcategories Grid/List by apptrian. Have tried a few more extensions and ...
21
votes
2answers
7k views

Add Category tree in custom extension

I am trying to add Category tree to custom extention, the category tree which is in one of the tab of edit product page
19
votes
2answers
342 views

How does Magento Connect use author information in packaged extensions

When packaging an extension for Magento Connect you are prompted to include author information. While I realize the first author must match the credentials from the Magento Connect account used to ...
16
votes
4answers
2k views

Magento 2 best practice for class locations and names

In Magento 1 we were used to place our classes in these directories Block Helper Model Resource and use a simple class name without any capital letters in the middle of the name. ...
16
votes
3answers
2k views

Uninstallation Module

I have created an extension that creates a category attribute when installed first time. But now when I disable/Uninstall the extension, I get an error message on "Manage Categories" page. I know ...
15
votes
3answers
983 views

Magento 1: improving my module development workflow (Modman, composer, git)

This is something I've had in mind for quite some time but I can't find the right method to do it. So basically, I'm working with 6 different websites, all running Magento CE 1.9.2+ On those ...
15
votes
2answers
7k views

How should I licence my module?

I have a module which I have written for my company. It takes data from our back office solution and imports it into Magento. It also takes orders from Magento and imports them into the back office ...
14
votes
4answers
2k views

When to dispatch events in a custom module?

This is a question regarding both Magento 1 and Magento 2. I understand that, as a good practice, 3rd party modules developers are encouraged to dispatch events in their custom module to make it ...
14
votes
2answers
8k views

Best way to add a dynamic grid as input in custom extension Adminhtml

I've build a custom store locator extension with it's own grid and edit pages in the Adminhtml and everything works great. For the opening hours of the stores I would like to implement a dynamic grid ...
12
votes
2answers
1k views

How is the start page of System Configuration (admin/system_config/index) defined?

I often notice that the start page of the system configuration (System > Configuration in admin panel) differs from installation to installation. Instead of showing the General > General section,...
12
votes
3answers
7k views

Create Category page which displays all Special Price products

Basically, I've created a category 'Products on Sale', which I would like to automatically contain all products in my catalog that have had a Special Price applied to them (via Catalog > Manage ...
12
votes
3answers
5k views

magento 2 - In what case we need to run this command magento setup:di:compile?

In what case we need to run this command magento setup:di:compile ?
11
votes
1answer
248 views

Choose which file to install via Composer based on Magento version

It would be very convenient to include multiple versions of code in a composer'd module and have composer work out which version to deploy, based on the Magento version of the installation target. ...
10
votes
5answers
2k views

Where do I put .php, .js, .html, .css files from a 3rd party lib that interfaces with an extension I develop?

Let's say I want to develop a Magento extension that interfaces to, say, an Open Source charting package or an image gallery or whatever that is NOT part of the extension itself. When downloaded (...
10
votes
2answers
2k views

Can't Login to Admin after Installing Extension

Apologies in advance for the thin details on this one. I sell a Magento extension. With the latest release, I've started getting an odd bug report from a few users. Specifically, after installing ...
10
votes
2answers
458 views

How to identify extensions that “phone home”?

Is there a way to identify code that sends HTTP requests to a remote server in the background? I noticed that when I have spotty reception on my development machine, many shops take a long time to ...
10
votes
1answer
3k views

404 error at the configuration page

Each time I install new extension, and open the admin - system - configuration - module options I get 404 error. Logging out and in helps, but how to avoid this? The issue has something to do with ...
9
votes
5answers
9k views

Unable to install any extension using magento connect manager No Answer?

I have installed a fresh magento 1.9 on my vps running with nginx. My root folder of magento is /var/www/abc.hello.com/datazone/ and also set ownership as www-data as user and www-data as group (www-...
9
votes
2answers
1k views

Where to create custom extensions for Magento2?

Some articles encourage to create custom extensions in app/code and some other encourage to create them under vendor. Are both these two methods fine? What if I want to override a module in vendor? ...
8
votes
7answers
7k views

How to create simple module in magento 2

I'm new to magento2. I want to create simple Hello World module in magento 2. How to create this module?
8
votes
6answers
7k views

Tools to Scan Magento Code for Malicious Content

We have a client who is very concerned with Malicious code being introduced in third party modules, especially modules that are coming from Magento Connect (Or any free module) They would like to use ...
8
votes
1answer
188 views

Best way to replace the die function?

I have the following Magento code : protected function _sendUploadResponse($fileName, $content, $contentType='application/octet-stream') { $response = $this->getResponse(); $response->...
8
votes
1answer
199 views

How to ask to magento team about my extension status?

I have submitted my extension on http://marketplace.magento.com for Magento 1. It's been 31 days in technical review but still not any response from Magento team. It's still in technical review. Is ...
8
votes
1answer
71 views

Extension supported on multiple versions

When creating an extension for commercial use it would be nice if it works on multiple Magento versions, maybe CE and EE also. But sometimes this doesn't work as planned because the core changes from ...
7
votes
4answers
5k views

How can I read my extension's version in Magento 2?

In Magento 1.x I was able to read my module's version like so: (string)Mage::getConfig()->getNode('modules/MyModuleName/version'); I'm unable to figure out how I can do the same in Magento 2.0. ...
7
votes
3answers
3k views

Hidden values in an extension - encode decode data transaction

I found an interesting extension for onepagecheckout. It seems to be free but when I installed the extension I realized that the code is sending and encoding data to developer servers. In theory its ...
7
votes
3answers
1k views

Magento 2 : Which Step Need to Follow For Standard Extension Development

I create magento 2 extenstion. I need to follow standard coding. Which steps need to follow for standard Magento 2 Extension development.
7
votes
1answer
411 views

Use Entity as Attribute of another Entity in Magento

I'm going to follow this tutorial but my question is.. is it possible to use an EAV Entity as attribute of a new EAV Entity? Thanks. EDIT: The tutorial that I originally posted is quite messed up ...
7
votes
1answer
554 views

Licence for paid extension when creating extension

I created an extension that i want to put in magento commerce. I am looking for a licence for paid extension which doesn't give the rights to the buyer to distribute it further (the buyer can use it ...
7
votes
1answer
139 views

Good practice regarding core tables relations with modules tables

This a question regarding Magento development, it can apply for both M1 and M2. For the last weeks, I've been working on several modules that are directly related to native Magento entities/database ...
7
votes
1answer
486 views

Composer and Travis Ci with Magento modules

We have an existing module that contains a composer.json file which is working well on its own but we are also wanting to set-up travis-ci with this extension. When the travis-ci runs it fails with ...
7
votes
0answers
669 views

How to hide a product from a specific customer group? Magento 2

I want to create an extension that will hide a product from a specific customer group.
6
votes
3answers
2k views

Extensions charging more for enterprise?

Why are Magento extension providers charging extra for enterprise versions of their modules? I have a pretty good idea that the codebase for both of the module versions will be identical so where ...
6
votes
3answers
38k views

Creating new attribute using addAttribute() in installation scripts

I'm writing an installation script in an extension that adds some new attributes. I'm using the following. I'm following and old tutorial (http://blog.chapagain.com.np/magento-adding-attribute-from-...
6
votes
2answers
4k views

How to Create Extension Package in Magento 2?

In Magento 1.x we are creating Extension Package from System -> Magento Connect -> Package Extensions. After that we are going to publish the extension in Magento Connect. I think it's an easy to ...
6
votes
5answers
1k views

Load review form on external page

By default the Magento URL for the review form is: www.domain.com/(producturl)-reviews#review-form. But in this page the review-form is a section in the reviews page. I want to load the review-form ...
6
votes
1answer
248 views

Download the magento connect extensions list

I'm currently building a magento connect extensions search: http://magentoconnect.algolia.com/ but I have a hard time downloading the extensions list + associated metadata. I found http://connect....
6
votes
1answer
287 views

What are the footprints a magento module can leave in the magento system?

I installed a module/extension but it does not work well for our needs. I want to completely delete the module with all its footprints. I removed the following: code pool - deleted the folder ...