Product Mentions
Hi guys
We've been playing with Product Mentions and have noticed a few things that are missing that could make this feature much more useful.
1. An API for relationship between Message/Product
eg. /messages/id/msgID/products and /products/id/prodID/messages
So you can fetch a list of products mentioned in a message and fetch a list of messages where a product is mentioned.
2. When the Product Mention is added to the message body its added like this
<a href="http://www.ecohaus.me/productdisplay/nest-protect-smoke-and-carbon-monoxide" rel="nofollow">Nest Protect</a>
It would make sense to add a data attribute for the product ID so via the front end you can do more interesting things by calling the product data via the API. (in case we don't want the existing product carousel)
<a href="http://www.ecohaus.me/productdisplay/nest-protect-smoke-and-carbon-monoxide" rel="nofollow" data-product="nest-tstat" >Nest Protect< /a>
Likewise you could spot this when fetching a message body via the API too.
These two simple updates would open up a world of oppurtunities for Product Mentions.