Do you like the sound of being able to create your own comparison tables using the WordPress editor? If so, the data fields feature in AAWP will populate your table with individual product data.

Create your own comparison tables using “data fields”

A question you’re bound to have is “what are data fields and how can I use these in AAWP?” To answer this, we’re going to take a closer look at this function.

We’d like to show you how you can use data fields (individual product data) to create your own comparison table within WordPress itself. Although the AAWP plugin already offers a perfectly good and easy backend function for creating comparison tables, sometimes, you may wish to create these outside of AAWP.

To be able to compare products and their various elements in your own comparison table, you need to be able to export product data to the table. Using our data field function makes it easy to export data for individual products.

What are data fields and how can you use these to your best advantage?

Before we show you how you can easily create your own comparison tables using the WordPress Editor, let's briefly explain what data fields are. It’s likely that one or two of your haven’t used this feature before.

Using AAWP’s data fields, you can extract individual product data. Therefore, you aren’t using classic shortcode to export things like a product box or a best-seller list. You’re simply using the product data that you specifically need.

To show you what kind of product data you can “individually” export using data fields, below are examples of the typical kinds of product information:

  • Product title
  • URL of the page with the product details/product image
  • Image thumbnail
  • Product description
  • Number of reviews
  • Number of stars for reviews
  • Current discount value or percent
  • “buy” button
  • Details button
  • Prime logo
  • Date of the last update

You’ll find further information about data fields and export options in our documentation.

To export individual values, you need to specify the ASIN, EAN or ISBN parameters within your shortcode.

Tip: Do you know where to find the item number for each Amazon product? Browse our article on this subject to find out more.

Example: Exporting a product title using ASINShow product title with asin

[amazon fields="B07FW5Y956" value="title"]


Show product title with asin

Create your own comparison table in WordPress

You have the following options when creating your own comparison table in WordPress.

1. Use the WordPress plugin – TablePress

The easiest way to create a table in WordPress is to use a plugin like TablePress. In the backend, simply specify your table’s name and the number of rows and columns, as well as adding a description if you want to.

Create table with TablePress in WordPress

Then, you can export and integrate the table into the WordPress editor using shortcode.

2. Use HTML

If you’re familiar with HTML, you can create a table using HTML code. To do this, you’ll need to use the following tags:

  • <table>= to create the table
  • <tr>= to add a new line
  • <td>= to create a data cell

If you want to create a simple table with one row and two columns, your HTML code would be:

<td>Inhalt 1</td>
<td>Inhalt 2</td>


Create table with HTML in WordPress

You need to create or insert your HTML code using the WordPress text editor so that the program recognises the code.

Later, regardless of which method you choose, you’ll need to add the shortcode for the data fields that you want to show in the table. Also, the shortcode must contain the item number and the values that you want the table to include.

The following example shows how to create a simple table with 3 products. Using the ASIN parameter, i.e. the item number, we can use data fields to export the product’s image, title, star rating, Prime logo and price, as well as the buy button.

For example:

Creat comparison table with shortcodesPreview:

Create comparison tables in WordPress

Creating a table like this is quicker and easier than you may think. Basically, you need to specify the export values for the first product within the table. Then, you can simply use the copy and paste function to enter the details into the other columns and merely change the item number (ASIN, ISBN, EAN).

The advantages and disadvantages of creating comparison tables using data fields

Advantages Disadvantages
  • Quick and easy to implement
  • Normally, you can use shortcodes in your table
  • Can be slightly laborious
  • You have to change or amend the parameters within the table itself


As an alternative to the comparison table function that’s already part of our plugin, you can manually create tables with products at any time. You can use data fields to export the most important product data to use in your comparison.

Of course, you can also use data fields elsewhere, for example, within the body text or when creating your own external layout for Amazon products.


  1. HI,
    Is there any option for a larger image? I only get small thumbnail from the value=”thumb” attribute.

  2. Using TablePress plugin, are you sure you can use a Shortcode within a cell?

    Not sure TablePress can do this. At least I have not figured it out.

    1. Hey Emmett,

      sure you can place shortcodes inside TablePress’ cells.

      Just give it a try 🙂

  3. Tablepress is good, but it can be very tedious to have to copy a shortcode into every field.

    What I have done is made an excel spreadsheet that generates the html for the entire table. I only have to put the ASIN in one row and it gets copied into each of the rows.

    Add some CSS classes to the rows so you can adjust the formatting.

  4. Hi Florian,
    And is there any option for a smaller image?
    The thumbnail from the value=”thumb” attribute is to big for my table.

    1. Hey Femke,

      in general the image should be auto-resized in order to fit into your table. When using the field shortcode, you can add image_size=”small”.

      But I don’t know your layout. So in case you need any further assistance, please get in touch with us directly via contact form 🙂

    1. Hello Stephanie,

      unfortunately this is not possible yet. But it is already on our ToDo list.

      Many Greetings.

  5. is possible to scroll the comparison table to the right or left instead of having to scroll down? (on mobile)

    1. Hi Renato,

      no, unfortunately not yet. But it’s already on our to-do list.

      Many Greetings

  6. Is there an option to pull multiple product images from Amazon (single product) with goal of making a gallery?

  7. This would be super helpful. Being able to specify which image to pull from the Amazon product page would be huge.

  8. Hi,

    Is there a way to duplicate tables? I make a lot tables very similar and it would save a lot of time.


  9. Is there a way to make the thumbnails just static images that don’t link to amazon. I’m trying to minimize my affiliate footprint. If not, then is there a css code I could use? Thanks.

    1. Hey Daniel,

      indeed, you can just remove the link around by using the following shortcode: [amazon fields="ASIN" value="thumb" image_link="none" /]

  10. Hi, I’ve created a few tables using this guide. I have a slight issue when products are temporarily out of stock:-

    I have “Don’t show any messages when pricing is not available” ticked in AAWP settings but my tables are still displaying “Price not available” for out of stock items when I’ve used value=”price” e.g….

    [amazon fields="xxx" value="price"]

    Is there any way to disable the message in this situation?

    1. Hey Ross,

      thanks for your comment.

      I have written you a message about this. We need some more information so that we can check this.

      Many greetings

  11. Hi, I’ve the same problem. I want to show only the “bestseller” but in stock.

    Is there any way to do this ?


  12. Is it possible to make two styles of buttons? I need one style for smaller buttons for custom comparison tables and another style is big buy now buttons for the article text.

  13. Please add an option for duplicating a table. It would save a lot of hassle for the affiliate marketers.

  14. Hello, I’m using star_rating to show the stars of the product only and it doesn’t work for me [amazon fields="B005LG2JRK" value="star_rating"]

Leave a Reply

Your email address will not be published.