Contributions
rss-news feed
This is an almost complete re-write of a rss feed script I found on the web. It lets you configure how many new items from your online store it will show for the client.
It's fairly small and I have put comments inside, if you want to fine-tune it.
Tom
Expand All / Collapse All
just altered the $link section to enable SEO urls. Works for me but remember always backup.
before:
$link = HTTP_SERVER . DIR_WS_CATALOG;
$link .= "product_info.php?products_id=" . $next_product['products_id'];
after:
//$link = HTTP_SERVER . DIR_WS_CATALOG;
$link = tep_href_link(FILENAME_PRODUCT_INFO, "products_id=" . $next_product['products_id'], 'NONSSL', false);
Cheers: Shane
Installation:
------------
1- Edit line #22 to #27 with your shop info
2- Change on line #57 pd.language_id='1' with desired language (1=english, 5=french, see language table in database)
3- Copy rss-news.php on your server
==================================
Change log:
------------
Corrected bug:
-latest item missing
Changed $count = 1; with $count = 0; on line #59
Improvement:
-When multiple language : doesn't show multiple time the same item
- add products description
- add products images
just put it under the root of catalog/
This is an almost complete re-write of a rss feed script I found on the web. It lets you configure how many new items from your online store it will show for the client.
It's fairly small and I have put comments inside, if you want to fine-tune it.
Tom
Note: Contributions are used at own risk.