We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 450d89d commit 82a0445Copy full SHA for 82a0445
app/code/Magento/Sales/Plugin/Model/OrderRepositoryPlugin.php
@@ -56,7 +56,7 @@ private function validateBillingAddress(OrderInterface $entity): void
56
*/
57
private function validateOrderItems(OrderInterface $entity): void
58
{
59
- $items = $entity->getItems();
+ $items = $entity->getAllVisibleItems();
60
61
if (!$items || count($items) === 0) {
62
throw new LocalizedException(__('Please specify order items.'));
0 commit comments