Support » Plugin: WooCommerce » change the link of a subcategory to the link of the first product from this subc

  • lkras

    (@lkras)


    Hello.
    Please tell me the solution to my problem.
    There are many subcategories in the catalog. When you click on each of them, you need to go to the card of the first product in this subcategory.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support EastOfWest a11n

    (@eastofwest)

    Hi there!

    It’s not completely clear what exactly you’re trying to achieve. Would you mind to expand with more detail so that we can better assist?

    Thread Starter lkras

    (@lkras)

    Hi, @eastofwest
    I need to change the link of a subcategory to the link of the first product from this subcategory. To open a personal product page, not a catalog page.

    For example, I have a directory with this structure:

    - Clothing
       - Jeans
          - Jeans 1
          - Jeans 2
          - Jeans 3
       - T-shirts
          - T-shirt 1

    Now when I click on the “Jeans” subcategory, I go through the directory hierarchy below and see all the products in this subcategory.
    I want to change the logic. When I click on the “Jeans” subcategory I need to go to the personal page of the “Jeans 1” product.

    • This reply was modified 1 year ago by lkras.
    • This reply was modified 1 year ago by lkras.
    Thread Starter lkras

    (@lkras)

    Hello.
    Maybe someone still knows how to solve this problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘change the link of a subcategory to the link of the first product from this subc’ is closed to new replies.