grandnode 2.0 templates error

Friday, March 29, 2024 12:36:45 PM
  • Posted: Thursday, December 23, 2021 5:04 PM
  • 54
hi
after installing template i am getting this error

'StoreInformationSettings' does not contain a definition for 'LogoPicture' and no accessible extension method 'LogoPicture' accepting a first argument of type 'StoreInformationSettings' could be found (are you missing a using directive or an assembly reference?)
-
@inject StoreInformationSettings storeInformation
@inject IWorkContext workContext
<b-navbar-brand class="store-logo mx-auto" href="@Url.RouteUrl("HomePage")">
    <b-img src="/@storeInformation.LogoPicture" alt="@workContext.CurrentStore.Name"></b-img>
    <span class="sr-only">@Loc["admin.configuration.shipping.providers.fields.logo"]</span>
</b-navbar-brand>
0
  • Posted: Monday, December 27, 2021 7:14 AM
  • 953
yao wrote:
hi
after installing template i am getting this error

'StoreInformationSettings' does not contain a definition for 'LogoPicture' and no accessible extension method 'LogoPicture' accepting a first argument of type 'StoreInformationSettings' could be found (are you missing a using directive or an assembly reference?)
-
@inject StoreInformationSettings storeInformation
@inject IWorkContext workContext
<b-navbar-brand class="store-logo mx-auto" href="@Url.RouteUrl("HomePage")">
    <b-img src="/@storeInformation.LogoPicture" alt="@workContext.CurrentStore.Name"></b-img>
    <span class="sr-only">@Loc["admin.configuration.shipping.providers.fields.logo"]</span>
</b-navbar-brand>


Hi Yao,

As you purchased our themes bundle pack, I will reach you via our internal ticketing system.
Best regards,
Patryk

GrandNode Team
0
back to top
Filters