This forum is now Read-Only. The Magento Community Forum is scheduled to close permanently on December 31, 2025. Please save any necessary information before this date. Join us on Slack for continued engagement!
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?
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