---
title: Product boxes
description: "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](https://getaawp.com/docs/article/find-article-numbers/) ## How-to place product boxes [Create Amazon product boxes in WordPress…"
url: "https://getaawp.com/docs/article/product-boxes/"
updated: "2016-04-11"
category: Functions
---

# Product boxes

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](https://getaawp.com/docs/article/find-article-numbers/)

## How-to place product boxes

[Create Amazon product boxes in WordPress  - Amazon Affiliate WordPress Plugin (AAWP)](https://www.youtube.com/embed/2VB_Tdq2rKI?feature=oembed&enablejsapi=1&origin=https://getaawp.com)

### Single product box

**Shortcode**

```
[amazon box="ASIN"]
```

**Output**

[![](https://getaawp.com/wp-content/uploads/aawp-docs-product-box-example.png)](https://getaawp.com/wp-content/uploads/aawp-docs-product-box-example.png)
**Note**: This is an exemplary screenshot. No real-time data. [Live demonstration can be found here](https://getaawp.com/demo/).

### Multiple product boxes

**Shortcode**

```
[amazon box="ASIN1,ASIN2"]
```

**Output**

[![](https://getaawp.com/wp-content/uploads/aawp-docs-product-boxes-example.png)](https://getaawp.com/wp-content/uploads/aawp-docs-product-boxes-example.png)
**Note**: This is an exemplary screenshot. No real-time data. [Live demonstration can be found here](https://getaawp.com/demo/).

 **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](https://getaawp.com/docs/article/shortcodes/) for the Amazon Affiliate WordPress plugin.
