{"id":200,"date":"2024-04-05T04:23:24","date_gmt":"2024-04-05T04:23:24","guid":{"rendered":"http:\/\/localhost\/w643\/?p=200"},"modified":"2024-04-05T09:38:23","modified_gmt":"2024-04-05T09:38:23","slug":"adobe-commerce-live-search-facets","status":"publish","type":"post","link":"https:\/\/blog.hnk90.com\/?p=200","title":{"rendered":"Adobe Commerce Live Search &#8211; Facets"},"content":{"rendered":"\n<p>Nh\u01b0 m\u1ecdi ng\u01b0\u1eddi \u0111\u00e3 quen v\u1edbi &#8220;Layer Navigation&#8221; d\u00f9ng \u0111\u1ec3 filter products trong catalog page \/ search  page. <br>Facets t\u01b0\u01a1ng t\u1ef1 nh\u01b0 v\u1eady, facets l\u00e0 t\u1eadp h\u1ee3p c\u00e1c attributes d\u00f9ng \u0111\u1ec3 l\u00e0m ti\u00eau ch\u00ed filter. Facets \u0111\u01b0\u1ee3c x\u00e1c \u0111\u1ecbnh b\u1edfi c\u00e1c &#8220;filterable&#8221; attributes c\u1ee7a products \u0111\u01b0\u1ee3c tr\u1ea3 v\u1ec1 trong k\u1ebft qu\u1ea3 t\u00ecm ki\u1ebfm. <br>Ngo\u00e0i ra th\u00ec Categories filter c\u0169ng \u0111\u01b0\u1ee3c coi l\u00e0 m\u1ed9t facet (Ki\u1ec3u nh\u01b0 filter product d\u1ef1a theo categories).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"891\" src=\"http:\/\/localhost\/w643\/wp-content\/uploads\/2024\/04\/image-1024x891.png\" alt=\"\" class=\"wp-image-202\" srcset=\"https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-1024x891.png 1024w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-300x261.png 300w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-768x668.png 768w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image.png 1442w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Y\u00eau c\u1ea7u b\u1eaft bu\u1ed9c \u0111\u1ec3 m\u1ed9t category \/ attributes \u0111\u01b0\u1ee3c coi l\u00e0 m\u1ed9t facet. <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Setting<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>Category display settings<\/td><td>Anchor &#8211;&nbsp;<code>Yes<\/code><\/td><\/tr><tr><td>Attribute properties<\/td><td>Catalog Input type&nbsp;&#8211;&nbsp;<code>Yes\/No<\/code>,&nbsp;<code>Dropdown<\/code>,&nbsp;<code>Multiple Select<\/code>,&nbsp;<code>Price<\/code>,&nbsp;<code>Visual swatch<\/code>&nbsp;(widget only),&nbsp;<code>Text swatch<\/code>&nbsp;(widget only)<\/td><\/tr><tr><td>Attribute storefront properties<\/td><td>Use in Layered Navigation &#8211; Filterable (with results) \/ Filterable (no results)<br>Use in Search Results Layered Navigation &#8211;&nbsp;<code>Yes<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>S\u1ed1 l\u01b0\u1ee3ng attributes m\u00e0 Live Search c\u00f3 th\u1ec3 support<\/strong><\/p>\n\n\n\n<p>&#8211; 100 attributes configured as facets: <br><br>C\u00e1c b\u1ea1n c\u00f3 th\u1ec3 configure t\u1ed1i \u0111a 100 attributes \u0111\u1ec3 l\u00e0m facet<\/p>\n\n\n\n<p>&#8211; 50 sortable attributes:<br><br>C\u00f3 t\u1ed1i \u0111a 50 attributes \u0111\u01b0\u1ee3c d\u00f9ng cho vi\u1ec7c sorting<\/p>\n\n\n\n<p>C\u1ee5 th\u1ec3, khi c\u00e1c b\u1ea1n configure m\u1ed9t attribute c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c d\u00f9ng cho vi\u1ec7c sorting <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"534\" src=\"http:\/\/localhost\/w643\/wp-content\/uploads\/2024\/04\/image-1-1024x534.png\" alt=\"\" class=\"wp-image-204\" srcset=\"https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-1-1024x534.png 1024w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-1-300x156.png 300w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-1-768x400.png 768w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-1-1536x801.png 1536w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-1.png 1711w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Th\u00ec Live Search s\u1ebd hi\u1ec3u r\u1eb1ng attribute n\u00e0y s\u1ebd \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng cho vi\u1ec7c sort, tuy nhi\u00ean n\u00f3 s\u1ebd gi\u1edbi h\u1ea1n \u1edf con s\u1ed1 50.<\/p>\n\n\n\n<p>&#8211; 200 filterable attributes:<\/p>\n\n\n\n<p>Filterable \u0111\u01b0\u1ee3c configure gi\u1ed1ng nh\u01b0 \u1ea3nh d\u01b0\u01a1i \u0111\u00e2y<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"318\" src=\"http:\/\/localhost\/w643\/wp-content\/uploads\/2024\/04\/image-2-1024x318.png\" alt=\"\" class=\"wp-image-205\" srcset=\"https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-2-1024x318.png 1024w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-2-300x93.png 300w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-2-768x239.png 768w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-2.png 1492w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Live Search h\u1ed7 tr\u1ee3 t\u1edbi 200 attributes c\u00f3 \u0111\u1eb7c t\u00ednh n\u00e0y.<\/p>\n\n\n\n<p>&#8211; 200 searchable attributes: <\/p>\n\n\n\n<p>Searchable \u0111\u01b0\u1ee3c config nh\u01b0 \u1ea3nh d\u01b0\u1edbi \u0111\u00e2y<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"354\" src=\"http:\/\/localhost\/w643\/wp-content\/uploads\/2024\/04\/image-3-1024x354.png\" alt=\"\" class=\"wp-image-206\" srcset=\"https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-3-1024x354.png 1024w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-3-300x104.png 300w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-3-768x266.png 768w, https:\/\/blog.hnk90.com\/wp-content\/uploads\/2024\/04\/image-3.png 1307w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Setting n\u00e0y d\u00f9ng \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh attribute c\u00f3 tham gia v\u00e0o vi\u1ec7c search \u1edf Popover hay kh\u00f4ng, <br>Xem th\u00eam: <br>https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-merchant-services\/live-search\/live-search-storefront\/storefront-popover<\/p>\n\n\n\n<p>Live Search c\u0169ng support l\u00ean t\u1edbi 200 attributes c\u00f3 setting nh\u01b0 n\u00e0y.<\/p>\n\n\n\n<p>P\/s: N\u1ebfu v\u01b0\u1ee3t qu\u00e1 s\u1ed1 l\u01b0\u1ee3ng \u0111\u01b0\u1ee3c n\u00eau tr\u00ean, Live Search s\u1ebd kh\u00f4ng \u0111\u1ea3m b\u1ea3o attributes n\u00e0o s\u1ebd \u0111\u01b0\u1ee3c \u01b0u ti\u00ean.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nh\u01b0 m\u1ecdi ng\u01b0\u1eddi \u0111\u00e3 quen v\u1edbi &#8220;Layer Navigation&#8221; d\u00f9ng \u0111\u1ec3 filter products trong catalog page \/ search page. Facets t\u01b0\u01a1ng t\u1ef1 nh\u01b0 v\u1eady, facets l\u00e0 t\u1eadp h\u1ee3p c\u00e1c attributes d\u00f9ng \u0111\u1ec3 l\u00e0m ti\u00eau ch\u00ed filter. Facets \u0111\u01b0\u1ee3c x\u00e1c \u0111\u1ecbnh b\u1edfi c\u00e1c &#8220;filterable&#8221; attributes c\u1ee7a products \u0111\u01b0\u1ee3c tr\u1ea3 v\u1ec1 trong k\u1ebft qu\u1ea3 t\u00ecm ki\u1ebfm. Ngo\u00e0i ra [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-magento"],"_links":{"self":[{"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=200"}],"version-history":[{"count":3,"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions\/208"}],"wp:attachment":[{"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hnk90.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}