Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

1005 B
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;

namespace Grand.Web.AdminShared.Models.ShoppingCart;

public class ShoppingCartItemModel : BaseEntityModel
{
    [GrandResourceDisplayName("Admin.CurrentCarts.Store")]
    public string Store { get; set; }

    [GrandResourceDisplayName("Admin.CurrentCarts.Product")]
    public string ProductId { get; set; }

    [GrandResourceDisplayName("Admin.CurrentCarts.Product")]
    public string ProductName { get; set; }

    public string AttributeInfo { get; set; }

    [GrandResourceDisplayName("Admin.CurrentCarts.UnitPrice")]
    public string UnitPrice { get; set; }

    public double UnitPriceValue { get; set; }

    [GrandResourceDisplayName("Admin.CurrentCarts.Quantity")]
    public int Quantity { get; set; }

    [GrandResourceDisplayName("Admin.CurrentCarts.Total")]
    public string Total { get; set; }

    [GrandResourceDisplayName("Admin.CurrentCarts.UpdatedOn")]
    public DateTime UpdatedOn { get; set; }
}