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
26
votes
23 answers

Can't log in to Magento Admin

I'm having troubles logging into Magento's admin panel on one of our staging sites (it works 100% on our webdev servers and was working just fine not too long ago on the staging server as well). I've done some research, and most people suggest that…
user223731
  • 689
  • 1
  • 7
  • 10
26
votes
2 answers

How to implement custom REST API in magento?

I am trying to create my custom REST api. I have create my own module Custom/Restapi.Custom [Namespace], Restapi[Module name]. In etc folder i have created config.xml and api2.xml. Below is the code-: Config.xml
saurabh chandela
  • 353
  • 4
  • 12
26
votes
5 answers

Checking if a Magento product is a child of a configurable product

I have the following code to grab a list of Products $collection = Mage::getModel('catalog/product')->getCollection(); $collection->addAttributeToSelect('name') ->addAttributeToFilter("category_ids",…
chris.rickard
  • 1,035
  • 1
  • 11
  • 11
26
votes
3 answers

How to get Magento customer ID

Ugh how do I get the customer ID!!? These are all things I've tried! Can you see what I'm doing wrong? //include_once "app/Mage.php"; require_once…
CaitlinHavener
  • 1,408
  • 3
  • 24
  • 53
26
votes
6 answers

Get All simple product from a Configurable Product in Magento Product View

How can I get all the simple products associated with a configurable product? I found how to do the opposite (get a product configurable from a simple product) but that's not what I need. I want to show how many units I have in stock for the…
Denis Spalenza
  • 755
  • 2
  • 11
  • 31
25
votes
5 answers

MAGENTO - Display sub-category products in root category

i havent been able to find the answer for this anywhere but i cant seen to display any of the products on the root categories page from its sub category members. When i click the category from the top navigation i get the sub categories on the left…
Stevanicus
  • 7,561
  • 9
  • 49
  • 70
25
votes
6 answers

How to get sub-categories of a specific parent category?

I had a main category (parent category) whose id = 10. I want to echo just its sub-categories. How can I do that?
atif
  • 1,693
  • 13
  • 38
  • 70
25
votes
4 answers

How to turn on magento error messages?

I have installed Magento Community edition and tried creating my first simple hello world module. After a few hours I finally got it working. My issues were I had used incorrect casing in some of the XML tags. While trying to get it to work I tried…
tony09uk
  • 2,841
  • 9
  • 45
  • 71
25
votes
2 answers

How to solve PHP Extensions “0” must be loaded?

I am trying to install Magento on my server. I did everything, as written in docs. I have following error: PHP Extensions “0” must be loaded It occurs when I try to configure Magento in my browser, on the second page. Do you know how to fix this?
Piotr Krysiak
  • 2,815
  • 3
  • 23
  • 35
25
votes
12 answers

Magento: Detect if admin is logged in in frontend pages

I have created a magento extension. I want to implement access to the extension. The extension creates a page in frontend and i want only admin to access that page. So basically i need something that would detect that if admin is logged in in…
Nirmal Ram
  • 1,722
  • 4
  • 25
  • 45
25
votes
2 answers

Magento getParam v $_GET

Can anyone explain the differences both functionally and in terms of good/bad practice whhy one of these should be preferred over the other: $getParam = Mage::app()->getRequest()->getParam('getparam'); v $getParam = $_GET['getparam'];
Marty Wallace
  • 34,046
  • 53
  • 137
  • 200
24
votes
1 answer

What's the difference between the different Magento session types

I looking for some information about the difference of the different session types available in Magento. There's a core session, a customer session and a checkout session. But I'm not quite sure when to use which one and how they might behave…
Flo
  • 27,355
  • 15
  • 87
  • 125
24
votes
4 answers

How to add new button to order view in Magento admin panel?

How to add custom button to order view page near "Back" and "Edit"?
silex
  • 4,312
  • 4
  • 22
  • 27
24
votes
2 answers

Magento Proper Way To Reindex Single Item and associated Group product

What is the proper way to reindex a single item after modifications have been made to it. Example context: Our company relies on a third party inventory management platform called Stone Edge. We also sell items on multiple storefronts those include…
ajameswolf
  • 1,650
  • 4
  • 21
  • 43
23
votes
2 answers

What does the "update" element do in Magento layout XML?

Right now I'm exploring the internals of the admin section of Magento and I stumbled on this piece of XML: File: app/design/adminhtml/default/default/layout/catalog.xml, around line 55 50
pancake
  • 1,923
  • 2
  • 21
  • 42