Developer forum

Forum » PIM » Find products which have a primary product group?

Find products which have a primary product group?

Michael Knudsen
Reply

Hello forum,

- I'm trying to build a query, that should find all products which have one of it's product groups set to primary, but is that possible?

Screenshot below shows this product have a primary group selected:

Br. Michael Knudsen


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

You can look at the field "Primary group name" - if it has a value, it is set.

 
Michael Knudsen
Reply

Thanks for your quick response Nicolai, but "Primary group name" isn't a field option in DW9.10.17 nor in DW9.12.3 ?

Br. Michael Knudsen

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Yes, 9.12.0+ only. I can see we made it for you guys!

 
Michael Knudsen
Reply

Sorry Nicolai, but "Primary Group Name" is not available in DW9.12.3! 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Wasn't that the one you added for me? :-)

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Well, now I just want to throw my name in, just to make this more fun :-P

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

It is for all of you! It was made i May. It is part of ProductIndexBuilder and Extender in Dynamicweb.Ecommerce dll

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Or I have looked the wrong place in git, which is also an option!

 
Michael Knudsen
Reply

It would be nice with a clarification, of the "Primary Group Name" should be available or not.

 

You must be logged in to post in the forum