Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to do eCommerce in WordPress. So to do that I have installed the WooCommerce plugin. It is working fine, but now I want to put a RSS feed link in my site. I know about the normal WordPress RSS feed, but I don't have any idea about WooCommerce's. So can someone tell me how to use its RSS feed?

share|improve this question
add comment

2 Answers

As WooCommerce products are stored as a post type, you can retrieve the link to the RSS feed of your WooCommerce products using the get_post_type_archive_feed_link( 'product' ); function:

<a href="<?php echo get_post_type_archive_feed_link( 'product' ); ?>">New products RSS</a>
share|improve this answer
add comment

This is an example of the route directory of my woocommerce feed: [feed/?post_type=product] By placing this at the end of your URL after the blog folder, your feed will appear.

See example here http://viralsocialpop.com/eshop/feed/?post_type=product

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.