Closed jzuschlag closed 10 years ago
I wondered why I can't search configurable products. Looking at the code I see why:
query = Q(active=True) & \ ( Q(nameicontains=q) | \ Q(manufacturernameicontains=q) | \ Q(sku_manufacturer__icontains=q) ) & \ Q(sub_typein=(STANDARD_PRODUCT, PRODUCT_WITH_VARIANTS, VARIANT))
Is there a reason, we do not include configurable products in search? In fact we could just remove the last query line.
I cannot find a reason to omit configurable products from search. Please reopen if any
Thanks!
I wondered why I can't search configurable products. Looking at the code I see why:
query = Q(active=True) & \ ( Q(nameicontains=q) | \ Q(manufacturernameicontains=q) | \ Q(sku_manufacturer__icontains=q) ) & \ Q(sub_typein=(STANDARD_PRODUCT, PRODUCT_WITH_VARIANTS, VARIANT))
Is there a reason, we do not include configurable products in search? In fact we could just remove the last query line.