Author Archive: admin
Magento Adminhtml – Setting a Custom massAction Index to Your Grid
If you ever run into a situation where you need to set a massAction column to use a value other than the grid’s index value, all it takes is two lines In your _prepareMassAction() function. // setting the mass action value to our specified column value $this->setMassactionIdFieldOnlyIndexValue(true); $this->setMassactionIdField(’product_id’); // column index The complete function in […]
Magento change order invoice status at your whim
This was a huge problem for our customer service team and ultimately it’s a simple fix. Although you need to be careful depending on how your card processing is setup, etc. In Magento 1.6.2.0+ On line 34 change: <?php foreach ($this->getStatuses() as $_code=>$_label): ?> To: <?php foreach (Mage::getSingleton(’sales/order_config’)->getStatuses() as $_code=>$_label): ?> Shamelessly reposted from here […]
Magento Paypal Payflow Pro not being able to refund line items
If you are using Magento 1.7 and Paypal’s Payflow Pro you might have noticed that it does not let you refund line items on orders like you can do with other processors. Each processor class in Magento has a list of variables that define what it can and can’t do. For some reason Payflow Pro […]
FancySelect jQuery pseudo select list
Styling select lists can be a pain and they never quite turn out the way you would like. I’ll go back later and make this easier to download and use. The css could probably be shortened up a bit too. (function( $ ) { $.fn.fancySelect = function(sel) { var saved_value = $(’.fancyselect-selected li’, this); var […]
Recent Comments