Questions tagged [order-items]

Denotes questions related to sales order items.

2
votes
3answers
94 views

How to add custom attribute in Collection?

namespace Magento\Sales\Model\Order; class Invoice { public function getAllItems() { $items = []; foreach ($this->getItemsCollection() as $item) { if (!$item-&...