Joshuaar Posted July 13, 2011 Share Posted July 13, 2011 Hey guys,I have been exporting product information (img url, description, category, price, etc.) from PHPMyAdmin into a csv file for a product comparison site to use. But the final thing I need is the Product URL's, and it seems it is not part of the database. It would be great to be able to pull it from the DB with the corresponding id_product as well so I can match it up easily.Am I overlooking something? Or is there another way to pull the product url's from somewhere?Thanks in advance! Link to comment Share on other sites More sharing options...
Joshuaar Posted July 14, 2011 Author Share Posted July 14, 2011 Thankyou so much Angora!I am using friendly URL's and use only English in my store, but I can see by using the first method it redirects to the friendly URL anyway.E.G. http://www.domain.com/store/product.php?id_product=1 will end up something like http://www.domain.com/store/perfume/1-armani-code.htmlBecause I know which $id_product values I need from my previous exports I can just use that to make up the URL's. Being a newbie with MySQL and PHP I think this may be my best bet for now.I will investigate the getProductLink further as well, as this csv file will need to be updated regularly.Thanks again. Link to comment Share on other sites More sharing options...
cheap gaming pcs Posted February 20, 2012 Share Posted February 20, 2012 Hey guys, I have been exporting product information (img url, description, category, price, etc.) from PHPMyAdmin into a csv file for a product comparison site to use. But the final thing I need is the Product URL's, and it seems it is not part of the database. It would be great to be able to pull it from the DB with the corresponding id_product as well so I can match it up easily. Am I overlooking something? Or is there another way to pull the product url's from somewhere? Thanks in advance! Hi Could you please explain how you exported product information (img url, description, category, price, etc.) from PHPMyAdmin into a csv Many Thanks Gary Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now