cancel
Showing results for 
Search instead for 
Did you mean: 

Add extra data to ordered items

Add extra data to ordered items

I want to add some information to display in items ordered table (/Adminhtml/Block/Sales/Order/View/Items.php or sales_order/view) under the SKU. This is how it looks now, but I want to add under the SKU an custom variable. Is this possible with an observer or an contoller?

Under the SKU

 

 

 

1 REPLY

Re: Add extra data to ordered items

yes, use event catalog_product_type_prepare_%s_options (%s is your product type) and append your custom option as array{'label' => $yourLabel, 'value' => $yourValue} to prodct custom options