I need to create a products plugin that will show products based on a slug. The database will be something like this:0
A slug will have the form product-name (eg small-box-of-chocolates).
When someone clicks the product it will load the page /small-box-of-chocolates which will load the content from the product with slug small-box-of-chocolates
Can someone give me a few pointers please