• Hoping someone can help me with this. I’ve searched for a solution, but no joy.

    I have a category with 2 sub-categories. 1 of the sub-categories will show products, but the other one I’d like for it, when clicked on, to go to another outside website page entirely. I’m sure this is possible, just cannot figure out how to do it. Can anyone please help me out?

    Category
    –sub-category (shows products)
    –sub-category (leaves site and opens another site’s web page)

    I thought about using a Redirect in .htaccess, but would rather not do that if at all possible.

    Using WC 2.1.2

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter CharlyIBC

    (@charlyibc)

    I opted to do the Redirect 301, since I had no replies. It works, but I would rather it open in a new tab.

    While researching how this may be done, I came upon this thread:

    Redirect by Custom Field

    At the end, Thiago put in code that worked for him:

    <?php if ( function_exists('redirect') ){echo'target="_blank"';} ?>

    Only he doesn’t state where he placed the code. Anyone have an idea?

    Thanks!

    Now using WC 2.4.12

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WooCommerce] Direct sub-category to outside site link’ is closed to new replies.