Jump to content

RSS Feed


Recommended Posts

 
Hello,
With the latest update I have seen that my rss feed no longer contains the new added products but only those marked as "featured".
The various changes found on the forum does not seem to work, can someone kindly suggest changes to be made to the file rss.php to show the latest products added?
Thank you.
 
 

 

Link to comment
Share on other sites

Ok, i have found the solution...change this line:

$products = Product::getProducts((int)$context->language->id, 0, ($number > 10 ? 10 : $number), $orderBy, $orderWay, $id_category, true);

with this

$products = Product::getNewProducts((int)Context::getContext()->language->id, 0, ($number > 10 ? 10 : $number), false, $orderBy, $orderWay);

in modules/feeder/rss.php

Edited by PEPPE83 (see edit history)
Link to comment
Share on other sites

  • 5 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...