Looking for WordPress PDF Converter with Custom Templates?

You could create a new endpoint using add_rewrite_endpoint, for example /datasheet/ so your URL would be example.com/product/datasheet. You can then hook in to template_redirect and check that you are on a product page with this datasheet query var set. From here, you can then load a separate template which will display the fields you require … Read more