"View All" patterns links

Custom code to translate a yarn product ID into it’s corresponding
pa_yarn taxonomy term ID so we can run a WooCommerce filter to show all
patterns made with this yarn