How can I define a product with descriptions in more languages? #463
-
How could I define a product containing the descriptions translated in English and other languages? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you enable the Unfortunately simple
|
Beta Was this translation helpful? Give feedback.
If you enable the
OrchardCore.ContentLocalization
feature and the product containsLocalizationPart
, you can add localized versions of the product.Unfortunately simple
InventoryPart
-based inventory tracking is not supported for this scenario, because of the design limitations of OC'sOrchardCore.ContentLocalization
module. (Localized content items are clones at the time of creation with only a reference to each other, they can't share/synchronize content part data.) You have two options:LocalInventoryProvider
with your ownIProductInventoryProvider
implementation that stores the inventory registry somewhere else independent of the content item content (e.g in a site set…