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

Dropdown Attribute with more Values
 
Daim
Sr. Member
 
Total Posts:  172
Joined:  2008-01-08
Germany
 

If your use a Attrribute with Catalog Input Type “Dropdown” and more Values he gives a error on the Frontpage because the value isn’t a String but Array.

Solution

Get in the File

/app/code/core/Mage/Catalog/Block/Product/View.php

search the function “public function getAdditionalData()”

From:
strlen($value)

To:
!empty(
$value)
 
Magento Community Magento Community
Magento Community
Magento Community
 
Daidra-D
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2007-12-07
 

It doesn’t work…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Daim
Sr. Member
 
Total Posts:  172
Joined:  2008-01-08
Germany
 

Version?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Daidra-D
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2007-12-07
 

ver. 0.7.15480

 
Magento Community Magento Community
Magento Community
Magento Community
 
Daim
Sr. Member
 
Total Posts:  172
Joined:  2008-01-08
Germany
 

Have you a error Message on the Frontpage?

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