• Resolved rikofert

    (@rikofert)


    Hi there,

    even if “Search in products tags” option is checked, plugin does not show any results from product_tag taxonomies.
    Using last available version of woocommerce: 2.6.8.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rikofert

    (@rikofert)

    Hi,

    actually “Suggestions limit” option in the Basic Configuration Tab is not applied to suggestion rows, but to number of “product_tag” list from which plugin searches for results; this way only the first entries taken from DB are shown. Please check the code.

    Thread Starter rikofert

    (@rikofert)

    Since no fix has been released yet, temporarily change the line 31 in file “includes/class-search.php”

    $this->slots = $this->limit; // Free slots for the results. Default 10*

    with

    $this->slots = "number_of_suggested_results_you_want"; // Free slots for the results. Default 10*

    and do not forget to increment the “Suggestions limit” option to a reasonable high number.

    Plugin Author Damian Góra

    (@damian-gora)

    Hi
    Apologies for the delayed response.

    Thanks for your suggestion. In fact, I could write it better 🙂 I will try to fix it in free time.

    Best
    Damian

    Plugin Author Damian Góra

    (@damian-gora)

    Hi,
    This is due to the hierarchy. First search matching categories, next matching tags and finally matching products. If you have checked option Show matching tags and have set Suggestions limit to 10, the algorithm search first tag names. If the algorithm finds 10 matching tags, the further search will be terminated.

    Such behavior is intentional and I don’t see an error here.

    Best
    Damian

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cannot search in product_tag taxonomy’ is closed to new replies.