spinnyb Posted June 3, 2010 Share Posted June 3, 2010 Hi, Is there anyway to make the RSS feed show new products? Link to comment Share on other sites More sharing options...
jnktaylor Posted June 3, 2010 Share Posted June 3, 2010 Enable the RSS feed module and add products to the Home category.The RSS feed with be www.yourdomain.com/rssJack Link to comment Share on other sites More sharing options...
spinnyb Posted June 3, 2010 Author Share Posted June 3, 2010 thanks. i have done that to show featured products. I was just wondering if the list could be changed to change it to the new products only Link to comment Share on other sites More sharing options...
rocky Posted June 4, 2010 Share Posted June 4, 2010 Try changing line 16 of modules/feeder/rss.php from: $products = Product::getProducts(intval($cookie->id_lang), 0, ($number > 10 ? 10 : $number), $orderBy, $orderWay, $id_category, true); to: $products = Product::getNewProducts(intval($cookie->id_lang), 0, ($number > 10 ? 10 : $number), false, $orderBy, $orderWay); 1 Link to comment Share on other sites More sharing options...
spinnyb Posted June 4, 2010 Author Share Posted June 4, 2010 I get a Hack attempt if i try this. Its fine. I'm probably best to let it stay at featured products actually - as if i had it at new products it would probably be empty after the initiial setup period. Link to comment Share on other sites More sharing options...
Josu3E Posted July 12, 2010 Share Posted July 12, 2010 I have also the same problem ("hack attempt") when I try to use that function on my backoffice. $newProducts = Product::getNewProducts(intval($cookie->id_lang)); Plz, any solution? Link to comment Share on other sites More sharing options...
rocky Posted July 13, 2010 Share Posted July 13, 2010 It seems PrestaShop doesn't like it when you leave out the orderBy and orderWay parameters. Try using the following instead: $newProducts = Product::getNewProducts(intval($cookie->id_lang), 1, 10, false, 'date_add', 'DESC'); Link to comment Share on other sites More sharing options...
mel- Posted September 1, 2010 Share Posted September 1, 2010 when I use the above line, I just get the first line of the feed with name of shop, logo etc. it doesn't actually pull any products.any ideas?thank you for your time. Link to comment Share on other sites More sharing options...
nodar44 Posted September 23, 2010 Share Posted September 23, 2010 Always no solutions for this ?Thanks. Link to comment Share on other sites More sharing options...
jeckyl Posted October 24, 2010 Share Posted October 24, 2010 Hi,i'm working on it and it's very strange i can't have the right result with new products. Link to comment Share on other sites More sharing options...
jaro61 Posted October 24, 2010 Share Posted October 24, 2010 Enable the RSS feed module and add products to the Home category.The RSS feed with be www.yourdomain.com/rssJack I don't understand how to use RSS module. Please, explain it for me more.Thanks...Jaro Link to comment Share on other sites More sharing options...
mel- Posted October 24, 2010 Share Posted October 24, 2010 jaro,he means to go to the modules and install the rss feed module. you will need to have the products in the Home category to show up. then go to the url and you will see your rss feed at that url. that is the url to use to send or give it to people to read with their feeders.if your site is mobilpc-centrum.sk then your rss feed will appear at http://www.mobilpc-centrum.sk/rss Link to comment Share on other sites More sharing options...
jeckyl Posted October 24, 2010 Share Posted October 24, 2010 jaro,he means to go to the modules and install the rss feed module. you will need to have the products in the Home category to show up. then go to the url and you will see your rss feed at that url. that is the url to use to send or give it to people to read with their feeders.if your site is mobilpc-centrum.sk then your rss feed will appear at http://www.mobilpc-centrum.sk/rss This feed never exist on Prestashop to use the Prestashop rss fed you can put the url yoursite.com/modules/feeder/rss.php and if you want to create feed for some categories, put hthe id like this rss.php?id_categorie=2 for the category 2. You can define order by name, position, date_add, date_upd like rss.php?id_categorie=2&orderby=position and you can define the order way like rss.php?id_categorie=2&orderby=position&orderway=ASC or DESC. Link to comment Share on other sites More sharing options...
jaro61 Posted October 24, 2010 Share Posted October 24, 2010 Ok, my rss feeder is http://www.mobilpc-centrum.sk/modelar/modules/feeder/rss.phpAnd more one question. How to configure module RSS. If I add link http://www.rcking.eu/modules/feeder/rss.php in field "Add a feed URL" then on homepage is always "No RSS feed added". Where am I doing wrong?Thanks ....JAro Link to comment Share on other sites More sharing options...
rocky Posted October 25, 2010 Share Posted October 25, 2010 Try the following instead: http://www.rcking.eu/modules/feeder/rss.php?id_category=0&orderby=position&orderway=ASC Link to comment Share on other sites More sharing options...
peanut Posted November 21, 2010 Share Posted November 21, 2010 HiFound a solution that works on my site here:http://www.prestashop.com/forums/viewthread/75540/configuring___using_prestashop/get_all_products_in_rss/Hope it works! Link to comment Share on other sites More sharing options...
frosticek Posted November 23, 2010 Share Posted November 23, 2010 Please, how can I hide prices of products in RSS channel ?? Link to comment Share on other sites More sharing options...
rocky Posted November 27, 2010 Share Posted November 27, 2010 Change line 41 of modules/feeder/rss.php from: echo "\t\t\t<title><![CDATA[".$product['name']." - ".html_entity_decode(Tools::displayPrice(Product::getPriceStatic($product['id_product']), $currency), ENT_COMPAT, 'UTF-8')." ]]></title>\n"; to: echo "\t\t\t<title><![CDATA[".$product['name']/*." - ".html_entity_decode(Tools::displayPrice(Product::getPriceStatic($product['id_product']), $currency), ENT_COMPAT, 'UTF-8')*/." ]]></title>\n"; Link to comment Share on other sites More sharing options...
peanut Posted November 27, 2010 Share Posted November 27, 2010 Hi,How can we convert this to an xml file that is compatible with feedburner? The current file is not recognised by feedburner. Link to comment Share on other sites More sharing options...
rocky Posted November 27, 2010 Share Posted November 27, 2010 You'd need to rewrite modules/feeder/rss.php to echo XML instead of the RSS. I'm not familiar with Feedburner or the XML format required, so I can't help. Link to comment Share on other sites More sharing options...
SuperPC Posted December 8, 2010 Share Posted December 8, 2010 Hi, Just wondering how I can get all products in the RSS feed? Link to comment Share on other sites More sharing options...
xiawa Posted August 9, 2011 Share Posted August 9, 2011 It seems PrestaShop doesn't like it when you leave out the orderBy and orderWay parameters. Try using the following instead:<br/><br/> <br/>$newProducts = Product::getNewProducts(intval($cookie->id_lang), 1, 10, false, 'date_add', 'DESC');<br/> this work for me, thanks. ps: i edit it $newProducts -> $Products Link to comment Share on other sites More sharing options...
Mister Denial Posted September 15, 2011 Share Posted September 15, 2011 Hi folks, does anyone of you use the RSS feed to auto-post to Facebook, by using delivr.it for example? I have tried setting it up, but FB show the wrong thumbnails with the wrong items. Has anyone successfully implemented this solution? Regards, Dan Link to comment Share on other sites More sharing options...
UnionShirtSupply Posted February 7, 2017 Share Posted February 7, 2017 jaro, he means to go to the modules and install the rss feed module. you will need to have the products in the Home category to show up. then go to the url and you will see your rss feed at that url. that is the url to use to send or give it to people to read with their feeders. if your site is mobilpc-centrum.sk then your rss feed will appear at http://www.mobilpc-centrum.sk/rss Sorry to bring up this old post, but after installing the RSS Feed module, where do i see the links to copy? I dont know where to see my url? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now