Foundation icon indicating copy to clipboard operation
Foundation copied to clipboard

Unable to search by SKU in Catalog view

Open shgreig-mtm opened this issue 5 years ago • 6 comments

Describe the bug When logged in as an editor going to commerce/catlog I am unable to search by SKU (code on variant) but I am able to search for the code from products

To Reproduce Steps to reproduce the behavior:

  1. Go to Commerce / Catalog
  2. Enter P-41071811 in the search box in the catalog navigation bar
  3. You will see the product returned as a search result (Luke Cotton Coat)
  4. Enter SKU-41071811 in the search box in teh catalog navigation bar
  5. The variant will not be returned

Expected behavior Expect to be able to search the catalog by variants

Screenshots If applicable, add screenshots to help explain your problem. image

shgreig-mtm avatar Nov 08 '19 12:11 shgreig-mtm

Can you try again with the latest commit, I fixed this when looking into another issue as well.

lunchin avatar Nov 09 '19 20:11 lunchin

I'm still seeing this on the latest commit, do I need to force through any scheduled tasks?

shgreig-mtm avatar Nov 11 '19 08:11 shgreig-mtm

Probably easiest to create a demo index and test. The one supplied by default is constantly getting rebuilt I guess,

lunchin avatar Nov 11 '19 15:11 lunchin

Please ignore PR reference, I made a mistake and supposedly cannot be removed in GitHub once referenced.

lunchin avatar Nov 11 '19 18:11 lunchin

I've created a new find index and rebuilt, I'm still seeing the same issue. Is the catalog search even configured to use find at the moment?

shgreig-mtm avatar Nov 14 '19 15:11 shgreig-mtm

Sorry I was testing the catalog asset pane search and added a new search provider to search the nested skus in the product. Looking into why it is not being used on the left side search as well.

lunchin avatar Nov 21 '19 17:11 lunchin