Hi
i know there is an woocommerce extension for that but hey, it costs 50 bucks.
Investigating the woocommerce-functions.php, around line 1150 i´ve found:
/* Products RSS Feed */
function woocommerce_products_rss_feed() {
// Product RSS
if ( is_post_type_archive( 'product' ) || is_singular( 'product' ) ) :
$feed = get_post_type_archive_feed_link( 'product' );
echo '<link rel="alternate" type="application/rss+xml" title="' . __('New products', 'woocommerce') . '" href="' . $feed . '" />';
elseif ( is_tax( 'product_cat' ) ) :
$term = get_term_by('slug', get_query_var('product_cat'), 'product_cat');
$feed = add_query_arg('product_cat', $term->slug, get_post_type_archive_feed_link( 'product' ));
echo '<link rel="alternate" type="application/rss+xml" title="' . sprintf(__('New products added to %s', 'woocommerce'), urlencode($term->name)) . '" href="' . $feed . '" />';
elseif ( is_tax( 'product_tag' ) ) :
$term = get_term_by('slug', get_query_var('product_tag'), 'product_tag');
$feed = add_query_arg('product_tag', $term->slug, get_post_type_archive_feed_link( 'product' ));
echo '<link rel="alternate" type="application/rss+xml" title="' . sprintf(__('New products tagged %s', 'woocommerce'), urlencode($term->name)) . '" href="' . $feed . '" />';
endif;
}
but i have no idea how to use it. Any hook, clue or tip on how to get products spotted on my regular wp feed?
thanks














