Jump to content

Understanding the RSS feed in PrestaShop for Products.


Recommended Posts

Hello,

 

Open any category then click on RSS subscribe button in your browser, subscribing dialog will be opened.

Or you can compose RSS product feed link manually:

 

yourdomain.com/modules/feeder/rss.php?id_category=3&orderby=position&orderway=asc

 

replace 3 with your category id.

  • Like 1
Link to comment
Share on other sites

  • 3 months later...

in rss.php file (modules/feeder/rss.php) you can define order by and order way params (in getProducts function)

$products = Product::getProducts((int)Context::getContext()->language->id, 0, ($number > 10 ? 10 : $number), $orderBy, $orderWay, $id_category, true);
  • Like 1
Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...