harmon Posted July 28, 2013 Share Posted July 28, 2013 Hi I would like to get the product urls from the myql database, can it be done? Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2013 Share Posted July 28, 2013 what you exactly mean? You want to get full product url? If so, it isn't possible, in this case you have to use Link object (php class) Link to comment Share on other sites More sharing options...
harmon Posted July 28, 2013 Author Share Posted July 28, 2013 Just wondering where would this Link object be found? Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2013 Share Posted July 28, 2013 Link object is a php class located in the /classes/Link.php file in the PHP script - you can use $link->getproductlink(); function defined in Link class. just put correct parameters into the fuction then you will be available to generate correct product url. it will be much easier if you will say wat you exactly want to achieve. Link to comment Share on other sites More sharing options...
harmon Posted July 28, 2013 Author Share Posted July 28, 2013 Excellent I would like to get the product url and the image url too, can the image url be returned by the Link class as well? I am doing this because I want to get a list of product urls and image uls, for a project I am working on. Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2013 Share Posted July 28, 2013 that's right, link object has got function getImageLink($name, $ids, $type = null) this function returns url to the product image Link to comment Share on other sites More sharing options...
harmon Posted July 28, 2013 Author Share Posted July 28, 2013 Thank you! Link to comment Share on other sites More sharing options...
vekia Posted July 28, 2013 Share Posted July 28, 2013 im going to mark this topic as solved, but if you will have any questions related to this case - feel free to continue discussion best regards Link to comment Share on other sites More sharing options...
harmon Posted August 3, 2013 Author Share Posted August 3, 2013 Can the actual image url be gotten through web services? Thanks Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2013 Share Posted August 3, 2013 hello i suggest you to create new thread, it will be more visible and im convinced that you will get an answer faster Link to comment Share on other sites More sharing options...
Recommended Posts