This is the documentation for LemonStand V1, which has been discontinued. You can learn more and upgrade your store here.

LemonStand Version 1 Has Been Discontinued

This documentation is for LemonStand Version 1. LemonStand is now offered as a cloud-based eCommerce platform.
You can try the new LemonStand and learn about upgrading here.

Creating a Product RSS Feed

The shop_product class has the get_rss method which can be used for creating a RSS channel containing a list of recently added products. To create the products RSS channel, create a new page. You don't need to select any template or action for the RSS channel page. Insert the following code to the page content field:

<?=
  Shop_Product::get_rss(
    'New products', 
    'A list of new products',
    '/product',
    20
  );
?>
{{ method('Shop_Product', 'get_rss', 
  'New products', 
  'A list of new products',
  '/product',
  20) }}

The third parameter should point to the default product page. By default, the RSS channel returns 20 products. You can change this value by specifying another value in the last method parameter.

Next: Displaying Product Ratings and Reviews
Previous: Creating a Product Page
Return to Products