• Resolved sshahid12

    (@sshahid12)


    Hello

    Im trying to using search by text bar on a page but I would only like for search results to be filtered from one category and not across the whole website.

    How can I use [woof text_search] code to limit on a page based on one woocommerce category.

    Is there any other code?

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    This will work by default if the shortcode is set on the category page

    Or you can use shortcode – https://products-filter.com/shortcode/woof – please use attributes tax_only, by_only, taxonomies

    an example:

    [woof tax_only=’none’ by_only=’by_text’ taxonomies=’product_cat:9′]

    Thread Starter sshahid12

    (@sshahid12)

    But this code [woof tax_only=’none’ by_only=’by_text’ taxonomies=’product_cat:9′] is not for search. My question is how can i create a search by text bar to only limit by search from one category?

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    This is a shortcode that displays only text search for a specific category.

    Maybe the problem is that you directly copied the shortcode and did not correct the formatted quotes

    [woof tax_only='none' by_only='by_text' taxonomies='product_cat:9']
    Thread Starter sshahid12

    (@sshahid12)

    Hi Im actually trying the following in my divi code.

    [woof tax_only=’none’ by_only=’by_text’ taxonomies=’product_cat:395′]

    395 being our specific category

    Whenever I put the above on the page I do not see search bar, rather only categories, attributes etc.

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    Can you drop me exact link to this page?

    Thread Starter sshahid12

    (@sshahid12)

    Hi This is the page. Its a test page thats why its password protected.

    https://alhudainstitute.ca/book-store/

    pswd: bookstore

    We are trying to get a search by text bar under the list of categories so when customers come to this pg they can just search only from the books under this page. all the products in this page are fixed to one category only.

    Kindly let us know if this is possible.

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    You’re using a premium plugin which isn’t supported here. Write to the site of the author of this plugin – https://pluginus.net/support/forum/woof-woocommerce-products-filter/

    Moderator Support Moderator

    (@moderator)

    For pro or customer support, please contact the developer on their site. This includes pre-sales information.

    As the developer is aware, customers may not be supported on this site.

    https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.