Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Shipping Region Fields Are Blank When Generating Custom Reports
 
joshlb
Jr. Member
 
Total Posts:  1
Joined:  2013-04-19
 

Hello,

I’m in the process of creating a module for custom report generation. I have gotten the module up, and all the fields will display except for the shipping region. I was hoping to be able to filter by (United States) state, but I can’t since the fields are always blank.

Is there some sort of additional customization I have to implement for Magento to register the states?

I have this in my Grid.php

$this->addColumn('shipping_region', array(
'header' => Mage::helper('sales')->__('Shipping Region'),
'index' => 'region',
'type' => 'text',
'filter_index' => 'sfoa.region',
'width' => '50px',
));

I appreciate any help I can get with this.

Image Attachments
noshippingregion.png
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top