Jump to content

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.
 
 

 

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

 

 

With the latest update I have seen that my rss feed 

hello

you upgraded module, or prestashop only?

Share this post


Link to post
Share on other sites

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

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More