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
22
votes
4 answers

Magento: How to tell if you're on a category page, or product page in .phtml file(s)

I am trying to program into my .phtml files an if statement if the guest is on a category list page, or on a product page. For example this code: getFrontController()->getRequest()->getRouteName(); ?> Returns "catalog" whenever…
Jeff
  • 223
  • 1
  • 2
  • 4
22
votes
6 answers

Magento Store - Get Base URL in Static Block

I have a static block in Magento with this content:
  • Contact Us
  • I would like to replace the # with the site's base url. I want it to retrieve this dynamically.
    a1anm
    • 1,617
    • 11
    • 45
    • 78
    22
    votes
    5 answers

    Magento: Get a custom attribute value without loading the entire product

    At the moment I use this to get a custom attribute value: $_item = $this->getProduct()->getId(); $_product = $_product = Mage::getModel('catalog/product')->load($_item); $optionvalue = $_product->getCustomAttributeValue(); echo $optionvalue; I…
    RaduS
    • 2,465
    • 9
    • 44
    • 65
    22
    votes
    15 answers

    after installing magento in my local machine I forgot admin password

    after installing magento in my local machine I forgot admin password what I have given. I am not able to login to my admin area how can I reset the password I have read this article http://www.atwix.com/magento/reset-admin-password-mysql/ but it is…
    Yavana
    • 411
    • 1
    • 4
    • 11
    22
    votes
    2 answers

    Magento - remove block using update XML

    How do I use a layout xml file to remove an already existing block? Specifically, I want to remove the block named "currency" from the block named "top.switches". It is being inserted in the directory.xml file, like this:
    Benubird
    • 18,551
    • 27
    • 90
    • 141
    22
    votes
    1 answer

    wamp tmp folder takes some GB of space while running magento in localhost

    wamp tmp folder takes some GB's of space while running magento in localhost ,like this some files are created in Wamp/tmp folder, while i using magento cachegrind.out.1367384833 cachegrind.out.1367384834 cachegrind.out.1367384835 file contain code…
    balaji
    • 291
    • 1
    • 4
    • 13
    22
    votes
    5 answers

    How to allow multiple product selection in Magento widget configuration?

    I am trying to implement embedded widget. Administrators will be able to configure this widget and embed it inside WYSIWYG editor. Two of the many configuration options are list of products that should show up on frontend and list of categories. I…
    Aleksandar Janković
    • 821
    • 1
    • 10
    • 18
    22
    votes
    3 answers

    Magento How To Show Full Error Message Instead of Truncated One

    Anyone know how do you make Magento show the full error message and not truncate it with ... example: Warning: include() [function.include]: Filename cannot be empty in /home/kevinmag/public_html/app/code/core/Mage/Core/Block/Template.php on line…
    Kevin Chavez
    • 445
    • 1
    • 4
    • 16
    22
    votes
    1 answer

    Using Magento as the main, and creating a single sign on to integrate with other third party software

    This has been something I have been trying to work on for a good long time. It first started with Prestashop as an integration with other scripts or pieces of the puzzle I needed to make for an overall website. I am currently still using Prestashop…
    21
    votes
    2 answers

    Decrypt/use config values stored as config_backend_encrypted in magento

    I'm working on a shipping module. In system.xml I set some fields to be backend_encrypted. Here is the node: obscure
    Ovidiu
    • 2,921
    • 5
    • 28
    • 36
    21
    votes
    2 answers

    how to add a 3rd party library to magento?

    The library doesn't need to integrate with magento, it's mostly a wrapper that communicates with an API. I would like to be able to use this library and make these API calls from within a controller or model. Where can I put the library? How do I…
    john
    • 33,520
    • 12
    • 45
    • 62
    21
    votes
    2 answers

    What is the difference between remove and unsetChild methods in layout?

    What is the difference between remove and unsetChild methods in layout? For example (in poll.xml layout file): catalog_compare_sidebar
    Snowcore
    • 996
    • 2
    • 9
    • 20
    21
    votes
    5 answers

    How would test cron with Magento?

    First I need to understand how Magento cron works. I know how cron works on linux, using crontab -e. I know I need to set up Magento's cron.php to run periodically But when I define cron within magento config file, how does they match that they…
    ÉricP
    • 843
    • 4
    • 12
    • 17
    21
    votes
    12 answers

    Installing magento plugins without using Magento Connect

    I have a plugin which my client has bought. Its a zip file. How can I install the plugin without using the Magento connect?
    mark rammmy
    • 1,478
    • 5
    • 27
    • 61
    21
    votes
    4 answers

    Magento Email Template If Statements

    The Magento Email Template If Statements aren't evaluating to true when I expect them to. Can someone tell me what's wrong? Take a look at the following code: {{var customer.group_id}} {{if customer.group_id}}Print true{{else}}Print…
    John
    • 32,403
    • 80
    • 251
    • 422