Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Searching products by attributes
- This topic has 6 replies, 2 voices, and was last updated 9 years, 1 month ago by
Ernest Marcinko.
-
AuthorPosts
-
April 19, 2017 at 1:09 pm #12755
stolaweb
ParticipantI want to make a search by attributes
I made attributes (Product–Attributes) http://prntscr.com/ey8yct
then I make taxonomy search drop-downs http://prntscr.com/ey8yru at the front end
The problem is when I choose an attributes to search in search options on the page then results are the all products not connected with attributes
for example http://prntscr.com/ey90o0 for aktywnosc – pokazy should be the one product (12% competition mix) not several products
http://www.zywieniekoni.pl/wybierz-swoja-pasze/
how to set up this to work properly? I done everything correct with tutorial for taxonomies
what options should be turn off to make results only for those products which have attributes?
April 19, 2017 at 5:57 pm #12757stolaweb
ParticipantYou cannot access this content.
April 20, 2017 at 9:40 am #12763Ernest Marcinko
KeymasterHi,
I’m guessing because by default the plugin will display items that have no attributes, you can change that on Frontend search settings -> Adnvanced panel: http://i.imgur.com/C1f7zbd.png
This will most likely do the trick.Also, if you want to change the logic, you can experiment with that as well: http://i.imgur.com/nVZevKY.png
April 20, 2017 at 3:02 pm #12771stolaweb
Participantthank You very much it looks like works
please tell me also how to reorganize the search settings display to move settings drop down columns upper because the results hiding them
can we turn off a search bar and leave only the search drop downs collumns?
thx
April 20, 2017 at 3:13 pm #12772Ernest Marcinko
KeymasterHi,
It is possible to turn off the search bar completely on the Layout Options -> Search box layout panel: http://i.imgur.com/7fm9IkF.png
..then you could use this shortcode to display the settings first, and the results under, as a block element:
[code][wd_asp elements='search,results' ratio='100%,100%' id=1][/code]
April 20, 2017 at 3:42 pm #12773stolaweb
Participantthank You works good
and the last question: how to center theese settings?
April 20, 2017 at 3:50 pm #12774Ernest Marcinko
KeymasterHi!
There is no option for that, but try this custom CSS for it:
[html].searchsettings form {
justify-content: center !important;
}[/html]You can copy this into the custom CSS field on the search settings panel, if your theme does not allow custom CSS: http://i.imgur.com/UaNciA4.png
That should do the trick 🙂 -
AuthorPosts
- You must be logged in to reply to this topic.