Log in
Helper

Guest

Magento\Sales\Helper\Guest

What it does

This helper class manages guest order tracking functionality in Magento 2, allowing non-logged-in customers to view their order details.

It validates guest access by verifying order information (order ID, billing last name, and either email or zip code) from POST data or cookies, then loads and registers the valid order.

Developers use this when building guest order lookup forms or customizing the guest order tracking experience.

Public Methods

  • loadValidOrder()
  • getBreadcrumbs()