Display extra product data in Loop and on single product pages

There are times when you might want to display data from a product either in the Loop (either Shop Front page or Category Page) or on the single product page.

Here's how you can display any Datafeedr product data on those pages.

1

Create a custom plugin

If you haven't done so already, create a custom plugin.

2

Display data in the Loop

To display extra product data in the Loop add the following code and edit the 3 "isset" lines for your needs:

3

Display data on single product's page

To display extra product data on a single product page, add the following code and edit the 3 "isset" lines for your needs:

4

Save your changes

After you have added the code and edited to fit your needs, save your changes.

Now you will see custom Datafeedr product data in your Loop and/or on your single product pages.

In the Loop

Product Data in Loop

Single Product Page

Product Data on Single Product Page
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us