Produit
Boutique de démonstration
Démonstration
Caractéristiques
Pour les développeurs
Pour les propriétaires de magasins
Industries
Mode
Santé & Beauté
Nourriture & boissons
Automobile
Industriel & Scientifique
Meubles
Commerce électronique B2B
International
Téléchargements
Télécharger nopCommerce
Marketplace
Traductions
Clé de suppression des droits d'auteur
Application Mobile
Web API
Support & Services
Formation
Documentation
Forums communautaires
Services d'assistance premium
Demander un devis
Contactez-nous
Partenaires
Français
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Commencer
Shopping cart
Mon compte
Connexion
S'enregistrer
Accueil
>
Forums
>
General
>
General Support
>
New custom field in product details and localization
New custom field in product details and localization
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
cbaldo
Nombre de messages:
11
Karma:
65
Inscrit:
04/03/2014
Localisation:
Italy
Posté:
Il y a 4 ans
Hi
I have added a new custom field in product details (a kind of technical characteristic)
The value of that field is saved in the "standard" version but it is not saved in the localized ones.
What did I forget?
Thanks ;)
Claudio
smi10
MVP
Développeur certifié
Nombre de messages:
982
Karma:
8043
Inscrit:
10/02/2017
Localisation:
India
Posté:
Il y a 4 ans
Localisation have separate code for that.
You have to look at product post method.
They did code for other fields.
cbaldo
Nombre de messages:
11
Karma:
65
Inscrit:
04/03/2014
Localisation:
Italy
Posté:
Il y a 4 ans
sk5202 wrote:
Localisation have separate code for that.
You have to look at product post method.
They did code for other fields.
Thank you
I edited ProductModelFactory in Admin area adding the following for the custom field
locale.Characteristic = _localizationService.GetLocalized(product, entity => entity.Characteristic, languageId, false, false);
Now it's all ok ;)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?
.
Services d'assistance premium
.
Bénéficiez d'un support dédié de la part de l'équipe nopCommerce avec une réponse garantie dans les 24 heures.
.
Cours en ligne pour les développeurs
.
Obtenez les compétences pratiques et techniques dont vous avez besoin pour gérer et personnaliser les sites Web nopCommerce.