Jump to content

How to get all product links


Recommended Posts

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

  • 9 months later...
  • 2 years later...
×
×
  • Create New...