Displaying a WooCommerce Product Feed on Another Site

If you have a site that doesn't have WooCommerce installed – how easy would it be to list products? Can you list a bunch of products from another site? Yes you can – and it's actually pretty easy.

The good news is that WooCommerce already has a feed (called an RSS feed) of products that it automatically shares with the public. The great part about this is that even sites that don't use WordPress can access that list. If you are using a WordPress site then there will be a few more tools you can use to grab that list and display it.

Finding the WooCommerce Products RSS Feed

The first step, whether you're running a WordPress site or a non-WordPress site, is to find the RSS feed.

  1. Go to the page you set as your shop page; that's the page that displays all of your products.
  2. Now you need to view the source. Any browser can do this. In Google Chrome you can do it through the menu: View -> Developer -> View Source.
  3. Now you need to look for the Product Feed in the source. There will be a url that you need to copy.
WooCommerce Product Feed

Grab the url from the WooCommerce Product Feed.

Displaying the RSS Feed

This is where is really pays to use WordPress. Displaying an RSS feed is built into WordPress. If you aren't using WordPress then you'll have to find your own solution to display the RSS feed.

  1. Go to Appearance -> Widgets and select the RSS Widget.
  2. Configure the widget
    1. The only required field is the RSS feed url which is what we copied in the first part of this.
  3. Done!
WooCommerce Product Feed

The WooCommerce product feed displayed in the sidebar on my site.

25 thoughts on “Displaying a WooCommerce Product Feed on Another Site

  1. Never heard of WooCommerce before. But I wanna try it for my site. Many things are out there but I get confused sometimes. Thanks for this.

  2. Great post pal but still have a question… what about displaying a feed with pictures and prices? Is it possible?

  3. If I want Displaying the RSS Feed into a html5 web application, what should do I do?

    • Hey Hosein, WordPress has the functionality to parse and render an RSS feed built in. If you’re building something with HTML5 (and presumably a programming language like PHP as well?) then you’ll have to parse the RSS feed manually. You can probably find a PHP library to get you started.

  4. I don’t see a product feed. Is it controlled by the theme? Any idea how I can enable it?

  5. Schalk Joubert

    Hi Patrick,

    I manage to display the product feed, only thing is the price is part of the content, so I cant control and style the price separately.

    How can one add a function on the source website to wrap the price in its own span with unique class?

    This screenshot show my results.
    https://www.dropbox.com/s/pf5znskv4to1szu/woocommerce-product-feed.png?dl=0

    Thank you

    • Hey Schalk,

      RSS feeds aren’t meant for showing details data like prices, categories, variable images, etc. They only store basic information like the product title, url, description, and author. RSS was made for blog posts.

      For your use case I’d leverage the WooCommerce API. I unfortunately don’t think there’s a plugin out there that can do this for you right now so it would probably have to be custom.

      For customizations like this I recommend Codeable.

  6. I am using the =importfeed() formula in Google Spreadsheets to generate a spreadsheet of my products in WooCommerce.

    However I just realized that the feed only has the last 11 items. Is there a “master” feed or a way to have the feed include all items?

    Thanks

  7. Didn’t work for me. That line is blank. Any other ideas?

  8. Hi Patrick,

    Really interesting post, as I’m trying to find a solution for my wife e-shop to display the feed of new products on her social media. With your explanations I only find the RSS feed for the shop (which is already good), but I would like to use the feed for the new products, which appears nowhere…

  9. My shop feed only shows comments on products, not the actual products. Do you think that is because of my theme?

  10. Hi Patrick,

    I found your post via Google and was trying to get the product feed of my website. The problem is not finding the feed however it doesn’t work when I add it to my Facebook campaign. I suspect that the problem is that I use a plugin for my woocommerce products (DHVC Woocommerce Products Layouts).

    Can you maybe help me with this problem?

    Hope to hear from you!

    Kind regards,

    Leon

  11. Patrick, for some reason, the products RSS doesn’t show up in my source code on my shop page. I am trying to gain access to use for Facebook Pixels. I have WP 4.4.1. Can you tell me why? I was able to pull it up via http://thedarkchocolatebakery.com/feed/?post_type=product

  12. I have the latest version of WordPress and the New v3 of Woocommerce and I can’t get this feed url to work anymore – can you confirm if it is working for you still.

  13. Hey Patrick, great post. I noticed some great questions regarding more in depth RSS feeds from Woo and you mentioned tapping straight into the Woo API. If anyone is looking to tap into prices categories and more of the data entities would we be able to share how devs can use DSYNC to set up RSS feeds? I have just put together a help video for folks that may want to publish in depth RSS feeds.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.