How to Integrate MeiliSearch into Your Medusa 2.0 Webshop (Step-by-Step Guide)

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 11

  • @fairosebanu3917
    @fairosebanu3917 8 днів тому +1

    This video is amazing could you please make video for customizable b2b medusa storefront application

    • @funkyton
      @funkyton  8 днів тому

      @@fairosebanu3917 thank you for the kind words ☺️ b2b is on my list for this year - hopefully before summer 🤞

  • @omkarhalpatrao
    @omkarhalpatrao 10 днів тому

    Please make video on subscribers and events.

    • @funkyton
      @funkyton  10 днів тому

      This video touches lightly on the event subscription, but I also have another video, explaining events and subscription in more details, in relation to email automation: ua-cam.com/video/38tEhuZTrdY/v-deo.html if you watch from chapter 2: (03:20 - Identify backend event reference)
      This covers a few more examples ;) Let me know which other events you would find interesting diving in on?

  • @markoguru
    @markoguru 7 днів тому

    Amazing, thanks! Is there a way to implement on our custom input search fields? I don't imagine everyone will use Next.js starter template with same design.

    • @funkyton
      @funkyton  7 днів тому

      @@markoguru surely there is 🙂 there’s one api request to meilisearch that will return results, and these results can be used in many different implementations - I will add a code example to the blog post with this request, that should give you an idea how to implement it into any other app 😉

    • @markoguru
      @markoguru 7 днів тому

      @@funkyton Sweet, thank you! 😊 btw i was also surprised why they removed it from starter.

    • @funkyton
      @funkyton  7 днів тому +1

      @ I tried looking in the recent commit history and couldn’t find it - almost losing my sanity there haha… I will let you know when the blog post is updated with the example 👍 should be within a day or two

    • @funkyton
      @funkyton  6 днів тому +1

      Article has been updated, with a round of improvements - and at the end you find an example of a React component using the Search endpoint to fetch producst - this should be easy to add to any React app, and improve on - if you ware using a non-react app for your storefront, I would suggest copying the example into a LLM of your choice, and ask it to convert it to...: vue.js or angualr... or whatever framework you might be using 😉 Let me know if this works out for you! Cheers

    • @markoguru
      @markoguru 15 годин тому

      @@funkyton Amazing thanks! I integrated plugin medusa-plugin-meilisearch and it worked! However, there's a new Medusa update, 2.3.1 i think and now there's error "error: Could not resolve module: Meilisearch. Error: Loaders for module Meilisearch failed: Unexpected non-whitespace character after JSON at position 4" :D Anyway thanks for your efforts, i'll be researching on this 👍