1. Home
  2. Docs
  3. Compare Affiliated Products
  4. General
  5. Shortcode

Shortcode

Main Shortcode

[cap]

This shortcode will allow you to display product from the ASIN (Amazon) in different layout.

Parameters:

  • type: “basic” (by default), “table” or “reviews” (since 2.0.6) 
  • product: Asin code 
  • partners: “ok” to displays all partners or “nok” to display only Amazon
  • options: “reviews” (since 2.0.6)

Example:

[cap type='basic' product='B008DCOW6A' partners='ok']

will display:

When

[cap type='basic' product='B008DCOW6A' partners='ok']

will generate:

Basic Shortcode

** Deprecated since  2.0.0 ** use [cap] instead 

If you’re using Compare affiliated produts without AAWP then you’ll like to use it with a shortcode to show in your content products and prices in different e-shop.
The main shortcode is

[compare_basic_sc]
  • product: add the EAN13 code of the product you want to show.
  • layout: future feature, for the moment the shortcode layout is horizontal.
  • partner: The main partner to get the image, the title and the description from the db.

Example:
[compare_basic_sc product=’0810009030003′ partner=’cdiscount’]

To find an EAN, please use this tool:

Simply copy the Amazon ASIN (amazon code product. ie: B076X4KH11)

Table Shortcode

** Deprecated since  2.0.0 ** use [cap] instead 

[compare_price]

This Shortcode allow you to display a table with:

  • Price
  • Partner Logo
  • Partner name
  • button to the partners url.

It accepts only one parameters which is:

  • product: accept EAN13 or ASIN code from Amazon.
Easily add price comparison on your pages
Was this article helpful to you? Yes No

How can we help?