Try the Demo

Magento Forum

   
SKU attr. not accessible in product list when flat catalog enabled
 
optik
Jr. Member
 
Total Posts:  3
Joined:  2007-10-28
Poland
 

The topic says it all.
Enabling ‘Flat Catalog Product’ causes the getSku method to return a null/empty string value, and that kind of messes up my template and image handling (most of the images are loaded based on sku).
I’ve tried:
- enabling ‘Used in product listing’ option in attribute definition (to no avail -> SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘e.’ in ‘field list’)
- putting ‘sku’ in application config (local.xml)
- rebuilding catalog and clearing the cache

Funny thing is, custom, non-system attributes are retrieved and can be accessed just fine if specified in application configuration.
Any clues?

 Signature 

greymatter.pl

 
Magento Community Magento Community
Magento Community
Magento Community
 
Nwolf
Jr. Member
 
Total Posts:  23
Joined:  2009-02-23
 

http://www.magentocommerce.com/bug-tracking/issue/?issue=5788

http://www.magentocommerce.com/boards/viewthread/37431/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top