Loading (multiple) products by tag name in Magento
I’m currently working on a Magento WordPress integration. One of the requirements is to display a list of products in a WordPress post, based on the tags in WordPress. Since Magento also supports tagging, I decided to ab(use) that functionality.
The build-in functionality of Magento’s tagging, allows to display a list of product only by giving the tag’s corresponding id. That leaves me with two problems:
- How to display Magento products for multiple tags?
- How to display Magento products for a given tag name?