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

3 votes
1 answer
5k views

show magento scope switcher in admin grid edit form

I'm working on a module in magento admin where I would like to show the scope selector as in manage products, manage categories, system configuration for my grid edit form. ![screenshot][1] Can anyo …
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 …
6 votes
1 answer
12k views

upload multiple files with Varien_File_Uploader

This question is related to my previous question where I'd created a tab form in admin using a template file. The content of template file is: <div class="entry-edit"> <div class="entry-edit-head …
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 …
4 votes
1 answer
9k views

rewrite url using config.xml

I'd created a module and the url for the same is something like: http://magento.korenpub.com/designer/index/index/id/26/value/Joseph%20B.%20Soloveitchik but I need to rewrite the url to http://mag …
0 votes
1 answer
1k views

join customer custom attribute to order collection

I'd created a custom attribute for customer and in order collection I need to show that attribute. How could I do that? for now I'd got the order collection as $collection = Mage::getModel('sales/or …
0 votes
1 answer
276 views

reorder not setting the shipping method used last time

I want to reorder a product programmatically. For this I'd followed the answer: Magento - Programmatically reorder. But I'm getting error message Please specify a shipping method. Why isn't it s …
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
2 votes
3 answers
4k views

remove all other shipping method if there's a method having shipping amount zero

Could it be possible to remove all the shipping methods except the one having shipping amount 0? There may be a promotion rule which will return the amount 0 for shipping, so it must not be removed. …
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 $ …
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() { …
1 vote
2 answers
7k views

how to get the qty of items invoiced

I'm creating a partial invoice and I'm unable to get the qty invoiced to send it to the payment gateway. The code I'd written in my model for capture() is: if ($order->hasInvoices()) { …
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 …
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 …
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 …

15 30 50 per page