Produto
Demonstração da loja
Galeria
Funcionalidades
Porquê para programadores
Porquê para os proprietários de lojas
Industrias
Moda
Saúde e Beleza
Alimentação e Bebidas
Automóvel
Industrial e Científico
Mobiliário
eCommerce B2B
International
Transferências
Descarregar nopCommerce
Mercado
Traduções
Chave de remoção de direitos autorais
Aplicação móvel
Web API
Suporte & serviços
Formação
Documentação
Fóruns da Comunidade
Serviços de suporte premium
Solicitar orçamento
Contacte-nos
Parceiros
Português
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Iniciar
Shopping cart
A Minha conta
Iniciar sessão
Registe-se
Início
>
Fóruns
>
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
Total de postagens:
120
Karma:
620
Ingressou:
11/03/2013
Localização:
Italy
Postado:
5 anos atrás
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
Parceiro Solução Prata
Programador certificado
Total de postagens:
2639
Karma:
42712
Ingressou:
21/01/2010
Localização:
United States
Postado:
5 anos atrás
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
Total de postagens:
120
Karma:
620
Ingressou:
11/03/2013
Localização:
Italy
Postado:
5 anos atrás
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
Total de postagens:
120
Karma:
620
Ingressou:
11/03/2013
Localização:
Italy
Postado:
5 anos atrás
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.
Ainda tem dúvidas ou precisa de ajuda?
.
Serviços de suporte premium
.
Obtenha suporte dedicado da equipa nopCommerce com uma resposta garantida em 24 horas.
.
Curso on-line para programadores
.
Obtenha as habilidades práticas e técnicas que necessita para executar e personalizar websites nopCommerce.