Magidoc

ProductOrder
Input Object

Fields

#

attributeId

Sort product by the selected attribute's values. Note: this doesn't take translations into account yet.

direction

Non-null

Specifies the direction in which to sort products.

field

Sort products by the selected field.

Usages

#

References

#

  • Argument sortBy of field products from type Query
  • Argument sortBy of field products from type Category
  • Argument sortBy of field products from type Collection