Forums › Forums › Search & Filter Pro › Set slug problem
Tagged: Slug
- This topic has 9 replies, 2 voices, and was last updated 8 years, 3 months ago by Trevor.
-
Anonymous(Private) August 17, 2016 at 10:18 am #54811
I’am trying to add a filter to a every product i have in the website.
I want to give up the right slug in my filter for link in the backend i guess.Example products slug:
example.com/car/ford100
example.com/car/ford200
example.com/car/ford300The Shortcode i added to the single page and is working. But the filter doesn’t work.
I hope it is clear, please let me know.Anonymous(Private) August 17, 2016 at 2:27 pm #54832I try to explain my situation step by step:
– Step 1 I got an overview from cars with an other search and filter bar. It works great.
– Step 2 When i click on a car i got a summary of details from the selected car.
Below this content, is a summary with car deals(Custom post type). Above the deals i put a filter.
I copy most of it from result.php.– Step 3 The problem is i load the content with ajax. But my slug isn’t good.( http://leasechecker.convidenthost.nl/auto/<?php get_slug ?> ). I talk about the slug field option in your plugin. There is my problem i think. Can you help me with this?
Thanks again
Anonymous(Private) August 17, 2016 at 3:47 pm #54836When I’m on a single car (Dutch word is ‘auto’) page (http://leasechecker.convidenthost.nl/auto/audi-a2 for example), the filter doesn’t work correctly (I’ve filtered on ‘Budget’ for example).
Underneath the pictures there are several results, with a couple of attributes. When you’re filtering, the results always will be zero. I think the problem is caused by the slug or something. Tomorrow we’ll be able to Skype if that’s necessary.
Trevor(Private) August 17, 2016 at 5:13 pm #54853I think I see the problem. You want it to filter within the category and stay on the same page, yes? At this time, that is not possible. But, you can emulate it, but the url will have the root of
http://leasechecker.convidenthost.nl/auto/
Instead of going to:
http://leasechecker.convidenthost.nl/auto/audi-a2
you would have to have
http://leasechecker.convidenthost.nl/auto/?_sfm_model=audi-a2
or something like that, and the filter must have the car model in it, even if you use css to hide the field.If I have understood you. We are working on this feature you want, but it is not yet ready.
Anonymous(Private) August 22, 2016 at 8:25 am #55191Is there no other way? http://leasechecker.convidenthost.nl/auto/audi-a2 We prefer this kind of slug. Is it possible too build it with php code, i don’t no if you have an example like result.php? Thanks
-
AuthorPosts