Product Boxes Documentation
Learn how to display beautiful Amazon product cards anywhere on your WordPress site
Getting Started
Requirements
Product Boxes is built into PaapiPlugin, so there is nothing extra to install:
- PaapiPlugin - free to start on the Managed API; Premium unlocks styling and badges
- API credentials optional - works on the Managed API too, or with your own Creators API or PA-API credentials configured in the PaapiPlugin settings
- WordPress 5.8+ and PHP 7.4+
Installation
- Install and activate PaapiPlugin from WordPress.org
- Open PaapiPlugin. It opens on Home, where the setup checklist starts with Connect. The Managed API needs no Amazon API credentials yet.
- Open PaapiPlugin → Create → Product boxes to build your first box
Premium
Styling options, the Editorial and Spotlight box styles and winner badges unlock with an active Premium license. Product Boxes uses the same license as the rest of PaapiPlugin; there is no separate key.
Tip: Your Premium license key is sent to your email after purchase and is also available in your Account Dashboard.
Shortcode Usage
Display any Amazon product using the [psfa_product_box]
shortcode.
Basic Usage
[psfa_product_box asin="B09XS7JWHH"]
Shortcode Attributes
| Attribute | Values | Description |
|---|---|---|
asin |
Amazon ASIN | Required. The product ASIN. |
style |
card, horizontal, minimal |
Layout for this one post. Without it, the box uses the layout saved with it in the box builder, or card if none is saved. |
look |
classic, editorial, spotlight |
Style for this one post. Without it, the box uses the style saved with it in the box builder, or classic if none is saved. Editorial and Spotlight need Premium; without it the box shows classic. |
button |
Custom text | Button text for this one post (Premium). Without it, the box uses the button text saved with it in the box builder, or your site's button text (default: "Buy on Amazon"). On the Managed API the button always reads "Check price on Amazon". |
Examples
Horizontal Layout
Wide format, ideal for content areas
[psfa_product_box asin="B09XS7JWHH" style="horizontal"]
Minimal Layout
Clean, compact display
[psfa_product_box asin="B09XS7JWHH" style="minimal"]
Spotlight Style (Premium)
Framed in your accent color
[psfa_product_box asin="B09XS7JWHH" look="spotlight"]
Custom Button (Premium)
Personalized call-to-action
[psfa_product_box asin="B09XS7JWHH" button="Check Price"]
Layouts
Product Boxes offers three layouts to fit different content contexts. Pick one in the box
builder: it is saved with the box, so every post that shows the box uses it, and changing it updates
every post. A style attribute on the shortcode overrides it for
that one post.
Card Layout (Default)
A vertical card with the product image on top, followed by title, price (with your own Amazon credentials), and button. Best for sidebars, grids, and comparison sections.
[psfa_product_box asin="B09XS7JWHH" style="card"]
Horizontal Layout
A three-section layout with a larger product image on the left, content area (title, rating, feature bullets) in the middle, and a dedicated purchase column (price when using your own Amazon credentials, plus the buy button) on the right. Ideal for inline content, reviews, and full-width sections.
[psfa_product_box asin="B09XS7JWHH" style="horizontal"]
Minimal Layout
A compact, streamlined display showing only essential information. Perfect for lists, quick mentions, and space-constrained areas.
[psfa_product_box asin="B09XS7JWHH" style="minimal"]
Tip: Card and minimal boxes are up to 280px wide and centered in the column. A horizontal box stacks its sections into one column when there is not room for the row (narrower than 616px).
Styles
Every layout comes in three styles: Classic, the original box and the default, plus Editorial and
Spotlight with Premium. Pick one with the Style control under
Layout in the box builder. The style is saved with the box, like the layout, and a
look attribute on the shortcode overrides it for that one
post.
Classic (Default)
The original product box, in the card, horizontal or minimal layout described above. Free sites
always show Classic. If a box has another style saved, look="classic"
shows the original style in that one post.
[psfa_product_box asin="B09XS7JWHH" look="classic"]
Editorial (Premium)
An open, magazine-style box with a rule above and below and no card frame. A small uppercase line carries the winner badge, the bestseller rank and the brand. Below it come a large title, the star rating and the feature bullets, and the box closes on a row with the price (with your own Amazon credentials) and the button.
[psfa_product_box asin="B09XS7JWHH" look="editorial"]
Spotlight (Premium)
A box framed in your accent color, with the winner badge on a solid accent band. The product image sits on a tinted panel with chips for the bestseller rank and any active deal, such as a countdown or a deal badge. With your own Amazon credentials it shows a large price and a Save % pill, and it ends on a full-width button. Spotlight works best as one highlighted box per post.
[psfa_product_box asin="B09XS7JWHH" style="horizontal" look="spotlight"]
Tip: Each style works with all three layouts and follows your Appearance settings: accent color, button text color, product text colors and sizes, buy button color and size, base palette, corner radius, font and dark mode. If your Premium license lapses, a box keeps its saved style and shows Classic until Premium is active again.
Features
Live Pricing
With your own Amazon credentials (Creators API or PA-API), product prices are fetched from Amazon's API each time the page loads (with smart caching), so visitors see current, accurate pricing. On the Managed API, prices are not displayed; the button sends visitors to Amazon for the current price.
Deal Badges
Lightning Deal, Best Deal, and Prime Exclusive badges display automatically when products have active promotions (Premium, with your own Amazon credentials).
Countdown Timer
For time-limited deals, a live countdown timer shows how much time remains (Premium, with your own Amazon credentials). This creates urgency and can improve click-through rates.
Image Carousel
With your own Amazon credentials, products with multiple images display in a navigable carousel. Visitors can browse all product angles without leaving your site.
Prime Badge
On the Managed API, Prime-exclusive products display the Prime badge. It does not appear when you use your own Amazon credentials, because the OffersV2 product data PaapiPlugin requests does not carry Prime eligibility.
Savings Display
With your own Amazon credentials, when a product is discounted both the original price (struck through) and, on Premium, the savings percentage are shown. Savings display is not available on the Managed API.
Feature Bullets
Display up to 5 key product features from Amazon's API with checkmark icons. Available in card and horizontal layouts.
Winner Badges
Highlight recommended products with 5 badge types: Best Value, Editor's Choice, Best Rated, Budget Pick, and Premium Pick. Premium users set them in the admin.
Star Ratings
Show star ratings (0-5) and review counts on each product for credible social proof. They are pulled automatically on the Managed API or entered manually with your own credentials, and you can override them in the admin.
Saved Products
Search-to-Save
The easiest way to add products is using the Search-to-Save feature:
- Visit your search page while logged in as an admin
- Search for any product using the live search
- Click the "+ Box" button on any product card
- The shortcode is instantly copied to your clipboard
- Paste the shortcode anywhere on your site
Products Library
All saved products appear in your WordPress admin under PaapiPlugin → Create → Product boxes. From here you can:
- View all saved products with their ASINs
- Copy shortcodes with one click
- Delete products you no longer need
- Start a new box in the box builder
- See each box's clicks for the last 7 days (Premium)
Box Builder
Build a box from the admin without visiting your search page:
- Go to PaapiPlugin → Create → Product boxes and start a new box
- Find the product by keyword, Amazon link or ASIN. As you type a keyword, the finder suggests searches.
- Under Layout and button, choose the layout, the style on Premium and, on Premium with your own Amazon credentials, the button text, then check the live preview. They are saved with the box, so every post that shows it changes when you save. You can also give the box your own title, shown instead of Amazon's.
- Create a draft post with the box in it, or copy the shortcode
If the plugin is not connected yet, the builder lets you connect the Managed API in place.
Finding an ASIN: The ASIN is the 10-character alphanumeric code in Amazon
product URLs. For example, in amazon.com/dp/B09XS7JWHH,
the ASIN is B09XS7JWHH.
Troubleshooting
- Verify the ASIN is correct and the product exists on Amazon
- Check your connection under PaapiPlugin → Settings → Amazon connection
- The product may be unavailable in your configured marketplace
- Try adding
nocache="true"to test with fresh data
- Make sure you're logged in as an administrator
- Check that PaapiPlugin is active and up to date
- Clear any caching plugins and refresh the page
- Product data is cached to reduce API calls - wait for cache to expire
- Use
nocache="true"temporarily to force fresh data - On the Cache page (PaapiPlugin → Settings → Cache), check the TTL column for how long an entry has left, or click Clear All Cache to fetch fresh data
- Clear your site's page cache if using a caching plugin
- Your theme's CSS may be overriding Product Box styles
- Add custom CSS using the
.psfa-product-boxclass prefix, or the.psfa-el-title,.psfa-el-brand,.psfa-el-priceand.psfa-el-dealclasses for titles, brands, prices and deal badges - Clear CSS caching (minification plugins, CDN cache)
- Check browser console for CSS conflicts
- Ensure JavaScript is enabled and not blocked
- Check for JavaScript errors in browser console
- Some products only have one image (no carousel needed)
- Verify jQuery is loading correctly on your site
Need more help? Premium users receive priority email support via the Account Dashboard.