Try our conversational search powered by Generative AI!

Jacob Khan
Nov 11, 2011
  5221
(3 votes)

Commerce Manager filter meta properties by language

I was recently asked by a Partner to assist them in an issue they have with EPiServer Commerce and multiple languages. They run around 15 languages and have around 10 xhtlm meta properties on a single product/sku. This means that every time they are editing a sku they see all the language properties.

I made a simple little drop down list that switches between the languages and only loads the classes needed for each language. This makes it easier for the editors when working with multiple languages.

Capture

Meta fields will be fetched as they are needed depending on the language. The loading time is decreased and it is easier to understand for editors. However if you are moving between languages without saving nothing is stored in memory so remember to save in between changing languages.

The plugin needs some configuration but is real easy to use. Since it is added to the eCommerceFramework and not the site there is no epimodule installation. Of course, these are the kinds of things EPiServer is considering for enhancements in a future release.  In the mean time you can get started with this add-on by downloading the code and configuring it. Roger Cevung has also written an article on how to extend the commerce manager here.

In the zip there is a readme that will help you install the feature. Please add comments to the blog for questions and ideas.

If you have problems with the compiling because it cannot find the usercontrols simply remove them from the designer files and add them manually to the codebehind.

This plugin works for CMS 6 R2 with Commerce 1 R2 SP1

Thanks to Nansen for testing this out

Nov 11, 2011

Comments

Nov 14, 2011 04:09 AM

This is really good solution for localisation in Commerce Manager. Could it be possible to apply all languages based meta fields?

Nov 14, 2011 03:57 PM

Nice! Link to download please?

Nov 14, 2011 05:00 PM

@Steve Sorry my live writer plugin wasnt working. I added it again. @Dzung Le what do you mean all languages? So an option to show all languages in the drop down? yes it is a rather simple feature to add

Nov 14, 2011 05:42 PM

Awesome add-on! Downloading...

Nov 15, 2011 05:08 AM

I mean beside languages for product, in Commerce Manager there are some other area which depend on language as well

Nov 15, 2011 08:39 AM

Brilliant! It works like a charm.

Nov 15, 2011 04:33 PM

VERY nice!!!
Implemented on my Demo site..

Works like a charm...!!

Nov 18, 2011 09:13 AM

This will also work on R2, as long as you remove the NameLengthValidator, or use another string than Catalog_Catalog_Name_TooLong (since it looks like it is added in SP1? ).

Please login to comment.
Latest blogs
Product Listing Page - using Graph

Optimizely Graph makes it possible to query your data in an advanced way, by using GraphQL. Querying data, using facets and search phrases, is very...

Jonas Bergqvist | Jul 5, 2024

Optimizely Search and Navigation - Part 2 - Filter Tips

Introduction Continuing from Part 1 – Search Tips , today I will share the next part – filter tips. The platform versions used for this article are...

Binh Nguyen Thi | Jul 1, 2024

Integrating HubSpot CRM without the MA Connector

Have HubSpot CRM? Want to push user data into it from Optimizely? Don’t have any personalisation requirements with that data? Don’t want to pay $80...

Matt Pallatt | Jun 27, 2024

Keeping the website secure by updating external packages

Did you see the latest warning from Optimizely to update this package with a critical security warning? https://world.optimizely.com/documentation/...

Daniel Ovaska | Jun 27, 2024

Optimizely CMS image anonymization now available for Linux!

The famous image anonymization add-on for Optimizely CMS, with at least 5 downloads, is now finally available for use on Linux. Supports simultaneo...

Tomas Hensrud Gulla | Jun 25, 2024 | Syndicated blog

Remove a segment from the URL in CMS 12

Problem : I have created thousands of pages dynamically using schedule jobs with different templates (e.g. one column, two columns, etc..) and stor...

Sanjay Kumar | Jun 21, 2024