Forums Forums General Second pagination in a woocommerce category come back to shop

Viewing 8 posts - 21 through 28 (of 28 total)
  • Trevor
    #122029
    This reply has been marked as private.
    Anonymous
    #122031
    This reply has been marked as private.
    Trevor
    #122033
    This reply has been marked as private.
    Anonymous
    #122052
    This reply has been marked as private.
    Trevor
    #122054

    We could try again doing a screen share?

    Anonymous
    #122731

    Hello Trevor,

    Could you please explain me what is doing precisely that feature “Enable filtering on Taxonomy Archives” ?

    I am sorry but I do not have time for a screen share…

    Any idea?

    Best

    Trevor
    #122820

    Hi

    If you have a taxonomy defined. For example, in WooCommerce, it has a taxonomy called product-category. So a URL for the archives page might be https://myshop.com/product-cateogry/shoes/

    Where shoes is a term in the product-category taxonomy. So, Search & Filter will try to stay within that page, using permalinks, instead of the default behavior which would be to forward the search back to the shop page.

    I am not sure how to better explain it. It doesn’t always work. It requires that the taxonomy only applies to one Custom Post Type.

    It is available in display results methods WooCommerce and Post Type Archive for this reason.

    Trevor
    #122847

    I had a look to see what Ross, the developer, has said anything in this type of request, these are his words:

    What happens in S&F form, with taxonomy archives enabled is:

    — If your search form appears somewhere on the site that is not one of those archives…
    S&F will redirect when the form is submitted, to the results URL (which will the be the post type archive).

    — If your search form appears somewhere on the site that is not one of those archives… and you choose a filter in the list that is a taxonomy (with archives)…
    Then S&F uses get_term_by to build the link for that taxonomy term archive and redirect there.

    This is all with “enable filtering on taxonomy archives”.

Viewing 8 posts - 21 through 28 (of 28 total)