Developer forum

Forum » Ecommerce - Standard features » Repository query configuration to return variants in the search

Repository query configuration to return variants in the search

Davy Capiau
Reply

Hi,

When configuring my Index query I don't get results in the search for the variants. I want to return values from the column 'BX' (Art_ref) in the screenshot below. After my configuration only the parent returns in the search (q/eq) as a result.

Productdata:

Variant related query expressions:

 


Replies

 
Brian Fredrick Ahlmann Boyles Dynamicweb Employee
Brian Fredrick Ahlmann Boyles
Reply

Created ticket 20284 for investigation

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I believe that you should also use "Include Master/Variant in list" property with "False" in combination with the "IsVariant" property.

Adrian

 
Andrew Rushworth
Reply

[edit] - we are using DW 9 though so probably different to your scenario.

We have a case where we have single products and products with variants, so I had to cater for both scenarios:

Stand alone products: Those where the variant product field was blank and where it had no variants
Variant products: exclude the main product entry - variant ID is empty (NEGATE)


 
Davy Capiau
Reply

Fyi, I've made a seperate query to make this possible.

 

You must be logged in to post in the forum