Compatibility Free

AAWP Compatibility

Switch from AAWP to affiliate-toolkit without editing a single post: your existing [amazon] shortcodes keep working and are rendered by affiliate-toolkit.

Version 1.0.7 · February 8, 2024

Leave AAWP without touching your posts

If your site uses AAWP, your posts are full of shortcodes like [amazon box="B0XXXXXXXX"]. Replacing them by hand would take days. The AAWP compatibility mode reads these shortcodes, creates the matching products and lists in affiliate-toolkit and then renders the existing shortcodes with affiliate-toolkit templates. Your posts stay exactly as they are.

After the switch you can use everything affiliate-toolkit offers for these products, such as price comparisons with other shops, your own templates and comparison tables.

An existing [amazon box="ASIN"] shortcode and an [amazon fields] price field are rendered by affiliate-toolkit
An AAWP box and price field rendered by affiliate-toolkit

Migrate step by step

  1. Set up an Amazon shop in affiliate-toolkit (with the Product Advertising API or the No-API mode).
  2. Activate the AAWP Compatibility extension and open affiliate-toolkit → Compatibility → AAWP.
  3. Tick "Activate Compatibility mode" and choose your Amazon shop and the product status for new products (published or draft).
  4. Choose the shortcode name AAWP used on your site: amazon (default) or aawp.
  5. If you passed descriptions in AAWP shortcodes, choose whether they go into the description or the features field.
  6. Map your AAWP templates to affiliate-toolkit templates (up to 5; an empty name stands for the AAWP default template).
  7. Click "Save Changes". affiliate-toolkit now scans all posts and pages for the shortcode and creates the products and lists. The result is shown under "Last import result".
  8. Check a few posts, then deactivate AAWP.
Compatibility → AAWP: activation, shortcode name, shop and mapping of the AAWP templates to affiliate-toolkit templates
The AAWP compatibility settings

On large sites the scan can take several minutes. If it runs into a timeout, simply save again: published products that already exist are not created a second time. If you chose "draft" as product status, publish the imported products before you start another run.

Supported shortcodes

  • box="ASIN": a product box; several ASINs separated by commas become a list. title and description are taken over.
  • bestseller="keyword" and new="keyword": bestseller and new release lists, with items for the number of products (default 10).
  • fields="ASIN" value="…": single values such as title, price, list_price, amount_saved, percentage_saved, rating, star_rating, reviews, image, thumb, description, button, prime and last_update.
  • link="ASIN": a text link, using title or the enclosed text.
  • table="ID": rendered as a comparison table.

AAWP tables are stored in AAWP itself, not in the shortcode. The compatibility mode creates an empty list named "AAWP:Table-ID" for each table. Add the products to these lists in affiliate-toolkit; the comparison table needs the Responsive Compare Table extension.

More details and the other compatibility modes: Compatibility mode for ASA1, ASA2 and AAWP.

Features at a glance

  • Existing [amazon] or [aawp] shortcodes keep working
  • Products and lists are created automatically
  • Boxes, bestseller and new release lists, fields, text links
  • Map up to 5 AAWP templates to affiliate-toolkit templates
  • Import descriptions into description or features
  • No changes to your posts