我试图在暂存环境中将我们的 magento 商务网站从 2.4.1 升级到 2.4.3 - 我几乎可以正常工作,但我发现在最低级别的类别树中导航时,没有产品只显示消息
我们找不到符合选择的产品。
我以前看过这个并尝试了所有常见的建议
- 重新索引
- 清除缓存
- 刷新缓存
- 清除首页缓存
没有运气。搜索产品和查看结果工作正常。
我也尝试过这里发布的解决方案
https://magento.stackexchange.com/questions/135814/products-are-not-showing-in-category-magento-2
这导致我发现在管理部分编辑产品属性存在问题,我在加载属性时收到 js 错误,数据加载但我无法保存它们。
Uncaught TypeError: Cannot read property 'show' of undefined
at switchDefaultValueField ((index):1279)
at bindAttributeInputType ((index):1120)
at HTMLDocument.<anonymous> ((index):1389)
at fire (jquery.min.js:212)
at Object.add [as done] (jquery.min.js:215)
at jQuery.fn.init.jQuery.fn.ready (jquery.min.js:223)
at jQuery.fn.init (jquery.min.js:200)
at new jQuery.fn.init (jquery-migrate.min.js:27)
at jQuery (jquery.min.js:16)
at (index):1388
我尝试在 SQL 级别将属性设置为不可过滤且不可搜索,但没有运气。
这在 2.4.1 中运行良好,唯一的变化是升级
有任何想法吗?