Prodotto
Store Demo
Vetrina
Caratteristiche
Per gli sviluppatori
Per i proprietari di negozi
Industrie
Moda
Salute & bellezza
Cibi & bevande
Automazione
Industriale & Scientifico
Mobili
eCommerce B2B
Internazionale
Download
Scarica nopCommerce
Marketplace
Traduzioni
Rimozione del copyright
Applicazione mobile
Web API
Assistenza & Servizi
Formazione
Documentazione
Forum della community
Servizi di supporto premium
Richiedi un preventivo
Contattaci
Partner
Italiano
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Iniziamo
Shopping cart
Profilo
Accesso
Registrati
Home
>
Forum
>
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
Messaggi totali:
120
Karma:
620
Sottoscritto:
11/03/2013
Località:
Italy
Inviato:
5 anni tempo fa
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
Sviluppatori certificati
Messaggi totali:
2639
Karma:
42712
Sottoscritto:
21/01/2010
Località:
United States
Inviato:
5 anni tempo fa
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
Messaggi totali:
120
Karma:
620
Sottoscritto:
11/03/2013
Località:
Italy
Inviato:
5 anni tempo fa
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
Messaggi totali:
120
Karma:
620
Sottoscritto:
11/03/2013
Località:
Italy
Inviato:
5 anni tempo fa
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.
Hai ancora qualche domanda o hai bisogno di aiuto?
.
Servizi di supporto premium
.
Ottieni supporto dedicato dal team di nopCommerce con una risposta garantita entro 24 ore.
.
Corso online per sviluppatori
.
Ottieni le competenze pratiche e tecniche necessarie per gestire e personalizzare i siti web realizzati con nopCommerce.