Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Add Query args on Product Category URL

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #280899
    deb
    Participant

    Hello all,

    I want to add URL parameter on product categories dynamically, for example:

    by default you have product category url like:
    example.com/product-category/furniture/living/armchairs/

    Now I want to append:
    example.com/product-category/furniture/living/armchairs/?fwp_product_categories=armchairs (append the last category dynamically).

    I want to add it only on product-category only, I have tried add_query_arg but I am not able to do it for product-category.
    https://pippinsplugins.com/the-add_query_arg-helper-function/

    Any help will be appreciated.

    Thank you

    #282395
    KateMoss
    Participant

    Very useful information for people, I think this is what everyone needs.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.