英文:
Magento | Algolia Search | Add-To-Cart | Reloads | Ajax Failure
问题
我已经在Magento → Admin → Algolia Search下应用了以下设置:
- 启用即时搜索结果页面 => 是的
- 添加到购物车 => 是的
在前端,搜索页面的行为令人惊讶。
点击“添加到购物车”按钮,页面重新加载并显示成功消息。
Ajax功能并不总是有效。
重现步骤:
- Magento 迷你搜索,搜索任何词语。
- 在搜索页面上,点击添加到购物车。
- 在搜索页面上,在“Algolia迷你搜索”中输入并搜索任何词语。
- 在结果页面上,点击添加到购物车。
请查看附加的截图。
英文:
I have applied the following settings under Magento → Admin → Algolia Search
- Enable Instant Search Results Page => Yes
- Add to Cart => Yes
At the front-end, the search page behavior is surprising.
Click on the “Add-To-Cart” button the page reloads and success message appears.
The Ajax functionality doesn’t work at all the time.
Steps to reproduce:
- Magento mini-search, search any term.
- On the search page, click add-to-cart.
- On the search page, input and search any term in the “Algolia mini-search”.
- After results, click add-to-cart.
Please check the attached screenshots.
答案1
得分: 0
终于,在经过多个小时的努力后,我成功解决了它。
解决方案在这个论坛中有详细说明。
https://discourse.algolia.com/t/magento-2-4-4-p2-search-page-add-to-cart-reloads-ajax-failure/18623
谢谢,
英文:
Finally, after many hours of efforts I’m able to resolve it.
The solution is explained in this forum.
https://discourse.algolia.com/t/magento-2-4-4-p2-search-page-add-to-cart-reloads-ajax-failure/18623
Thanks,
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论