Skip to content

Commit

Permalink
OP-225: Add upgrade docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GracjanJozefczyk committed Jun 3, 2024
1 parent 53ef02c commit b1a4fe0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions UPGRADE-4.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# UPGRADE FROM 3.* TO 4.0.0

#### Changes related to facets:

Since version 4 standard filters are deprecated, and replaced by facets. Facets are a more flexible and powerful way to filter products in the search engine. The main difference is that facets are not limited to the predefined values of the attribute, but they are generated based on the values of the products in the index. This means that the user can filter products by any value of the attribute, not only the predefined ones.

If you still want to use the old filters, you have to manually add them in form extension - they are still in the code: `BitBag\SyliusElasticsearchPlugin\Form\Type\ProductAttributesFilterType` and `BitBag\SyliusElasticsearchPlugin\Form\Type\ProductOptionsFilterType`.

0 comments on commit b1a4fe0

Please sign in to comment.