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
21
votes
10 answers

How do I transfer a local Magento install onto my live server?

Uploading a Magento install I have spent a long time building a store with Magento on my local development PC. Now that I am happy with the result, I would like to upload it to my live production server. What steps must I complete to ensure this…
Jon Winstanley
  • 23,010
  • 22
  • 73
  • 116
21
votes
4 answers

Why Does Magento Invalidation of Full Page Caching on Product save actually make a page not cached and what does refresh do since it is not cached

So Caching of course is what confuses me the most in Magento, as it does for most others I am sure. Currently one of the sites we work on is on Enterprise and utilizes FPC of course. The problem is, we have an inventory update that runs every 15…
dan.codes
  • 3,523
  • 9
  • 45
  • 59
20
votes
5 answers

Magento admin css missing due to using file system path

I was unable to install a module using Magento Connect, getting a Connection Error try again later error. Following the instructions of the module developer I attempted to fix permissions in the document root with: find . -type f -exec chmod 644 {}…
reflexiv
  • 1,693
  • 1
  • 21
  • 24
20
votes
4 answers

Get Attribute model by attribute_code in Magento

How could I get Attribute model (from: eav_attribute table) by attribute_code in Magento? Notice: - I don't care what is entity_type. Thank you so much.
vietean
  • 2,975
  • 9
  • 40
  • 65
20
votes
1 answer

Magento - multiple classes extending same core class

I'm sure we've all run into a situation where you have multiple extensions with a block or model that rewrites the same core block/model. The problem I've run into is this: How do you control the order in which Magento sees these classes? For…
Mageician
  • 2,918
  • 9
  • 43
  • 69
20
votes
8 answers

Unable to connect to Magento SOAP API v2 due to "failed to load external entity"

I am unable to connect to the Magento SOAP API v2 using PHP. The error that occurs is: PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.example.com/index.php/api/v2_soap/index/wsdl/1/' :…
user228395
  • 1,156
  • 1
  • 11
  • 25
20
votes
3 answers

Magento - How to allow certain tags (iframe, embed) in Magento's CMS editor?

I would like to allow to enter certain html tags such as iframe and embed in Magento's CMS editor. Magento does not allow those tags. Is there a model or controller that I can edit to allow iframe and embed tags?
Moon
  • 22,195
  • 68
  • 188
  • 269
20
votes
5 answers

Get a list of attribute options from Magento

I've been grabbing attribute options from Magento like so: usesSource()) { $options = $attribute->getSource()->getAllOptions(false); } ?> It's been working fine until I tried to get the options for the built in 'color'…
Chris Forrette
  • 3,194
  • 2
  • 28
  • 37
20
votes
6 answers

Magento 2 - Event dispatched when a user clicks "Go To Checkout"

What is the name of the event that is dispatched when a customer clicks "Go To Checkout" after adding stuff on their cart? I want to register that a user started a checkout process for analytics. Specifically, I need to capture the contents of the…
satnam
  • 1,457
  • 4
  • 23
  • 43
20
votes
4 answers

Can I check for HTTPS in Magento PHTML files?

I am installing Clicky code on a Magento website. I would like to use their HTTPS tracker only on HTTPS enabled pages of Magento. How can I do this? I tried but that doesn't work. Any suggestions on…
Kathir Sid Vel
  • 858
  • 1
  • 8
  • 16
20
votes
1 answer

Magento - Difference between url_path and url_key

Pretty much everything is in the title of my question. What is the difference between the columns url_path and url_key in the flat products tables - like catalog_product_flat_(store_id) - of Magento ? Thanks !
Laila
  • 1,421
  • 3
  • 13
  • 27
20
votes
6 answers

PayPal gateway has rejected request. Security header is not valid (#10002: Security error Magento

up the pay-pal advance in magento . I have fill all the credentials in magento admin . BUt when i go to frontend and click pay-pal button it gives PayPal gateway has rejected request. Security header is not valid (#10002: Security error i have…
Rohit Goel
  • 3,396
  • 8
  • 56
  • 107
20
votes
8 answers

Class 'Mage_Googlecheckout_Helper_Data' not found

We've just upgraded from Magento version 1.8.0.0 to 1.8.1.0 and now when we go to the configuration section of our site we receive the message: Fatal error: Class 'Mage_Googlecheckout_Helper_Data' not found in…
Matthew Ogborne
  • 544
  • 2
  • 6
  • 20
20
votes
1 answer

Are unconverted quote records ever removed in Magento?

tl;dr: There appears to be no other out-of-box mechanism for deleting quote records which were never converted to orders. The Mage_Sales module has a scheduled job to clean expired quotes, but this only deletes sales_flat_quote records which are…
benmarks
  • 23,384
  • 1
  • 62
  • 84
20
votes
7 answers

Magento URLs other than home page do not work without index.php

My magento is installed on Ubuntu Linux under /var/www/magento . This question looks like some of the questions in the archives but is acutally somewhat different. When I installed Magento on Ubuntu Linux I enabled Apache mod_rewrite URL…
user1527429
  • 727
  • 5
  • 10
  • 17