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

Shortcode

Basic Shortcode

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

[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?