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 questions only not deleted user 4426

Magento Community version 1.8

0 votes
1 answer
324 views

rearrange countries list wherever used

I have a multi store website and I need to change the order of countries based on store. Like for my Israel store, Israel must be at the top, and for US store US must be at the top. Is there any poss …
Mohammad Faisal's user avatar
1 vote
1 answer
1k views

store order id and timestamp on successful checkout in custom table

As the question is self explanatory but for more details I need to store the order id and timestamp of the order creation in a separate table. What my boss asked me to do is to user overriding (for r …
Mohammad Faisal's user avatar
1 vote
1 answer
128 views

overridden controller's layout handler not working

I'd overridden a controller CatalogSearch/ResultController. My config.xml look likes: <?xml version="1.0" encoding="UTF-8"?> <config> <modules> <Excellence_Excatsearch> <versi …
Mohammad Faisal's user avatar
1 vote
2 answers
171 views

select website at registration

I need to add a <select> for the available websites in magento admin at user registration page and associate that customer to the selected website. e.g., if there were 3 websites in magento viz. Main …
Mohammad Faisal's user avatar
2 votes
1 answer
1k views

flow of method call in payment method

I would like to know the flow of calls to various methods in payment method of magento. Like when do authorize(), capture(), refund() etc. gets called? And what could be the possible scenario which ma …
Mohammad Faisal's user avatar
0 votes
2 answers
1k views

get cc_type value

How could I get the value (text, not the code) of cc_type in my payment gateway model? In payment gateway model for authorize() and capture() I do get $payment object from which I do get cc_type as $ …
Mohammad Faisal's user avatar
4 votes
2 answers
6k views

layered navigation for custom product collection on custom page

I'm working on a module where some products have an attribute named designer. and for every designer, all products by him displayed as catalog category view. So far I'm able to filter the products col …
Mohammad Faisal's user avatar
1 vote
2 answers
1k views

why PRODUCT_TYPE_downloadable and PRODUCT_TYPE_bundle tags not present in catalog.xml

I'm just a beginner in magento and I was trying to figure it out that how magento handles the product display for different product types. Then I come to know about the layout system used by magento w …
Mohammad Faisal's user avatar
0 votes
3 answers
4k views

delete uploaded image in custom module

UPDATE I'm updating the question as I solved one of the problem in this question. The original question is below the line. I'm now able to see the preview of the image as the problem was with the b …
Mohammad Faisal's user avatar
0 votes
1 answer
901 views

get configuration scope selector for custom module

I'm working on a module where I need to save the records based on the scope of website and store. For that I need to have the select box as its in the system->configuration. How can I get that select …
Mohammad Faisal's user avatar
0 votes
1 answer
1k views

set values to fields in adminhtml form template

I'd created a template file for admin form tab as: class Excellence_Designer_Block_Adminhtml_Designer_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs { protected function _beforeToHtml() { …
Mohammad Faisal's user avatar
0 votes
1 answer
960 views

get customer id in payment method block for new order in admin

How could I get the customer Id selected in magento admin for new order in my payment method block My payment method block extends to Mage_Payment_Block_Form
Mohammad Faisal's user avatar
0 votes
2 answers
823 views

how to add image instead of label

I'd added a cart link to my magento site as: <action method="addLink" translate="label title" module="checkout"> <label>Cart</label> <url helper="checkout/url/getCartUrl"/> <title>Cart</t …
Mohammad Faisal's user avatar
2 votes
2 answers
2k views

conditionally change layout template for catalogsearch

What I need to do is, if a person search for a product then if products found the layout need to be page/2columns-left.phtml with layered navigation but if there were no results then its layout should …
Mohammad Faisal's user avatar
1 vote
1 answer
2k views

append multiple child blocks from controller

I'm trying to append more than one block from controller. The code I've written is $this->loadLayout(); $layout = $this->getLayout(); $layout->getBlock('root')->s …
Mohammad Faisal's user avatar

15 30 50 per page