Support

Account

Home › Forums › Front-end Issues › Page Link for Woocommerce Product Categories › Reply To: Page Link for Woocommerce Product Categories

  • Instead of using the “Page Link” Field Type, use the “Taxonomy” Field Type instead, and select “product_cat” as the Taxonomy.

    If you get the taxonomy by Term ID (rather than as Term Object) you’d need to output your link on the page like this:

    <?php echo get_term_link( get_field( ‘featured_page_link’ ) ); ?>

    The only issue with this method is if you’re using it in a Repeater, you can’t mix links to product categories with links to pages/posts.