Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ProductSortingEnum.cs

namespace Nop.Core.Domain.Catalog;

/// <summary>
/// Represents the product sorting
/// </summary>
public enum ProductSortingEnum
{
    /// <summary>
    /// Position (display order)
    /// </summary>
    Position = 0,

    /// <summary>
    /// Name: A to Z
    /// </summary>
    NameAsc = 5,

    /// <summary>
    /// Name: Z to A
    /// </summary>
    NameDesc = 6,

    /// <summary>
    /// Price: Low to High
    /// </summary>
    PriceAsc = 10,

    /// <summary>
    /// Price: High to Low
    /// </summary>
    PriceDesc = 11,

    /// <summary>
    /// Product creation date
    /// </summary>
    CreatedOn = 15,
}