By using the shortcode attribute “Box“ you can display single product boxes for one or multiple products.
What do I need?
- ASIN or ISBN (books), see How-To: Find out article numbers
Single product box
Multiple product boxes
Tip: Combining products improves performance and cleans up your editor.
Custom product title
Custom product link title
Here you can set the HTML link title attribute:
Tip: This might be helpful when optimizing for Google & Co.
Combination of custom product name and link title
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.
Overwriting plugin settings:
You can display and 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:
The design of the details button can be setup via the settings page.
- “button_detail” – Target (URL or Post ID)
- “button_detail_target” – HTML link target (e.g. “_blank”); Standard = same window/tab
- “button_detail_text” – Button text (overwrites plugin settings)
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.