Questions tagged [magento]

Magento is an e-commerce platform written in PHP. Use this tag for questions about writing code for Magento v1.x. General Magento questions (like administration) may be asked on https://magento.stackexchange.com instead.

Questions not related to programming are off-topic on Stack Overflow. General Magento questions may be asked on Magento.SE, a site dedicated to Magento questions

Magento is an e-commerce platform written in atop the , available under both open-source and commercial licenses. It is written in an advanced object-oriented idiom that uses the pattern and configuration files, aiming for flexibility and extensibility. It is owned and maintained by Adobe.

Magento is aimed at merchants who need an online presence, but who find that a completely bespoke storefront does not suit their needs, budget, or scale. Magento's features include baked-in support of multiple languages and currencies, search engine optimization techniques, and automated email marketing. Basic Magento configuration and administration can be performed by end-users with minimal technical background, and the third-party ecosystem around Magento offers extensive customization of appearance and functionality for storefronts. Magento offers a developer certification program to help store owners find partners in the Magento ecosystem, and to help developers consolidate their grasp of Magento internals.

A central feature of Magento is the templating and extension system, based on OOP inheritance and composition principles and largely configured by XML files, it provides a plugin API, it allows developers to modify almost any feature of Magento by working with the abstraction layers provided by the framework. Several subsystems (Layout and DataFlow) employ meta-programming facilities via XML, and the MVC pattern is supported by factory methods for instantiation of helper classes (Models, Helpers, and Blocks).

Magento is a heavily abstracted software system. Most of Magento's code, and nearly all third-party code, is organized into modules, and the functionality of modules is programmatically exposed. Modules can be enabled or disabled individually, easing integration into existing stores. Magento's persistent storage is usually MySQL, and its data about a store's products are based on the Entity-Attribute-Value model.

Editions

There are two distinct platforms: Magento Open Source and Magento Commerce.

1. Magento Open Source (previously Magento Community Edition) - Free open source code; pay for services and add-ons. Developers and merchants with generally under $50M in online sales and fewer than 50,000 unique visitors per month. Magento offers no technical support, warranties or indemnification.

2. Magento Commerce - available in an On-Premises version or as a platform as a service.

  1. Magento Commerce (On-Premises) (previously Magento Enterprise Edition) – This is also a Commercial edition. Annual fees start at $15,550 with a premium version starting at $49,990 annually. It is recommended for mid to large size businesses with revenue in excess of $15M in online sales and over 25,000 unique visitors per month. Magento provides full support, warranty and indemnification. It also has the added benefit of having code-level access.

  2. Adobe Commerce Cloud (platform as a service)

There were also two former platforms, Magento Professional Edition and Magento Go.

Links

Great questions

Most common problems for the Magento beginner

More information


Related tags

Magento 2:

Magento 1:


37819 questions
38
votes
11 answers

Magento: previewing/testing transactional emails with actual data, without actually sending them?

I'm editing some phtml files which are included in transactional emails in Magento, but in order to test the changes, I have to actually send the emails. In the case of (e.g.) the order confirmation email this means I have to place an order each…
WackGet
  • 2,667
  • 3
  • 36
  • 50
37
votes
4 answers

Adding attributes to customer entity

my current goal is to add a new customer attribute (with int type) which should appear as select with predefined options (loaded from a model with entries editable in backend, which is done). I'm struggling with proper use of…
Zifius
  • 1,650
  • 1
  • 16
  • 27
37
votes
5 answers

Adding values to a magento dropdown or multi-select product attribute while adding a new product

I'm wondering if anyone has found or written an extension that would allow a magento website administrator the ability to add values to their products attribute while adding the product. For example, if I sell books and want the book author to be…
Jeremy
  • 1,908
  • 3
  • 25
  • 38
37
votes
11 answers

There has been an error processing your request, Error log record number

I installed Magento, logged in admin panel. But if I press on any link to open let say CMS pages or users configuration, I get error like this: There has been an error processing your request Exception printing is disabled by default for…
Andrius
  • 19,658
  • 37
  • 143
  • 243
36
votes
4 answers

How do I include a dynamic block in the product page with full page caching turned on?

We would like to add a dynamic block to the product page. The problem is that the product page has full page caching (and we cannot turn that off due to speed issues). We want to display different information on each product page based on the…
novak
  • 361
  • 1
  • 4
  • 3
36
votes
3 answers

Magento system.xml and 404 error when trying to access the configuration panel

I'm trying to implement some configuration settings for my custom module. I've managed to add a tab and a section in the left navigation bar. But when I want to open a section I get a 404 error page without any further information. So far, I've…
ghostrifle
  • 1,029
  • 1
  • 14
  • 24
36
votes
6 answers

How do I get categories for a product in Magento

I'm trying to add product_type to my Magento Google Base output based on the product's categories, but I seem to be unable to. I have the following code: // Get categories from product to include as product_type $categoryIds =…
Joost de Valk
36
votes
12 answers

What Tools and Extensions are Critical for Magento Development?

We're building a nice little community of Magento experts here. I'm curious what Magento extensions and other software tools (IDEs, editors, etc.) everyone is using to help with their development projects? Both free and commercial tools are more…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
36
votes
15 answers

Magento admin login not working in chrome but works fine for firefox

I am just a newbie to the magento. I have installed magento on my localhost. After all the setup when I used the admin page to login I can't able to login in chrome browser even with my right username and password. But when I am trying to login in…
user678978
35
votes
1 answer

Magento: Get store contact telephone

Seems like it should be simple, but cant find a solution anywhere. I need to output the Store Contact Telephone number, which is in Store Informtion in the admin. I need to output it in template files and CMS pages, what would the code be for…
Michael O'Loughlin
  • 567
  • 2
  • 6
  • 18
35
votes
10 answers

how can I delete test order from magento

I have made a website in magento. Now it is live and I want to delete the all test order. I know there are some table in all these order are stored. but I don't know the name of those table. If some body has any script which can delete the all the…
mjdevloper
  • 1,553
  • 8
  • 33
  • 69
34
votes
8 answers

Magento Design Patterns

Magento, IMHO, represents a PHP system that is built on well thought-out coding principles - reuseable design patterns being one of them. In terms of an example of a PHP system, I think it can be considered pretty cutting edge and therefore worth…
JonB
  • 1,320
  • 2
  • 15
  • 30
33
votes
6 answers

How are product attributes and attribute options stored in Magento database?

I am trying to figure out how the linkage between attribute and attribute options, and product and attributes are made in Magento. Is there any reference to how this is working? or anyone give me a hint on this. Thanks, Balan
balanv
  • 10,686
  • 27
  • 91
  • 137
33
votes
5 answers

Best practices for Magento Deployment

I am looking setting up a deployment process for a highly customized Magento site, and was wondering how other people do this. I will be setting up dev, UAT and prod environments. All the Magento files will be in source control (SVN). At this…
Spongeboy
  • 2,232
  • 3
  • 28
  • 37
32
votes
2 answers

Determine if Magento module is enabled

What is the best way to determine if a particular module is enabled/active in Magento? I've tried using class_exists to check if my code has been loaded and parsed by PHP but lately I've noticed its pretty unreliable (returns true even when I…
Colin O'Dell
  • 8,386
  • 8
  • 38
  • 75