backdrop-ops / contrib

Apply to join the contributed code developer team.
23 stars 16 forks source link

Port request: Facets Pretty Path #753

Open samgreco opened 9 months ago

samgreco commented 9 months ago

Facets Pretty Path

Link to the the Drupal version of Facets Pretty Paths

Would really love to have this module. I have an Ubercart store with 200o+ products using Search API and Facets as the catalog. I wanted to be able to link the Brands vocabulary/terms to those search pages so our brands pages would take the user back to the catalog, filtered by the selected brand. I did this in Drupal 7 using the Facets Pretty Paths.

nattywebdev commented 2 months ago

I would like to see this too - my current path for product search looks as bad as Amazon's, for example: /list-products?f%5B0%5D=taxonomy_catalog%253Aname%3Abooks

This looks like a percent encoding of /list-products?f[0]=taxonomy_catalog%253Aname:books

when it would be wonderful to have: /list-products?catalog=books

samgreco commented 2 months ago

Actually, we paid someone to migrate this module. I does work, but we really need Entity Paths as well to make it work fully. I have not found anyone to migrate that one yet without open-ended time/charges. I am trying to find someone to migrate that one with a "do not exceed" amount, so we don't end up paying a fortune on a never ending project.

I haven't shared that module, nor the other 3 we did because we can't support them. But if someone wanted to maintain them, I would certainly "donate" them.

We did: Facets API Pretty Paths Search Autocompete Search Live Results Ubercart Disable Product/Call for Price

Unfortunately, Facets Pretty Paths is not completely helpful without Entity Paths.

laryn commented 2 months ago

I haven't shared that module, nor the other 3 we did because we can't support them. But if someone wanted to maintain them, I would certainly "donate" them.

I believe you can move these into contrib without maintainers, and indicate they are looking for maintainers.

samgreco commented 2 months ago

I look into that. I would love to see these getting used and improved. I still think Ubercart with Search API and Facets is a pretty powerful setup.

nattywebdev commented 2 months ago

I agree with that and would be most grateful to see these modules made available. Thank you @samgreco !

nattywebdev commented 1 month ago

Any progress on this @samgreco ? Anything I can do to help?

samgreco commented 1 month ago

Sorry, no. My real life has been quite hectic. And I have never done anything on Github other than the issue queues. So no idea where to start when I do have a moment.

nattywebdev commented 1 month ago

Maybe @laryn could advise? I'm a novice in that regard too so not much help, I'm afraid.

nattywebdev commented 1 month ago

@samgreco can you say how Facets Pretty Paths can change the path of facet searches? And what is missing in the absence of Entity Paths? I guess I'm asking how far does Facets Pretty Path go to improve the path in the absence of Entity Paths?

samgreco commented 1 month ago

I won't be able to answer until later. At work now and will need to get into my test sites when I have some time to give you examples. Hang in there...

nattywebdev commented 1 month ago

Great - thank you for replying @samgreco

rudy880719 commented 1 month ago

@samgreco Do you still need help migrating the module? specifically which module it is?

samgreco commented 1 month ago

Actually, what I need now is the Entity Paths module.

samgreco commented 3 weeks ago

Sorry I haven't followed up on this. Life has been hectic. Turns out, I don't need Entity Paths at all. Just good URL paths in my taxonomy and views pages. @nattywebdev If you want to see how this formats now, check out https://audiosupply.com/products That should give you an idea. It's not perfect, but it is pretty good. Then look at the brands page. Since I got the taxonomy stuff formatted correctly, I was able to set that page up to go back to the products pages, filtered by the Brands facet.

I'd love to upload these modules, but don't have a Github developers account really setup. I only created this account so I could post issues and follow stuff. Don't have the first clue how to proceed with this. I also had the Search API Auto Complete and Live Results modules done, as well as the Ubercart Disable Product which allows the add-to-cart form to be disabled and a Call for Price button option.

samgreco commented 3 weeks ago

Also, I would be fine with sending these files to someone that could upload, etc.

nattywebdev commented 2 weeks ago

Thanks for that @samgreco - nice to see it in action. As I wasn't able to get a fix for the urls using facets I went with a Views solution. It had other benefits so I'm fairly happy with the result. Still would like to see Facets Pretty Path in Backdrop though - I will likely need it in future. I'm not particularly skilled in github either so am not volunteering to take this forward. Maybe @laryn might?