cancel
Showing results for 
Search instead for 
Did you mean: 

Add extra data to ordered items

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

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 1

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