What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Good evening. Again an issue about "*Bootcamp challenge doesn't work upon the code presented*" (

Options
UQS4LDZU7
UQS4LDZU7 Posts: 182 🧑🏻‍🚀 - Cadet
edited March 2020 in Help

Good evening. Again an issue about "Bootcamp challenge doesn't work upon the code presented" (https://training.spryker.com/courses/take/developer-bootcamp/texts/4743693-content-search-attribute-cart-based-catalog-personalization-challenge)🙂 I have encountered strange behavior of the category search filters (to be concrete - product color filters). Store is DE, so if I choose /en/ language in the frontend - I get the color facets in German (first case), if I switch to /de/ - I get them in English (second case). This results - that the code of the challenge ' Attribute-Cart-Based Catalog Personalization' doesn't work (no red items got boosted in catalog page for digital cameras), because in first case the color of the item in the cart is "Red", but the Facet value is "Rot". And, respectively, in the second case vice a versa. So, the final result of this "mixup" is that the challenge code works (I get red products boosted) only if I comment the

new LocalizedQueryExpanderPlugin()

in

CatalogDependencyProvider::createCatalogSearchQueryExpanderPlugins() 

which is, ofcourse wrong. I have been debugging this for hours so far, but cannot find the cause. The configs in stores.php should be ok (it was never changed sofar). I will upload the screnshots to provide more clearness:

Comments