Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking on show more button gives 0 items #3442

Open
ioweb-gr opened this issue Nov 17, 2024 · 0 comments
Open

Clicking on show more button gives 0 items #3442

ioweb-gr opened this issue Nov 17, 2024 · 0 comments

Comments

@ioweb-gr
Copy link

ioweb-gr commented Nov 17, 2024

Similar to issue #2998 I'm also getting an empty array for the items.
After debugging I see in function \Smile\ElasticsuiteCatalog\Model\Attribute\LayeredNavAttributesProvider::isLayeredNavAttribute it returns always false. The problem comes from \Smile\ElasticsuiteCatalog\Model\Attribute\LayeredNavAttributesProvider::getList function which checks the property $this->attributes which is an empty array not yet populated.

So I'm assuming there's some sort of initialization that's failing in my case.

If you could provide some insight as to how and when the attributes property is initialized with data, I could dig further

I also don't see anything in di.xml that could have added values to the array or anything that's invoked before it's injected.

Preconditions

Magento Version :2.4.4

ElasticSuite Version : 2.10.23.2

Environment : Developer

Third party modules :

List of enabled modules:
Amasty_Base
Amasty_Geoip
Amasty_Conditions
Amasty_CommonRules
Amasty_CronScheduleList
Amasty_CustomFormsLite
Amasty_Customform
Amasty_Gdpr
Amasty_GdprCookie
PayPal_Braintree
Amasty_GoogleAddressAutocomplete
Amasty_ImageOptimizer
Amasty_ImageOptimizerUi
Amasty_InvisibleCaptcha
Amasty_LazyLoad
Amasty_LazyLoadUi
Amasty_Mage24Fix
Amasty_Mostviewed
Amasty_PageSpeedOptimizer
Amasty_PageSpeedTools
Amasty_Payrestriction
Amasty_ProductAttachment
Apptrian_FacebookCatalog
Apptrian_FacebookPixel
Apptrian_TikTokPixelApi
Bss_FreeShippingBar
Bss_SizeChart
Codazon_AjaxCartPro
Codazon_Core
Codazon_ImproveBundle
Codazon_Lookbookpro
Codazon_MegaMenu
Codazon_PageBuilder
Codazon_ProductFilter
Codazon_ProductLabel
Codazon_QuickShop
Codazon_SalesPro
Codazon_ShippingCostCalculator
Codazon_Slideshow
Codazon_ThemeOptions
Codazon_Utility
Ebizmarts_MailChimp
Esat_Esatisfaction
Harrigo_EverCrumbs
Ho_Templatehints
Ioweb_AmastyGdprAddon
Ioweb_Base
Ioweb_CategoryProductColumns
Ioweb_Checkout
Ioweb_ConfigurableDynamicAttributes
Ioweb_ConfigurableFullPrice
Ioweb_CronMemory
Ioweb_Customizer
Ioweb_EnablePdf
Ioweb_FacebookCatalogOverride
Ioweb_FixStockStatusIssue35494
Ioweb_GoogleRemarketing
Ioweb_Html5
Ioweb_Invoicefields
Ioweb_MariaDbHotfix
Ioweb_MassImageUploader
Ioweb_PiraeusBank
Ioweb_SkroutzFeedVariations
Ioweb_Skroutzfeed
Ioweb_Softone
Ioweb_Toolbox
Ioweb_Wcag
Ioweb_Widgets
MageVision_GreekRegions
Magefan_Community
Magefan_Blog
Magefan_WysiwygAdvanced
Mageplaza_Core
Mageplaza_Smtp
Mageplaza_SocialLogin
Nwdthemes_Base
Nwdthemes_Revslider
Amasty_Checkout
PayPal_BraintreeGraphQl
Smile_ElasticsuiteAdminNotification
Smile_ElasticsuiteCore
Smile_ElasticsuiteCatalog
Smile_ElasticsuiteCatalogGraphQl
Smile_ElasticsuiteCatalogRule
Smile_ElasticsuiteCatalogOptimizer
Smile_ElasticsuiteTracker
Smile_ElasticsuiteThesaurus
Smile_ElasticsuiteSwatches
Smile_ElasticsuiteIndices
Smile_ElasticsuiteAnalytics
Smile_ElasticsuiteVirtualCategory
Swissup_Core
Swissup_SearchMysqlLegacy
Temando_ShippingRemover
Ves_All
Ves_BaseWidget
Ves_PageBuilder
Ves_Setup
Wyomind_Framework
Wyomind_DataFeedManager

List of disabled modules:
Amasty_ShopbyBase
Amasty_Shopby
Amasty_ShopbyBrand
Amasty_ShopbyPage
Amasty_ShopbySeo
Codazon_AjaxLayeredNav
Codazon_AjaxLayeredNavPro
Codazon_GoogleAmpManager
Codazon_Shopbybrandpro
MageWorx_SearchSuiteAutocomplete
Veriteworks_CookieFix

Steps to reproduce

  1. I'm not sure how to reproduce this as I've never faced this issue before. It's a standard installation of the elastic suite and I removed all other modules affecting layered navigation or search.

Expected result

  1. Show more yields more options

Actual result

  1. Show more removes everything from the attribute filter
firefox_tb1o1qNZyY.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant