When viewing an order in Woocommerce I need to get a specific attribute of the ordered items. This attribute should be visible on the same row as the ordered item.
The attribute tends to change after a period of time so I would like to keep the same value of the attribute as it was when the customer ordered the item. Maybe this is done by sessions?
I would appreciate any help or example for this. Thanks