I want to create a product page (with a pretty URL for the product name). It will take in a productId query string variable and display the product, but I want it to be within the WordPress installation so that I can take advantage of any template tags, WP functions, etc.
My options seem to be:
1.) Create a Page template, and hack it somehow so that WordPress knows it is a product page and not a Page. I suppose this would involve creating a plugin action or filter that will somehow hook into this Page.
2.) Create a PHP page within the WordPress install and just use mod_rewrite to print out a friendly URL. I would just link to this page, and process the query string variable as needed.
Thoughts? Thanks!!!