#community-help

Integrating TypeSense with WooCommerce

TLDR Fabio inquired about any existing or in-progress projects for integrating TypeSense with WooCommerce. Jason made them aware of a community-driven effort and suggested adding their support to it. Fabio revealed they had initiated the project, but lacked assistance. They decided to restart work on the project. Jason suggested modeling the integration after an existing WordPress plugin.

Powered by Struct AI
Mar 30, 2021 (34 months ago)
Fabio
Photo of md5-554b84744e0b6cd23ea586cc23ea5729
Fabio
04:13 PM
Hello, does anybody know of a project ready or in progress for integrating TypeSense with WooCommerce?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:16 PM
Hi Fabio, there was an effort to build a woo commerce integration by some members of the community: https://github.com/typesense/typesense/issues/170#issuecomment-750009846

I’d recommend adding your support to that thread. Definitely could use help to build one.
Fabio
Photo of md5-554b84744e0b6cd23ea586cc23ea5729
Fabio
04:19 PM
Correct, that is me 🙂

I started the repo in December last year with the hope some people would join forces to get this out asap as an open source plugin for Wordpress.
But so far no interestest or support came on that issue. And I got busy with a lot projects that came in due to covid19 related changes by our government.

That's why I'm checking here if there is already another project out before I start from scratch while something already exists (maybe).
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:19 PM
Oh ha! Just noticed the same profile picture!
04:20
Jason
04:20 PM
I’m not aware of any other woopress integrations out there since you opened that issue
Fabio
Photo of md5-554b84744e0b6cd23ea586cc23ea5729
Fabio
04:38 PM
ok, then I'm still on my own on this one. Weird....as Wordpress has the biggest marketshare for websites worldwide.
I would expect an integration like this could has a direct impact on the biggest part of the world that is using Wordpress

Nevertheless, I'm going to start working on an integration and well have to see how we are going to publish this one.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
10:16 PM
We are planning to work on a Wordpress integration closely modeled after this plugin: https://wordpress.org/plugins/wp-search-with-algolia/

The plan is to essentially swap out index calls to Algolia, and replace them with calls to Typesense... But I'd imagine a WooCommerce integration would require additional work?
Mar 31, 2021 (34 months ago)
Fabio
Photo of md5-554b84744e0b6cd23ea586cc23ea5729
Fabio
11:54 AM
Jason
WooCommerce has also it's own API on top of Wordpress.
WooCommerce in the end is nothing more than just a plugin for Wordpress and extends the API with new custom post types like products, coupons, orders, etc...
Eg users is Wordpress API but when you install WooCommerce, it adds a bunch of meta fields like billing_firstname, lastname, address, etc....

So I don't think it will be that much more complex.

Also there many example "competitor" plugins like redisearch and elasticsearch. Both already support WooCommerce.
So perhaps you might want to check those instead of the general WP Algolia one.

https://wordpress.org/plugins/redisearch/

https://wordpress.org/plugins/elasticpress/

Typesense

Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI

Indexed 3011 threads (79% resolved)

Join Our Community

Similar Threads

Inquiring about Typesense Plugin for Wordpress

Prateek seeks alternatives to Algolia, inquiring about a Typesense plugin for Wordpress. Carl and Jason discuss the possibilities and Jason proposes alpha testing a solution. Prateek agrees under the condition that testing isn't on the live website.

4

7
27mo

Typesense Plugin and Free Searches in Wordpress

Alexander asked about free search capability and Wordpress compatibility with Typesense. Kishore Nallan and Jason confirmed these, but mentioned the Typesense Wordpress plugin is in alpha stage, inviting Alexander to alpha test it. Later, they shared the published plugin link.

13
24mo
Solved

Query on Working WordPress Plugin for Typesense

Stefan wanted a working WordPress plugin for Typesense. Kishore Nallan asked for community help in resolving plugin conflicts on GitHub, while Jason shared that a working plugin was now in the WordPress directory.

7
24mo
Solved

Collaborative Project on Laravel Scout Integration with Typesense

Joe used Typesense and Laravel to index documents quickly. He suggested adding Typesense to Laravel Scout docs. Jason agreed and asked community members for help. Abdullah volunteered to maintain the integration. Raises were raised and plans discussed, with unexpected resistance from official channels.

7

28
26mo
Solved

Speeding up Index Creation in WordPress with Typesense Client

Jennifer needed help with index creation for large datasets in WordPress. Jason suggested using a timestamped collection with Typesense's PHP client and collection aliases to speed up the process, as well as the batch import endpoint for more efficient indexing.

1

25
26mo