For this purpose there is get_term_link
function (documentation).
<a href="https://wordpress.stackexchange.com/questions/199226/<?php echo get_term_link( 42 ,"product_cat') ?>">Fine Art ... etc.</a>
Product category is just WP taxonomy, so there is plenty of functions to work with. In this case you have to know your product category ID (taxonomy term ID, actually). When editing category, you will find it in URL: …/edit-tags.php?action=edit&taxonomy=product_cat&tag_ID=42&post_type=product
Related Posts:
- How to add date range in woocommerce with code
- Remove Woocommerce product link
- Display sorting options dropdown when using WooCommerce product category shortcode
- How to get the original price of the product in woocommerce?
- Using Cookie Data For WP_Query Loop
- How to Remove a Filter from the Admin List Table?
- Remove commas from WooCommerce checkout addresses fields
- Output a WooCommerce product custom field in WooCommerce using get_post_meta()
- Append a term to WooCommerce product existing product category terms
- using woocommerce_template_single_add_to_cart in shop-loop – javascript issues [closed]
- Writing scripts using WordPress / WooCommerce classes?
- My Own layout in WooCommerce pages [closed]
- Woocommerce – remove product from category
- How to make custom total price reactive in navigation
- Change description on specific WooCommerce product status change
- Add the Name of Products Ordered to Admin New Order Email WooCommerce
- Woocommerce – Filter Variable Products by Variation Attributes and Variations Regular Price
- How to add a second ‘place order’ button in WooCommerce [closed]
- get current product name in functions.php
- Woocommerce redirect thankyou page based on product ID doesn’t empty Cart
- Get WooCommerce product details and transfer them to a custom DB table
- tracking number field in Woocommerce order [closed]
- WooCommerce Related Products by Attribute
- Image as Sales Badge
- Woocommerce product variation backorder
- Status 400 for AJAX POST Request with admin-ajax.php
- Modify HTML structure of fields in woocommerce checkout form
- Add a product to checkout via form
- Trying to place a custom field after the total section in the checkout page in woocommerce
- WordPress default Search function inconsistent in WooCommerce Product Titles
- WooCommerce: How can I get orders with a custom ID in order meta data object?
- How can I get the values of my WordPress $wpdb query in Jquery?
- Trouble checking if custom woocommerce checkout field is empty or not
- My new button is in the wrong place
- How to add specific meta tags to head of cart and checkout pages in woocommerce?
- echo something inside a shortcode
- Function returns text instead of html [closed]
- require_once() if a product in woocommerce contains a tag [closed]
- How to display SQL query that ran in WC_Order_Query?
- How to disable delivery on certain date at checkout page in WooCommerce?
- How do I change this function from two returns to one string to show sku and dimensions in WooCommerce cart?
- Call WC_Product get_price()?
- Changing the order of custom fields in the dashboard for Woocommerce variable products [closed]
- woocommerce wc_create_order(); is creating multiple orders instead of one?
- Include js script ONLY on woocommerce product category pages? [closed]
- How to work Woocommerce pagination inside shortcode?
- How to restrict shipping zone in a specific interval time
- Hide specific product from Woocommerce if the logged-in user has already enrolled into the course
- Payment field disappears on custom Paypal plugin
- Creating a brand attribute as a variable
- Convert a column of a table containing an Array as response in HTML
- Display custom field value in woocommerce variable product via jQurey
- I am having errors with checkout on wordpress
- Billing detail page doesn’t work after I’ve changed the order of the Woocommerce navigation
- Change the URL of an image from wp_get_attachment_image_src for Product Posts based on Category
- Combine change Email WordPress and woocommerce emails template
- get orders of today’s date
- product_type_options get saved value [closed]
- How to retrieve quantity input field by id in woocommerce
- Woocommerce Product page add on checkbox and price
- How to set Nav as a default menu in wordpress
- How can I update the price when someone enters postcode or zip code in woocommerce checkout page?
- Add to cart quantity dynamic
- Woocommerce – get daily sales meta
- Custom woocommerce payment gateway – Form
- Discount in the specific product title using keyword ( Woocoommerce )
- Place product field value as variable in php
- Change WooCommerce currency programmatically on AJAX request
- Woocommerce textarea format ignored
- i want add conditional for add category in wordpress
- How can I add another row to the total field in WooCoommerce cart, checkout and recipe mail?
- append data to mysql table via submit button coded in php – not working
- random woocommerce categories are not showing when count enabled?
- Put a span class in the shortened product title
- Add missing alt tag to featured images for “storefront” theme
- How to limit functionality of a woocommerce plugin to only certain user role?
- PHP – Woocommerce 3.2 Add variable shipping insurance with multiple “else if ” conditions
- Sort WooCommerce data with WP-CRON?
- Display specific main Sub Nav on Woocommerce product pages
- Clone the “proceed to cart” button and place it above checkout on the cart page, but only appear display size is 320px
- Use PHP code in Menu Admin Section
- WordPress 3.0 PHP Error – notice WordPress_product_Type was called incorrectly
- Need Quick Help With Product Category Page
- Adding my own custom template page but got white page
- How to set up and use a custom upload directory for post type ‘product’
- How to get the rating value of each comment
- wc_add_notice not working on cart page
- How keep woocommerce users separeted in multisite install and keep admins on network
- Exclude specific product tags from related products in WooCommerce 3+ [closed]
- WooCommerce Orders pagination
- Product Category Page in Full Width
- After declaring woocommerce theme support products are no longer displayed
- Replace the image of a product with its video in the shop page
- WCFM Custom form
- Hide child of parent categories already hidden with “get_terms_args” – Woocommerce
- Find owner of coupon
- Removing the add to cart button from specific product pages
- Add Woocommerce Customers link to custom admin menu
- PayPal button not showing and cannot retrieve order error in PayPal
- Add text below WooCommerce short description if metabox value is true