Schema Documentation
ProductsOrderByEnum
Description
Fields to order the Products connection by
Values
Enum Value | Description |
---|---|
| Order by publish date |
| Preserve the ID order given in the IN array |
| Order by the menu order value |
| Order by last modified date |
| Order by name |
| Preserve slug order given in the NAME_IN array |
| Order by date product sale starts |
| Order by date product sale ends |
| Order by parent ID |
| Order by product's current price |
| Order by product average rating |
| Order by product's regular price |
| Order by number of reviews on product |
| Order by product's sale price |
| Order by slug |
| Order by total sales of products sold |
Example
"DATE"