November Happy Hour will be moved to Thursday December 5th.

Set markets for product

Vote:
 

Episerver Commerce 10.10

How can I get and set the markets for a product from code?

I read that you could use product.MarketFilter which should returns the markets, but I got no markets while all markets are selected for all products.

What do I wrong?

Thanks in advance.

#197732
Oct 11, 2018 17:35
Vote:
 

Hi. Yes it can be fairly confusing, the MarketFilter, as its name mightsuggest, is actually the markets that your product is not available in. So it is a revert :)

#197737
Oct 11, 2018 18:30
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.