Searching products by attributes

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Searching products by attributes

This topic contains 6 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 11 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12755
    stolaweb
    stolaweb
    Participant

    I 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?

    #12757
    stolaweb
    stolaweb
    Participant
    You cannot access this content.
    #12763
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    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: https://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: https://i.imgur.com/nVZevKY.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #12771
    stolaweb
    stolaweb
    Participant

    thank 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

    http://prntscr.com/eypzik

    can we turn off a search bar and leave only the search drop downs collumns?

    thx

    #12772
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    It is possible to turn off the search bar completely on the Layout Options -> Search box layout panel: https://i.imgur.com/7fm9IkF.png

    ..then you could use this shortcode to display the settings first, and the results under, as a block element:

    [wd_asp elements='search,results' ratio='100%,100%' id=1]
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #12773
    stolaweb
    stolaweb
    Participant

    thank You works good

    and the last question: how to center theese settings?

    http://prntscr.com/eyqkhb

    #12774
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    There is no option for that, but try this custom CSS for it:

    .searchsettings form {
        justify-content: center !important;
    }

    You can copy this into the custom CSS field on the search settings panel, if your theme does not allow custom CSS: https://i.imgur.com/UaNciA4.png
    That should do the trick 🙂

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.