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

1.6.1 - Bug> Admin -> Sales -> Orders -> Specific Order> Configurable product option is not shown
 
www.profico.cz
Member
 
Total Posts:  35
Joined:  2010-02-23
 

1.6.1 - Bug> Admin -> Sales -> Orders -> Specific Order> Configurable product option is not shown

See attachement

Corect is:

(Grid of ordered items, for each configurable product i want:)
Product
SKU: 123456
Name of product property
Type

In my case:
Paint Megatone from Paint co.
SKU: 654321
Chosed Megatone Colour:
Atomic

This is corect.

But in 1.6.1 i se only>
Paint Megatone from Paint co.
SKU: 654321
Chosed Megatone Colour:
--------------(missing)--------------

Solution:
In path:
magento\app\design\adminhtml\default\default\template\sales\items\column\

Replace file name.phtml with name.phtml from version 1.6. (It’s attached, but rather get your own from backup.)

Image Attachments
ilustration.png
File Attachments
name.phtml  (File Size: 3KB - Downloads: 231)
 
Magento Community Magento Community
Magento Community
Magento Community
 
furnitureforyoultd
Enthusiast
 
Total Posts:  833
Joined:  2009-03-09
 

thanks, just noticed this

edit: the reason this happens is because the new name.phtml file is attempting to use a function which hasn’t been added

Mage\Adminhtml\Block\Sales\Items\Column\Name.php

should include this:

class Mage_Adminhtml_Block_Sales_Items_Column_Name extends Mage_Adminhtml_Block_Sales_Items_Column_Default
{
    
/**
     * Add line breaks and truncate value
     *
     * @param string $value
     * @return array
     */
    
public function getFormattedOption($value)
    
{
        $_remainder 
'';
        
$value Mage::helper('core/string')->truncate($value55''$_remainder);
        
$result = array(
            
'value' => nl2br($value),
            
'remainder' => nl2br($_remainder)
        );

        return 
$result;
    
}
}

the file is empty at the moment, hence why you get no custom options shown.

 
Magento Community Magento Community
Magento Community
Magento Community
 
flyhamst
Jr. Member
 
Total Posts:  5
Joined:  2007-10-31
 

It works

 
Magento Community Magento Community
Magento Community
Magento Community
 
emile_rdam
Sr. Member
 
Total Posts:  89
Joined:  2010-05-20
 

Solved the issue. Does makes you wonder if the 1.6.1 was decently tested before released as stable.

 
Magento Community Magento Community
Magento Community
Magento Community
 
inicioLaura
Jr. Member
 
Total Posts:  3
Joined:  2012-04-19
 

Thanks, it works for me

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