Webiant Logo Webiant Logo
  1. No results found.

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

_ConfigurationSteps.cshtml

@using Nop.Core.Domain.Customers
@using Nop.Services.Stores

@inject IStoreService storeService

@{
    const string cardId = "configuration-steps-card";
    var customer = await workContext.GetCurrentCustomerAsync();

    //hide value
    var hideCard = await genericAttributeService.GetAttributeAsync(customer, NopCustomerDefaults.HideConfigurationStepsAttribute);

    //close value
    var closeCard = await genericAttributeService.GetAttributeAsync(customer, NopCustomerDefaults.CloseConfigurationStepsAttribute);

    var defaultStoreId = (await storeService.GetAllStoresAsync()).FirstOrDefault()?.Id ?? 0;
}

@if(await workContext.GetCurrentVendorAsync() is null)
{

@T("Admin.ConfigurationSteps")

}