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
28
votes
2 answers

Getting a list of magento stores

How can I get a list of store groups under a website in Magento and then a list of stores from that store group?
Blazo
  • 697
  • 3
  • 9
  • 15
28
votes
8 answers

A faster route to deploying static content in Magento 2? Dev to Live etc?

This is my environment. Please note this is also set in the relevant development modes and production modes. Dev: https://ar.dev.loc/ https://en.dev.loc/ Live: https://ar.site.com/ https://en.site.com/ I am using a multi store setup with Arabic…
TheBlackBenzKid
  • 26,324
  • 41
  • 139
  • 209
28
votes
2 answers

Magento Bundle Product Customer Group Price

I have a problem related to Bundle Product in Magento. I am currently working on v1.9 which has a feature called user group price. It enable us to allow different groups of customers to get different prices. For simple product the Group Price is…
user3106759
  • 438
  • 3
  • 15
28
votes
2 answers

Magento-when to use Mage::getResourceModel and Mage::getModel

I just started to use Magento, and in particular on how models and the ORM work. I have used these three methods Mage::getResourceModel() Mage::getModel() Mage::getSingleton() Can anyone tell me what the difference is between each of them? I have…
user3177068
  • 557
  • 2
  • 5
  • 13
27
votes
2 answers

Magento remove css or js from specific view

Hi i added this to catalog.xml layout definition: css/local.css and this to inside the same file:
zsitro
  • 1,812
  • 3
  • 24
  • 34
27
votes
2 answers

Magento died after compilation: how to disable using compiled files without admin panel access?

Tried to compile Magento 1.6 here: Magento admin panel, System, Tools, Compilation It compiled and then I enabled it. After that, site died. Here's the stack (but that's not important) Warning: include_once(Mage_Core_functions.php)…
Dmitry
  • 3,861
  • 5
  • 20
  • 21
27
votes
5 answers

addAttributeToFilter and OR condition in Magento's Collection

I'd like to select products depending on several criteria from different attribute. I know how to user $collection->addAttributeToFilter('someattribute', array('like' => '%')); But I'd like to use several attribute for OR…
ÉricP
  • 843
  • 4
  • 12
  • 17
27
votes
1 answer

Why magento does not provide Guide or Manual for developers?

Does anyone know why magento does not provide any manual or developer guide? All most every framework and CMS provides an official development manual but in the case of magento I did not find any official manual which surprised me. Learning magento…
Shakti Singh
  • 84,385
  • 21
  • 134
  • 153
27
votes
4 answers

Using Magento Methods to write Insert Queries with care for SQL Injection

I am using the Magento's functionality to insert & update queries. My requirement is that I want to take care of SQL Injection, when doing these types of queries. But I'm unable to find how Magento does this. I'm providing one start sample. Please…
Knowledge Craving
  • 7,955
  • 13
  • 49
  • 92
27
votes
8 answers

Add existing image files in Dropzone

I am using Dropzonejs to add image upload functionality in a Form, as I have various other fields in form so I have set autoProcessQueue to false and Processing it on click on Submit button of Form as shown below. Dropzone.options.portfolioForm = {…
lalit
  • 3,283
  • 2
  • 19
  • 26
26
votes
10 answers

Uncaught SoapFault exception: [HTTP] Error Fetching http headers

I'm trying to create a soap connection to Magento's web services, however I'm getting an error when I try and create an instance of the soap client class. I can view the wsdl file in firefox without problems and I can watch php make the request for…
Remy
  • 1,414
  • 4
  • 20
  • 29
26
votes
4 answers

Faceted Search (solr) vs Good old filtering via PHP?

I am planning on setting up a filter system (refine your search) in my ecommerce stores. You can see an example here: http://www.bettymills.com/shop/product/find/Air+and+HVAC+Filters Platforms such as PrestaShop, OpenCart and Magento have what's…
Adil
  • 3,183
  • 5
  • 28
  • 30
26
votes
10 answers

Magento "Front controller reached 100 router match iterations" error

My site is going down once or twice a day when it starts throwing the exception "Front controller reached 100 router match iterations". Once this happens access to the admin and frontend is gone. I am just left with an error page. This started after…
Christian
  • 1,272
  • 3
  • 13
  • 15
26
votes
3 answers

Set session time out limit for magento frontend

I am trying to set session time out limit to 30 minutes in magento but it is not expiring in 30 minutes. I went to System->Configuration->Web->Session Cookie management and set 1800 value for the field Cookie Life time but still it is not expiring…
Shakti Singh
  • 84,385
  • 21
  • 134
  • 153
26
votes
5 answers

Magento 2 - 'Area code not set:' after adding sample data

So i've gotten magento 2 working all running fine, I've even started on my own theme, but i've tried to install the sample data after I've installed magento. And it has returned 'Area code not set:' in terminal, below is a little run through of my…
andy jones
  • 904
  • 1
  • 12
  • 37