Compatibility mode for ASA1, ASA2 and AAWP

Switch from Amazon Simple Admin 1, ASA2 or AAWP to affiliate-toolkit without rewriting your posts: your old shortcodes keep working.

Changing your affiliate plugin usually means editing every post and replacing the shortcodes. The compatibility modes save you this work: affiliate-toolkit registers the shortcodes of your previous plugin – Amazon Simple Admin 1 (ASA1), Amazon Simple Affiliate 2 (ASA2) or AAWP – and renders its own product boxes for them.

Your posts are not changed. The shortcodes stay as they are, so you can switch back to your previous plugin at any time.

Only shortcodes are replaced. Gutenberg blocks or widgets of the other plugins are not taken over.

Prerequisites: affiliate-toolkit with the Amazon module and a connected Amazon shop (see Set up the Amazon interface), plus the module ASA 1 & ASA 2 Compatibility or AAWP Compatibility. After installation you find the settings under affiliate-toolkit → Compatibility, one tab per plugin.

How the migration works

The procedure is the same for all three plugins:

  1. Configure the tab (shop, product status, template mapping) and click Save Changes. affiliate-toolkit runs through all posts and pages, collects the shortcodes and creates the matching products and lists in your Amazon shop.
  2. Check the Last import result. On large sites the run can time out – just save again until the result says the import is finished.
  3. Tick Activate Compatibility mode and save.
  4. Deactivate the old plugin. Both plugins cannot handle the same shortcode at the same time.

Until you activate the compatibility mode you can run affiliate-toolkit in parallel with ASA or AAWP – for example to test it first.

Amazon Simple Admin 1 (ASA1)

Supported shortcodes: [asa]ASIN[/asa] (also with a template, e.g. [asa mytemplate]ASIN[/asa]) and [asa_collection].

  • Shop (default) – the Amazon shop in affiliate-toolkit the products are created in. It must match the country of your ASINs.
  • Product status (default) – status of the new products. If you do not use product pages, "Draft" is enough.
  • Import all Collection (not only used ones) – normally only collections that appear in a shortcode are imported. Tick this to import all of them.
  • ASA Template mapping – assign an affiliate-toolkit template to each ASA template name. Leave the name on the left empty to define the fallback for all other templates.
Compatibility → Amazon Simple Admin 1: activation, shop and template mapping for [asa] shortcodes.
Compatibility → Amazon Simple Admin 1: shop, status and template mapping.

Amazon Simple Affiliate 2 (ASA2)

Supported shortcodes: [asa2]ASIN[/asa2], [asa2_textlink] and [asa2_collection]. The settings are the same as for ASA1, plus:

  • Product description (default) – ASA2 lets you store your own descriptions. Choose whether they are imported into the description, the features or a custom field of the affiliate-toolkit product.

Only Amazon products are migrated. Products from other shops in ASA2 are not supported.

Compatibility → Amazon Simple Affiliate 2: activation, shop, description field and template mapping for [asa2] shortcodes.
Compatibility → Amazon Simple Affiliate 2 with the additional description field.

After activation, the existing ASA shortcodes are rendered as affiliate-toolkit boxes:

[asa]ASIN[/asa] and [asa2]ASIN[/asa2] shortcodes from the old plugins are output as affiliate-toolkit product boxes.
[asa] and [asa2] shortcodes rendered by affiliate-toolkit.

AAWP

The AAWP settings work the same way, with two differences:

  • Shortcode name – choose whether your posts use [amazon] or [aawp].
  • AAWP Template mapping – assign affiliate-toolkit templates to the AAWP templates you used.

Supported shortcode variants:

AAWP shortcodeOutput in affiliate-toolkit
[amazon box="ASIN"]Product box; several comma-separated ASINs become a list.
[amazon bestseller="…" items="10"]Bestseller list.
[amazon new="…" items="10"]New releases list.
[amazon fields="ASIN" value="price"]Single field, e.g. title, price, list_price, amount_saved, percentage_saved, star_rating, reviews, image, thumb, url, button, prime, last_update.
[amazon link="ASIN" title="…"]Text link.
[amazon table="…"]Comparison table.
Compatibility → AAWP: activation, shortcode name, shop and mapping of the AAWP templates to affiliate-toolkit templates.
Compatibility → AAWP: shortcode name, shop and template mapping.

Result

Once the compatibility mode is active and the old plugin is deactivated, your existing shortcodes are rendered by affiliate-toolkit – with current prices from your Amazon shop and your affiliate-toolkit templates.

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

If a box shows "product not found", the ASIN was not imported during the scan. Save the compatibility tab again so the scan runs once more.