Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 766

General questions about Magento 1 not specific to a minor version. You can use it to distinguish from Magento 2, but if you have issues with a specific installation, use the appropriate magento-1.x tag instead.

4 votes
Accepted

SOAP XML under Web Services - Magento 1.5.1.0

Magento 1.5.1.0 does have a SOAP API. The WSDL for the SOAP API v1 can be accessed like this: http://magento-host.dev/api/?wsdl The WSDL for the SOAP API v2 can be accessed like this: http://magento- …
Vinai's user avatar
  • 14.1k
61 votes
Accepted

Modern Magento 1.X Workflow and Development Tools

I agree that the list is subjective, but I suggest the following excellent tools I use every day: PHPStorm IDE Magento 2 or Magicento (Magento 1) IDE Plugin git and github for Version Management com …
Vinai's user avatar
  • 14.1k
3 votes

How to get option label and there value's label from params passed by product page?

It looks like you are talking about individual product options. You can get at the info as follows: $params = Mage::app()->getRequest()->getParams(); /** @var Mage_Catalog_Model_Product $product */ $ …
Vinai's user avatar
  • 14.1k
9 votes
Accepted

Install Magento Base with Composer

Currently it can only be installed using $ composer create-project "kylecannon/magento" -s dev The package of course could be replaced with any other trustworthy Magento package of your choice. O …
Vinai's user avatar
  • 14.1k
3 votes
Accepted

override includes: getModuleDir() or relative path?

First a bit of background. The standard router method Mage_Core_Controller_Varien_Router_Standard::getControllerFileName() also uses Mage::getModuleDir('controllers', $realModule) to build the full pa …
Vinai's user avatar
  • 14.1k
12 votes
Accepted

Reindex single product

This works fine in Magento CE 1.6 and newer: $event = Mage::getSingleton('index/indexer')->logEvent( $product, $product->getResource()->getType(), Mage_Index_Model_Event::TYPE_SAVE, f …
Vinai's user avatar
  • 14.1k
7 votes

Learning Magento Plugin Development

In addition to the @philwinkle's answer, I want to reply to your statement regarding overriding classes using the PHP include path priority. Consider that an emergency solution if there is no other w …
Vinai's user avatar
  • 14.1k
7 votes
Accepted

Module Config File: what are resource connection definitions for

The <[modulename]_write> and <[modulename]_read> db resources are no longer required since Magento 1.4. Configuring them does no harm however, the core/resource class automatically falls back to the d …
Vinai's user avatar
  • 14.1k
27 votes

How do I get a list of all class rewrites?

Here a small one-liner that gives you all active rewrites: print_r(Mage::getConfig()->getNode()->xpath('//global//rewrite')); To limit it by object type, add models, blocks, or helpers to the xpath …
Vinai's user avatar
  • 14.1k
9 votes

When to dispatch events in a custom module?

For Magento 1, good times to throw events are before and after all CRUD operations and before and after rendering. Many of these are already provided by the abstract classes in the core, so in practic …
Vinai's user avatar
  • 14.1k
4 votes
Accepted

Magento 1: proper way to use transaction begin and rollback

I would have to see the code you are using. All DB operations that do not change the structure of tables (so no DDL methods) are allowed in a transaction. All I can offer is the following example o …
Vinai's user avatar
  • 14.1k