JTT Posted January 15, 2013 Share Posted January 15, 2013 Hello, in prestashop 1,4 I was using a "module" that was able to get all the links of the active products in the shop. The function looked like this : $context = Context::getContext(); $row['link'] = $context->link->getProductLink((int)$row['id_product'], $row['link_rewrite'], $row['category'], $row['ean13']); Now in v.1,5 everything works fine except this function. Is it possible to rewrite it, so it will function in v1,5 ? Thanks. Link to comment Share on other sites More sharing options...
jantolg Posted November 8, 2013 Share Posted November 8, 2013 try this:global $link; $row['link'] = $link->getProductLink((int)$row['id_product'], $row['link_rewrite'], $row['category'], $row['ean13']); Link to comment Share on other sites More sharing options...
vekia Posted November 8, 2013 Share Posted November 8, 2013 hello what you've got in $row variable? i suppose that results of query, but what query? Link to comment Share on other sites More sharing options...
lunos Posted May 6, 2016 Share Posted May 6, 2016 Is there a adequate solution how to get all links of products in Prestashop 1.6? Link to comment Share on other sites More sharing options...
Recommended Posts