Produkt
Shop Demo
Showcase
Funktionen
Warum für Entwickler
Warum für Shopbesitzer
Industrie
Mode
Gesundheit & Beauty
Lebensmittel & Getränke
Automobilindustrie
Industriell & Wissenschaftlich
Möbel
B2B eCommerce
International
Downloads
Laden Sie nopCommerce herunter
Marktplatz
Übersetzungen
Schlüssel zum Entfernen des Urheberrechts
Mobile App
Web API
Unterstützung & Services
Schulung
Dokumentation
Community-Foren
Premium-Supportdienste
Angebot anfordern
Kontakt
Partner
Deutsch
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Jetzt starten
Shopping cart
Mein Konto
Anmelden
Registrierung
Home
>
Foren
>
General
>
nopCommerce Upgrades
>
[4.1] store does not contain a GetLocalized definition
[4.1] store does not contain a GetLocalized definition
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
freedomx
Anzahl der Beiträge:
120
Karma:
620
Beigetreten:
11.03.2013
Herkunft:
Italy
Versendet:
5 Jahre weitere
Hi everyone,
I'm trying to install this theme (PowerShop).
I get an error indicating that:
store does not contain a GetLocalized definition
.
var storeName = storeContext.CurrentStore.GetLocalized (x => x.Name);
How can I solve? I use version 4.1.
Thanks in advance
Nop-Templates.com
MVP
Silver Solution Partner
Zertifizierter Entwickler
Anzahl der Beiträge:
2639
Karma:
42712
Beigetreten:
21.01.2010
Herkunft:
United States
Versendet:
5 Jahre weitere
freedomx wrote:
Hi everyone,
I'm trying to install this theme (PowerShop).
I get an error indicating that:
store does not contain a GetLocalized definition
.
var storeName = storeContext.CurrentStore.GetLocalized (x => x.Name);
How can I solve? I use version 4.1.
Thanks in advance
Hi,
In 4.1 you need to use the ILocalization service e.g.
_localizationService.GetLocalized(storeContext.CurrentStore, x => x.Name);
Regards,
Hristian
freedomx
Anzahl der Beiträge:
120
Karma:
620
Beigetreten:
11.03.2013
Herkunft:
Italy
Versendet:
5 Jahre weitere
Hello Hristian and thanks for the reply!
I tried to change how you tell me, but now the mistake is: "NopRazorPage<dynamic>._localizationServices it is not accessible due to the level of protection".
freedomx
Anzahl der Beiträge:
120
Karma:
620
Beigetreten:
11.03.2013
Herkunft:
Italy
Versendet:
5 Jahre weitere
However, with this layout the system crashes: "System.Data.SqlClient.SqlException (0x80131904)".
Eliminating the PhowerShop folder the system resumes regularly.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Haben Sie noch Fragen oder brauchen Sie Hilfe?
.
Premium-Supportdienste
.
Erhalten Sie dedizierten Support vom nopCommerce-Team mit einer garantierten Antwort innerhalb von 24 Stunden.
.
Online-Kurs für Entwickler
.
Holen Sie sich die praktischen und technischen Fähigkeiten, die Sie benötigen, um nopCommerce Webseiten zu betreiben und anzupassen.