Skip to main content

Questions tagged [extensions]

Denotes a question about developing and integrating extensions

Filter by
Sorted by
Tagged with
148 votes
5 answers
12k 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 ...
Marius's user avatar
  • 198k
81 votes
4 answers
30k 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 ...
Ben Lessani's user avatar
  • 17.6k
71 votes
5 answers
18k 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-...
Aad Mathijssen's user avatar
43 votes
5 answers
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> ...
Aaron Pollock's user avatar
43 votes
1 answer
7k 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 ...
thebluefox's user avatar
42 votes
8 answers
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 ...
Roger Herbert's user avatar
32 votes
4 answers
4k 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 ...
Jaimin Sutariya's user avatar
30 votes
5 answers
8k 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 ...
JasonDavis's user avatar
  • 1,073
28 votes
3 answers
5k 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.
piyush_systematix's user avatar
27 votes
4 answers
33k 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 ...
JohnyFree's user avatar
  • 1,539
26 votes
3 answers
11k 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 ...
Raphael at Digital Pianism's user avatar
24 votes
3 answers
48k 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 ...
Silverfernz's user avatar
23 votes
5 answers
9k 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 ...
Fabian Schmengler's user avatar
23 votes
2 answers
8k 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
Deepak Mallah's user avatar
19 votes
2 answers
394 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 ...
Tim Hallman's user avatar
  • 1,211
16 votes
2 answers
9k 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 ...
webnoob's user avatar
  • 987
16 votes
2 answers
9k 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 ...
Sander Mangel's user avatar
16 votes
3 answers
3k 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 ...
Trimantra Software Solution's user avatar
15 votes
4 answers
3k 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. ...
Matthéo Geoffray's user avatar
14 votes
4 answers
3k 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 ...
Raphael at Digital Pianism's user avatar
14 votes
3 answers
2k 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 ...
Raphael at Digital Pianism's user avatar
13 votes
3 answers
10k 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 ...
rokkor's user avatar
  • 231
12 votes
2 answers
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,...
Fabian Schmengler's user avatar
12 votes
3 answers
6k 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 ?
MrTo-Kane's user avatar
  • 3,664
11 votes
1 answer
295 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. ...
Jonathan Day's user avatar
10 votes
5 answers
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 (...
fris's user avatar
  • 894
10 votes
2 answers
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 ...
Alana Storm's user avatar
  • 44.4k
10 votes
2 answers
497 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 ...
Louis B.'s user avatar
  • 1,122
10 votes
1 answer
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 ...
Amasty's user avatar
  • 6,508
10 votes
1 answer
3k views

Magento2 : How to hide a Product from a specific Customer Group?

I want to create an extension that will hide a product from a specific customer group.
Totot memeng's user avatar
  • 1,255
9 votes
6 answers
2k views

Magento 2: Changing Price of Product in Controller doesn't work at the moment!

I tried to change the Price of my Products like this: Controller.php: [EDIT] <?php namespace MassiveArt\ShoppingCart\Controller\Index; use Magento\Catalog\Model\ProductFactory; use ...
Felix Schönherr's user avatar
9 votes
5 answers
10k 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-...
Beginner's user avatar
9 votes
6 answers
10k 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 ...
brentwpeterson's user avatar
9 votes
2 answers
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? ...
Sukeshini's user avatar
  • 9,955
9 votes
1 answer
701 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 ...
user1619177's user avatar
8 votes
5 answers
16k 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. ...
Mridang Agarwalla's user avatar
8 votes
10 answers
9k 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?
Saravanan DS's user avatar
  • 1,126
8 votes
1 answer
228 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 ...
Niraj Patel's user avatar
8 votes
1 answer
93 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 ...
Marius's user avatar
  • 198k
8 votes
1 answer
1k views

Override tax rate on programmatically created order

I'm building an extension which imports orders created on a third-party system into Magento. The third-party system should be the single source of truth for the order's prices, tax rate, tax paid, etc....
Angus Fretwell's user avatar
7 votes
4 answers
17k views

How to reinstall magento 2 extension properly?

When using M1 i could reinstall the extension (launch setup/upgrade) just deleting the extension recording from the core_resource table. During the second magento address (or after cache refreshing) ...
Siarhey Uchukhlebau's user avatar
7 votes
3 answers
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 ...
s_h's user avatar
  • 989
7 votes
2 answers
6k 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 ...
Bojjaiah's user avatar
  • 3,762
7 votes
1 answer
447 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 ...
VDD's user avatar
  • 415
7 votes
1 answer
826 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->...
Robert's user avatar
  • 2,176
7 votes
1 answer
219 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 ...
Raphael at Digital Pianism's user avatar
7 votes
1 answer
500 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 ...
David Manners's user avatar
7 votes
2 answers
1k views

Cron error extension - Magento2

I have an error while trying to install Magento extension. The Error: Error from Setup Application Cron Script: Cron job has not been configured yet Other checks will fail as a result (PHP ...
user48824's user avatar
  • 141
6 votes
3 answers
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 ...
Marty Wallace's user avatar
6 votes
3 answers
40k 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-...
laketuna's user avatar
  • 6,850

1
2 3 4 5
30