Skip to content

Magento_OrderHistorySearch

Magento Modules:

  • Magento_OrderHistorySearch

Adobe Commerce Packages

  • magento/order-history-search

Repository

Note: this repo is only accessible with a Hyvä Enterprise license or as a contributor.

For more details, see: https://www.hyva.io/hyva-enterprise.html.

https://gitlab.hyva.io/hyva-enterprise/b2b/magento2-ee-magento-order-history-search

Features

All points are rated according to priority as P1 (critical), P2 (important), P3 (minor).

  • basic - does not break layout/design

Note: this functionality overrides (replaces) similar, but basic logic in the Negotiable quotes module - #103

Account Area Order History Page (/sales/order/history/)

Search / Filters

  • [P2] Input filters
    • Product name/SKU search, order number, invoice number, order status, created by, order date to/from, order total min/max
  • [P2] Open/close filters panel (other than name/SKU search, which is always visible)
  • [P2] Apply filters button
  • [P2] Clear filters button
  • [P1] Pagination/limiter still functions
  • [P2] Add date picker to date fields
    • Uses default browser date picker and international date format for simplicity
  • [P2] Filter input validation
    • No required fields
    • Use browser default for numbers and dates
    • Min length for order/invoice number (based on config value)
    • Date range (to is not before from)
    • Step validation for order totals
    • Ensure order max total is greater than min total
  • [P2] Show active filters
    • Rendered server-side to avoid CLS (Cumulative Layout Shift)
    • Dates formatted based on current locale
  • [P2] Remove active filters - individually
  • [P2] Remove active filters - all (duplicate of button above, but in active filters section)

Created By Column

  • [P3] Add 'created by' column heading
  • [P3] Output 'created by' row data for each order
  • [P3] Only output above if company accounts are enabled in Stores > Configuration
    • btob/website_configuration/company_active

Note: 'created by' column output relies on this change to the default theme: https://gitlab.hyva.io/hyva-themes/magento2-default-theme/-/merge_requests/1020

Contributors

@ marcinunified - Unified

Voting

Use 👍 to cast your vote.

Edited by John Hughes
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information