Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MB 273 posts 936 karma points
    Aug 08, 2021 @ 08:37
    MB
    0

    Filtering products on frontend

    Hi all,

    I'm wondering if there are anyone who has made filtering of products on the frontend using Vendr? The demo store doesn't have it though.

    To be more specific, I'm looking for a way to filter products based on price, size or some other property.

    Since I'm not much of a backend developer it's a little difficult to figure out how I can accomplish this.

    I hope to find a bit of inspiration or perhaps information on how I can filter products.

    Cheers!

  • Matt Brailsford 4124 posts 22220 karma points MVP 9x c-trib
    Aug 09, 2021 @ 08:55
    Matt Brailsford
    100

    Hi MBE,

    I don't have any exact examples of what you are after, but we do a kind of filtering on the demo store to show products by category. For this we are using Lucene to perform the relevant queries. You can see some of the details here https://github.com/vendrhub/vendr-demo-store/blob/main/src/Vendr.DemoStore/Web/Controllers/ProductSurfaceController.cs

    Whilst not exactly what you are after, I think this is likely the approach you will need to take for a bog standard umbraco install. You might also want to take a look at the various packages by Callum which aim to make searching easier https://our.umbraco.com/members/id:152036/

    Failing all of this, if you are open to paid third party options, Algolia search offers a heap of powerful features for this kind of stuff https://www.algolia.com/search-solutions/ecommerce/

    Hope this helps

    Matt

  • MB 273 posts 936 karma points
    Aug 09, 2021 @ 14:02
    MB
    0

    You know Matt, I really appreciate all the help you've given me throughout my experience with Umbraco and Teacommerce/Vendr, thank you!

    My simple frontend mind might not be capable of brewing some code together that can do this. However, I often succeed at changing and manipulating existing code to do as I wish.

    Looking at these two links doesn't really give me a good headstart, although I appreciate the fact you spent time finding these resources.

    Since you know Vendr and how Umbraco better than most people, I'd like to ask if it's possible to perhaps request a quote on a bit of work from your end?

    Maybe, if the lucene could perform a query that allowed products to be filtered based on price I could later manipulate that to also allow sizes or other properties.

    I don't know if this would be crazy expensive but all I need is a, reference or headstart.

    I will however attempt to look at the ProductSurfaceController and see if I can do something.

    Bests, Mike

  • Matt Brailsford 4124 posts 22220 karma points MVP 9x c-trib
    Aug 10, 2021 @ 08:48
    Matt Brailsford
    0

    Hi Mike,

    You're more than welcome.

    From a paid work perspective, it's not something we have the capacity to take on unfortunately, however if you drop me an email to [email protected] I've mentioned this to a partner that is more than happy to help so I'd be happy to forward your details on to them.

    Many thanks

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft