Create your own comparison tables using data fields

October 25, 2018
New AAWP Shortcode Generator: Create Amazon Affiliate Links Directly with our New Browser Extension

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.

Show product title with asin

Example: Exporting a product title using ASIN

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

Preview:

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:

[cc lang=”html”]

Inhalt 1 Inhalt 2

[/cc]

Result:

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 shortcodes

Preview:

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

AdvantagesDisadvantages
  • 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

Conclusion

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.

Start now with AAWP!

AAWP is the #1 WordPress plugin for Amazon affiliates who are serious about earning more. Get started today!

Get Started Today!
WordPress Cookie Notice by Real Cookie Banner