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
5
votes
1 answer

Magento. Add gender and Date of birthday to registration form

I want to put 2 fields on user registration form, /customer/account/create/. Those fields are gender selection and day of birth. As I saw magento's customer module already has those 2 attributes, so If I don't mistake, I don't need to mess up with…
Jevgeni Smirnov
  • 3,787
  • 5
  • 33
  • 50
5
votes
3 answers

Programmatically send email when shipping tracking number is set

I am looking for a way to programmatically send an email to the user when a tracking number is assigned to an order. I need to be able to do this programmatically because I am using an outside source to populate the tracking information. I guess…
Jen
  • 111
  • 1
  • 2
  • 9
5
votes
3 answers

Magento Sales Order Grid shows incorrect number of records when added Names and Skus columns

I'm working with Magento version 1.4 and I added extra grid columns (names and skus) to Sales Order Grid, the returned data is correct but I'm having problems with pagination and total number of records, my code as follow: First I Edited…
Aboodred1
  • 1,353
  • 1
  • 10
  • 22
5
votes
3 answers

How to get the id number of an attribute value on Magento list product page?

I'm looking for a snippet to display attribute value id of a product on a products list page, I already use this piece of code to display attributes values but I need to get their ID number: $attributeValue =…
27nov
  • 71
  • 1
  • 5
5
votes
3 answers

Hit counter in magento

How do I count the number of views(Hits) in magento? Are there any built in methods available in magento? EDIT from the comment: I need total views for the entire site. I got the online users count from this code: $visitor_count =…
Gopesh
  • 3,882
  • 11
  • 37
  • 52
5
votes
5 answers

How to resize the categories images in Magento?

How to resize the categories images in Magento? I used the following code to resize product images, but I'm not able to use it for showing categories images: $this->helper('catalog/image')->init($_product, 'small_image')->resize(170);
balanv
  • 10,686
  • 27
  • 91
  • 137
5
votes
4 answers

Clear Magento cache

I am using Magento ver1.6.1. I need to clear Magento cache programmatically. Mage::app()->getCache()->clean() I used the above code but it didn't clear the cache.
Sankar Subburaj
  • 4,992
  • 12
  • 48
  • 79
5
votes
2 answers

Find root category of store

I am using Magento ver1.6.1. I need to get the root category of a store. I search in google by didn't get any good idea/code. Let me know how to get the root category of a store? Mage::app()->getStore()->getRootCategoryId() The above code gives the…
Sankar Subburaj
  • 4,992
  • 12
  • 48
  • 79
5
votes
3 answers

How do I get CustomerName from an Order?

I had added a custom option Complete in action dropdown(sales->orders). It's working fine and order status changes to complete successfully. I am integrating all orders with Salesforce. I have need of all of order details by orderid. Item details…
sanjay kumar
  • 69
  • 1
  • 2
  • 9
5
votes
2 answers

Does Magento support downgrade / rollback scripts for modules?

I noticed in the Magento Certified Developer Study Guide, under the Database section one of the items mentioned is "Write downgrade (rollback) scripts". I've done some searching to see whether downgrade scripts are supported and it seems they are…
kalenjordan
  • 2,446
  • 1
  • 24
  • 38
5
votes
2 answers

Magento, getSubtotal and getGrandTotal always return zero

I have a weird problem. I have developed a module which adds a line to totals according to some value in database. But in my module model (which is inherited from Mage_Sales_Model_Quote_Address_Total_Abstract) when I…
UnfoX
  • 135
  • 1
  • 12
5
votes
6 answers

Magento Reports - Products - Products Ordered issue: Item (Mage_Catalog_Model_Product) with the same id already exist

The issue: In Magento admin panel, when generating report via Reports - Products - Products Ordered, an error occurs: Item (Mage_Catalog_Model_Product) with the same id "45" already exist #0…
Konstantin.Z
  • 61
  • 1
  • 1
  • 6
5
votes
2 answers

Magento API error: Invalid data given. Details in error message. - Where is this "error message"?

I was trying to create a new product but some weird problem happened and it simply gave me this error: Invalid data given. Details in error message. Which was generated by $e -> getMessage() from this snippet: try { $result = $proxy ->…
datasn.io
  • 12,564
  • 28
  • 113
  • 154
5
votes
1 answer

htmlspecialchars ampersand

__('Details & Documents') ?>

The above prints out as: Details & Documents What is the proper syntax so that it prints as: Details & Documents? Thanks
vulgarbulgar
  • 845
  • 1
  • 13
  • 28
5
votes
1 answer

Enable WYSIWYG editor for Magento custom attribute?

How can I enable the WYSIWYG editor for a custom attribute (not dissimilar to short description and description) in Magento (CE 1.6.1.0)? I've found documentation showing that it should be in between the 'position' and 'allow HTML tags on frontend'…
Anonymous
  • 6,181
  • 7
  • 45
  • 72
1 2 3
99
100