By using the shortcode attribute box you can display single boxes for one or multiple products.
What do I need? #
- ASIN or ISBN (books), see How-To: Find out article numbers
How-to place product boxes #
Single product box #
Shortcode
[amazon box="ASIN"]
Output

Multiple product boxes #
Shortcode
[amazon box="ASIN1,ASIN2"]
Output

Tip: Combining products improves performance and cleans up your editor.
How-to customize the output #
Using a custom title #
[amazon box="ASIN" title="My product name"]
Using a custom description #
[amazon box="ASIN" description="My description text"]
Tip: Alternatively you can use a custom HTML description e.g. building your own lists. Therefore place the shortcode – according to the following example – before and after your content.
[amazon box="ASIN"]My custom description including HTML or not.[/amazon]
Using a custom button text #
[amazon box="ASIN" button_text="My text"]
Using a custom product link title #
[amazon box="ASIN" link_title="My SEO link title" /]
Adding another (detail) button #
You can display an extra button inside a product box. This can be very useful e.g. when referencing to an internal/external link which contains a test report of the product:
[amazon box="ASIN" button_detail="http://domain.com/test-XYZ/"]
Overview of all available detail button attributes
Attribute | Description |
---|---|
button_detail | Target (URL or Post ID) |
button_detail_text | Button text (overwrites plugin settings) |
button_detail_target | HTML link target, e.g. “_blank” Standard = same window/tab |
The design of the detail button can be setup via the settings page.
The shortcodes above can be extended by adding further "attributes". We prepared an overview of all shortcodes and adjustments for the Amazon Affiliate WordPress plugin.