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 answers only not deleted user 3535

Magento Community version 1.8

0 votes

(display me) all the event names which are fired by the magento when any event or events occurs

There is no clean method to do this (in my knowledge). However you can log all of of event names that get called during a page request. For this put this single code snippet inside Mage::dispatchEvent …
TheKitMurkit's user avatar
0 votes

Magento unable to access block class function from another phtml

This is what your _postCollection() method. protected function _getPostCollection() { $artical_type = Mage::app()->getRequest()->getParam('article_type'); if (is_null($this->_postCollection) && $ …
Rajeev K Tomy's user avatar
4 votes
Accepted

how to use '$this' outside of magento directory scope

Use Mage::helper('catalog/image') instead of $this->helper('catalog/image') Additional points In order to work this, you need to make sure app/Mage.php is included in your custom php file. You …
Teja Bhagavan Kollepara's user avatar
2 votes
Accepted

Add template block into another template

So your template file holds <html /> <head /> <body /> tags in it. It will be a bad design, because magento loads all these things through page.xml layout file. If you want to see those codes. For s …
Teja Bhagavan Kollepara's user avatar
1 vote

how to hide bundled products from recently viewed products list

This is the code that we can use to check whether the product is bundle or not if ($_product->getTypeId() == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE) { echo 'Bundled'; } So you need to …
Teja Bhagavan Kollepara's user avatar
0 votes

Allow customers to print and order immediately after checkout

See this excerpt from success.phtml file, which is the key template file in order success page. <?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?> <p> <?php echo $this-> …
Rajeev K Tomy's user avatar
3 votes
Accepted

How does a package is appeared in `firegento` without a `composer.json` in its github reposi...

I have used following code in my composer.json and it worked for me { "require": { "magento-hackathon/magento-composer-installer": "dev-master", "magento/debug":"dev-master" } …
Chirag Prajapati's user avatar
1 vote

How can i exclude products from reorder function?

I can think of two solutions in this case. Solution-1 : Rewrite Mage_Sales_OrderController You need to define reorderAction as shown beow in your rewrite controller file. public function reorderAction …
Community's user avatar
  • 1
1 vote

Magento quick search results displaying all on one page

Take a look on catalog.xml file in the location app/design/frontend/base/default/layout/catalog.xml. The handles that you need to study are catalog_category_default and catalog_category_layered. The f …
Siarhey Uchukhlebau's user avatar
3 votes
Accepted

Saving a product

Later is just a wrapper. Magento uses a resource to do database operation. so when you perform $product->save(), it will call $product->getResource()->save($product) to perform save action. But my r …
Rajeev K Tomy's user avatar
1 vote

How to edit an address from the address book of the customer using the address id?

I think you are setting an invalid customer id on customer address entity and hence you are getting this error. Please try below code, which is an alternative solution in this context. $customer = Ma …
Community's user avatar
  • 1
2 votes

allow only numbers in textfield

You need to ensure following things in this case Make sure js/prototype/validation.js is loading in your form page. You need to trigger email validation through a script like this. <script type="te …
Rajeev K Tomy's user avatar
0 votes

extends Mage_Catalog_Block_Product

Your question seems bit unclear for me. However check below points. Your module should be depend upon Mage_Catalog module. You can do this via activation file of your module. File : app\etc\modules …
Rajeev K Tomy's user avatar
0 votes
Accepted

Magento - Upgrade extension folder structure for version 1.9+ (1.7 - 1.9)

I want to emphasise that you are wrong with the assessment of default location of magento extensions or modules. The default location for frontend is base/default and for admin, default location is …
Rajeev K Tomy's user avatar
3 votes

How can I create custom store url in Magento

This option is already available in Magento. You can add store codes in url by turn on System > Config > Web > Add Store Code to URLs to Yes from backend.
Rajeev K Tomy's user avatar

15 30 50 per page