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.

1.2 KB
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;

namespace Widgets.FacebookPixel.Models;

public class ConfigurationModel : BaseModel
{
    public string StoreScope { get; set; }

    [GrandResourceDisplayName("Widgets.FacebookPixel.PixelId")]
    public string PixelId { get; set; }

    [GrandResourceDisplayName("Widgets.FacebookPixel.PixelScript")]
    public string PixelScript { get; set; }

    [GrandResourceDisplayName("Widgets.FacebookPixel.AddToCartScript")]
    public string AddToCartScript { get; set; }

    [GrandResourceDisplayName("Widgets.FacebookPixel.DetailsOrderScript")]
    public string DetailsOrderScript { get; set; }

    [GrandResourceDisplayName("Widgets.FacebookPixel.AllowToDisableConsentCookie")]
    public bool AllowToDisableConsentCookie { get; set; }

    [GrandResourceDisplayName("Widgets.FacebookPixel.ConsentDefaultState")]
    public bool ConsentDefaultState { get; set; }

    [GrandResourceDisplayName("Widgets.FacebookPixel.ConsentName")]
    public string ConsentName { get; set; }

    [GrandResourceDisplayName("Widgets.FacebookPixel.ConsentDescription")]
    public string ConsentDescription { get; set; }
}