Tweak template loader to work with other WC product taxonomies.

Closes #5521
2.2 read me update