在哪里可以找到通过Shopware应用程序自定义搜索的钩子?

发布于 2025-02-13 13:19:10 字数 741 浏览 0 评论 0原文

我现在正在制作店内软件应用程序,在这里我想通过搜索API扩展搜索。为此,我们已经在商店中有一个工作插件。

我找到了钩子的这两个参考:

似乎根本没有搜索的网络,只有一个脚本钩进行完成的搜索。在插件中,我们可以扩展productsearchRoute,并完全灵活。

搜索扩展目前未计划吗?

干杯, 托比亚斯

I am prototyping a Shopware App right now, where I want to extend the search with our search API. We already have a working plugin in the store for that.

I found those two references for hooks:

Seems like there is no webhook for the search at all and just a script-hook for a finished search. In the plugin, we could just extend the ProductSearchRoute and be completely flexible.

Are search extension not planned right now?

Cheers,
Tobias

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我认为您想改变获取产品的标准。截至今天,非自我托管应用程序是不可能的。如您已经提到的,您可以使用应用程序脚本丰富或替换已经加载的页面的内容。显然,这是关于性能的一些缺点。尽管不断增强应用程序的功能,因此很快就有可能很快就有可能进行搜索操纵。

I assume you want to alter the criteria for fetching the products. As of today this is not yet possible with non-self-hosted apps. You could use the app scripts to enrich or replace the contents of an already loaded page as you already mentioned. Obviously that comes with some drawbacks regarding performance. The capabilities of apps are being enhanced continuously though so there's chance search manipulation might become possible rather soon.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文