Crocoblock / suggestions

The suggestions for CrocoBlock project
195 stars 78 forks source link

Append search parameters to URL when filtering #126

Closed KingGrizzly closed 5 years ago

KingGrizzly commented 5 years ago

I have a pressing need with JetFilters which three clients all require currently. The need is to append filter parameters to the page URL as filters are selected.

As an example: mysite.com/page would show something like mysite.com/page?make=car-type when a filter is tabbed on. See a working demo here: https://facetwp.com/demo/cars/ and click on checkboxes at right to see what happens - especially with multiple selections.

This allows the client to use and share URLs with pre-selected filters. If I'm a car salesman and want to show a person all of the used, red, Honda Acura's my dealership has, I could select the relevant filters and then share the URL with a potential car buyer.

Similarly, a school could handle a list of courses or school faculty this way. A counselor might want to send a parent or student a page with the Freshman Math teachers pre-selected.

This need is pressing enough, I'll have to chose a different solution if JetFilters can't do this. Which is frustrating, because the Jet family is so much easier to use (especially with Elementor) than other solutions.

Are these types of parameters possible? Thanks.

shinTM commented 5 years ago

Thank you for your question. You can use the "Apply Type" select and choose "Page Reload" instead "AJAX", which default value for this settings https://prnt.sc/n3k77e

andrewkirkcaldy commented 4 years ago

@shinTM I am wanting to use select boxes to build up a filter and after clicking apply (using page reload) it navigates to another page i.e. the results page from the homepage. Is there a way to do this?

thanks

Floydtm commented 4 years ago

@andrewkirkcaldy, Hi! I think this is what you need.

andrewkirkcaldy commented 4 years ago

Thanks Floyd!

On Fri, 6 Mar 2020 at 06:57, Floyd notifications@github.com wrote:

@andrewkirkcaldy https://github.com/andrewkirkcaldy, Hi! I think this https://crocoblock.com/knowledge-base/articles/jetsmartfilters-how-to-set-up-a-redirect-path-to-filter-results-page/ is what you need.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Crocoblock/suggestions/issues/126?email_source=notifications&email_token=AM6FIAEC4P6RDNYF2QYWO5DRGCNGRA5CNFSM4HAT4AZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOAJGEA#issuecomment-595628816, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6FIAGVBHUE32UHG42Z7CTRGCNGRANCNFSM4HAT4AZQ .

--

Andrew Kirkcaldy

Artisan Digital

m: +44 (0)7540 501 350

e: andrew@artisan-digital.agency

This communication is from Artisan Digital Limited (AD)

Registered Office - Unit 411, The Bonded Warehouse, 18 Lower Byrom Street, Manchester, Greater Manchester, England, M3 3GS | Company Number: 10967564 | Bristol Office: The Cedar Wood Barn | Home Farm | Foxholes Lane | Tockington | Bristol | BS32 4PF

Opinions, conclusions and other information in this e-mail and any attachments which do not relate to the official business of the company are neither given nor endorsed by it. This e-mail is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately then delete the email and destroy any copies of it. E-mail communications cannot be guaranteed to be secure or error free. Where possible, confidential data should be sent in encrypted form. This e-mail has been scanned by (AD) anti-virus software before transmission, but (AD) cannot warrant that this e-mail is free from viruses. (AD) does not accept liability for the consequences of any viruses that may inadvertently be attached to this e-mail. Anyone who communicates with (AD) by e-mail is taken to accept the risks in doing so. When addressed to a client, any opinions or advice contained in this e-mail and any attachments are subject to the terms of business in force between (AD) and the client.

martinsober commented 2 years ago

Wow, I cannot state how much I need this solution as well for an e-commerce website. The "page reload" does not work, as I need to manually click on the Apply button. Is there a way to overcome this?

mbaierl commented 1 year ago

A good documentation would help to figure out which parameters can be sent, even if AJAX is selected.