Just started learning how to use the Mage for retrieving info from the database for a Google base feed. I have been calling the tables directly but I am not able to figure out how to get the "friendly" url.
I am using getProductUrl() for the direct url. I read something where you have to walk through the categories and relate the products to it (addUrlRewrite) for the Friendly URL, but with my limited knowledge it isn't making sense to me.
Question: How do I pass a ProductModel into a function of some sort and have it return the friendly url?
Thanks for your help