APBK – Affiliate Product Blocks for Amazon

Description

APBK (Affiliate Product Blocks) is a free WordPress affiliate plugin for Amazon Associates, built for the block editor by AffiBlocks. It adds eleven blocks for the pages that recommend products: product boxes, comparison tables, pros and cons, verdicts and affiliate buttons, for reviews and “best of” lists alike. Paste an Amazon product URL or fill the details in by hand, pick a layout, publish.

It works from your first day as an Amazon Associate, before Amazon gives you API access: your Associates tag goes on every link, for every country store. Every block is rendered on the server, ships no frontend JavaScript, and produces clean semantic HTML that themes and Core Web Vitals both like.

Amazon affiliate links, tagged correctly every time

  • Paste an Amazon product URL and the affiliate link is built for you: tracking parameters stripped, your Associates tag added, someone else’s tag removed.
  • An Associates tag per country store, because Amazon issues a separate one for each and a tag from the wrong store earns nothing.
  • Type the product details in, or let the Pro add-on fetch them from Amazon for you. Either way the card, the schema and the links are the same.
  • Affiliate link handling: configurable rel attributes (sponsored, nofollow) and an affiliate disclosure you can auto-insert.
  • An Affiliate Disclosure block, for putting the statement exactly where you want it instead of at the top or the end of the post.

Product boxes and comparison tables that load fast

  • A Product Card block: title, image, description, price, list price, pros, cons, badge, and a call-to-action button.
  • Four design styles and an accent color, set once for the whole site; layout and styling per block from the sidebar: horizontal or vertical, image size, button style, show or hide any field.
  • Server-rendered output, responsive, RTL-safe, keyboard accessible, WCAG AA contrast.
  • Zero frontend JavaScript. Frontend CSS loads only on pages that actually use the block, in a block theme, or in a classic theme from WordPress 6.9.

Affiliate link checker and click tracking

  • An affiliate link checker, the Link health report, that finds what costs you commission: Amazon links without your tag or with someone else’s, short links, stores you have no tag for, products that have gone, prices that have expired. It checks from your own settings and store, and contacts no shop to do it.
  • Click counts for your affiliate links (per post, per product, per block and per day) without a script on the page and with no personal data kept with the counts.

Product schema and review stars that work with your SEO plugin

  • Product structured data for search engines, added to your SEO plugin’s own data where that is possible rather than as a second, competing copy.
  • Your own star rating and verdict on the card, and sent to search engines as your review, never a marketplace’s star average.
  • Your pros and cons sent along with that review, which is how search engines show a pros-and-cons list under a result.

The blocks

  • Product Card: the whole product in one block: image, price, pros, cons, your rating, and the button.
  • Pros and Cons: the same two lists on their own, in four layouts, for the middle of a long review.
  • Specifications: weight, battery, warranty: label and value rows, as a real table with row headings, or as a list, or as a grid.
  • Verdict: your rating, your name and your closing opinion, boxed or plain.
  • Call to Action: a heading, a sentence and a button, for the point where the reader has decided.
  • Affiliate Button: one button that carries your site’s rel settings, so you never have to remember sponsored again. Change the setting and every button you have ever published changes with it.
  • Notice: a coloured box for a caveat, in four kinds.
  • Product Table: several products as a listing, one row each, with prices and buttons. The block a “best five” post is built from.
  • Versus: two products head to head, one specification at a time.
  • Product Comparison: a comparison table of two to five products as columns, with a ribbon on the one you recommend.
  • Affiliate Disclosure: the statement, exactly where you want it.

Pros and Cons, Specifications, Verdict, Call to Action, Affiliate Button and Notice hold your writing rather than a product, so they are not sent to search engines: a review has to say which product it is about, and these do not know. The Product Card’s own review fields are the ones that produce a star rich result, and the Verdict block says so in the editor rather than leaving you to find out later.

The three multi-product blocks are different, because they do know their products: each sends search engines one list that points at those products rather than describing them a second time. A page with a card and a table naming the same product describes it once.

What it deliberately does not do

  • This plugin never scrapes a retailer’s website: product data comes from what you enter. The Pro add-on fills it in from the shops’ official APIs with your own credentials or, if you switch it on, from the AffiBlocks data service, and its documentation lists what each is sent.
  • No invented ratings, reviews, or prices. Star ratings shown by the block are your own editorial rating, never borrowed from a marketplace.
  • No phone-home and no external requests of any kind. This plugin contacts nothing at all.
  • No personal tracking. Clicks on your affiliate links are counted on your own site as daily totals, with no address, browser, cookie or identifier kept with them, and you can switch the counting off.
  • No cloaked or redirected affiliate links. The link points straight at Amazon with your tag in it: Amazon’s rules forbid obscuring where a click comes from, and a redirect through your site does that.

Free and Pro

Everything above is in this plugin, works on its own, and stays that way. There is no locked code in this download and nothing here stops working after a trial, because there is no trial.

A separate paid add-on, Affiliate Product Blocks Pro, is for sites that publish a lot of these: finding products by keyword without leaving the editor, listings that keep themselves current, eBay and AliExpress beside Amazon, coupon and comparison layouts, and AI drafting with your own API key for the words a marketplace cannot give you: your pros, your cons, your verdict, every one of them editable before anything publishes.

It is a second plugin you would install alongside this one, and this one keeps working exactly as it does now without it. This plugin tells administrators about it in a few places, and only them: a Pro tab, a card, a line after Getting started and a line each on Clicks and Link health on the settings screen; a link on the Plugins screen; a closed “Pro” panel beside the product blocks, a line under a pasted Amazon link, and Pro blocks in the inserter that show what they do and print nothing on your pages. For the first 15 days after you install (or update to 0.23.0), these carry a one-time offer of 10% off a first Pro purchase. One “Hide Pro tips” switch in the editor removes the editor’s tips and the inserter’s Pro blocks for you, and once Pro is installed and licensed all of it goes.

External services

This plugin contacts nothing. No telemetry, no phone-home, no licence check, and no product API: every request it makes stays on your own server. Nothing about you, your site or your visitors leaves it. The links to the Pro page carry only fixed campaign tags and which screen they are on (and, for 15 days after install, the offer’s code); nothing is sent until you click one. The install date the offer counts from is kept in your own database.

Product images are linked from Amazon rather than copied to your site, as Amazon’s program policies require, so a reader’s browser fetches them from Amazon, which is the same thing that happens with any image hosted elsewhere. Amazon’s Conditions of Use and Privacy Notice apply to those requests.

Shortened links such as amzn.to are not accepted. Resolving one would mean asking a redirector where it points, and this plugin makes no outbound requests at all; paste the full product URL instead.

The separate Pro add-on does contact outside services (the shops’ APIs with your own credentials, the AffiBlocks data service if you switch it on, and the AI provider whose key you enter) to fill a card in, keep its price current and draft its words. That is its job and its documentation covers exactly what each is sent, but it is a different plugin, and this one works without it.

Screenshots

Blocks

This plugin provides 12 blocks.

  • Pro block Shows what a block from the Pro add-on does. It draws nothing on your page.
  • Product Table Several products as a listing, one row each, with prices and buttons: the block a "best five" post is built from.
  • Affiliate Disclosure The affiliate disclosure from your settings, placed exactly where you want it.
  • Product Comparison Two to five products as columns, compared row by row, with a ribbon on the one you recommend.
  • Call to Action A panel with a heading, a sentence and a button, for the point in a review where the reader has decided.
  • Versus Two products head to head, one specification at a time: the "A or B" question a lot of review traffic arrives with.
  • Pros and Cons Two lists of short points, for the part of a review where you say what is good and what is not.
  • Affiliate Button A button that carries your site's affiliate link settings, so you never have to remember rel="sponsored".
  • Specifications A table of specifications: weight, battery, warranty, whatever the product sheet lists.
  • Verdict Your own rating and closing opinion, signed with your name.
  • Product Card A product card with an image, price, pros and cons, and an affiliate button.
  • Notice A coloured box for something the reader should not miss: a caveat, a disclosure, a note about stock.

Installation

  1. Upload the plugin folder to /wp-content/plugins/, or install it through the Plugins screen.
  2. Activate the plugin.
  3. Go to Settings AffiBlocks, enter your Associates tag for each Amazon store you are approved for, and set your link defaults.
  4. Add a Product Card block to any post or page.
  5. Paste an Amazon product URL into the block, or just type the product details in by hand.

FAQ

Does this plugin send any data anywhere?

No phone-home, no licence check, and nothing at all about your visitors: no request the plugin makes carries any information about who is reading your site.

There is no exception. This plugin makes no outbound request at all, not to Amazon, not to us, not to anywhere. The Pro add-on does talk to outside services, as its documentation describes; this one works without it.

Does it count clicks, and does that track my visitors?

It counts clicks on the affiliate links its blocks draw, and it is on from the start; switch it off under Settings AffiBlocks. It keeps one number per day, per post, per product and per block, nothing about who clicked. No address, browser, device, cookie or identifier is stored with the counts, and no script is added to your pages.

The count is sent by the visitor’s own browser as the link opens, using the link’s standard ping attribute, to your own site. The link itself still points straight at Amazon with your tag. To stop the count being abused, a scrambled form of the visitor’s address is kept for the minute of the click: replaced by the next minute’s, and never kept longer than a day. It is pseudonymised, not anonymous. Clicks by logged-in editors and in previews are not counted, and neither are links drawn outside a post’s content on pages that are not a single post (a footer on an archive, say), because which post they belong to is not certain. Behind a proxy or CDN every visitor arrives from the proxy’s address, so the limit of thirty clicks a minute applies to them together; a developer can pass the real address with the apbk_click_client_address filter. The plugin suggests a paragraph for your privacy policy under Settings Privacy.

Firefox and most ad blockers do not send these counts, so the numbers are lower than Amazon’s own reports. Compare them with each other (which post, which product, which block) rather than with Amazon.

It does not need to visit them to find what usually goes wrong with an affiliate link: a missing or wrong Associates tag, a short link whose tag cannot be read, a store you have no tag for, a stored product that has been deleted, a price too old to be shown. All of that is visible from your settings and your content. Sending automated requests to Amazon’s product pages is something Amazon blocks and its rules discourage, and a checker that does it reports working links as broken. Whether Amazon still sells a product is something only its API can say; the Pro add-on adds that to the report.

Why will it not accept an amzn.to short link?

Reading a short link means asking Amazon where it points, and this plugin makes no outbound requests at all. Open the short link in your browser and paste the full product URL from the address bar instead. The block tells you this when you paste one, rather than just refusing.

Why does it ask for a separate tag per country?

Because Amazon issues one. A amazon.com tag on an amazon.de link tracks nothing, and nothing about the link looks wrong: you simply earn zero and find out weeks later. Enter a tag for every store you are approved for; the block picks the right one from the URL. A store you leave empty produces a plain, untagged link, and the editor warns you before you publish it.

Do I need an Amazon API key?

Not for this plugin, which never uses one. You type the product details in and the block publishes them.

Fetching details from Amazon is what the Pro add-on does: with Creators API credentials you enter there, or, if you switch it on, through the AffiBlocks data service. Amazon only issues those credentials to Associates with at least ten qualifying sales in the past thirty days, which is exactly why entering a product by hand is a first-class feature here rather than a fallback.

Does it work with my theme?

It uses standard block markup and takes its colours and spacing from the theme, so the card looks like part of your site rather than something pasted in. Layout breakpoints respond to the width of the card itself, so it still reads correctly inside a Columns block or a narrow sidebar.

A theme that styles every picture, list or link (borders on images, lines beside list items, underlined links) does not reach inside the blocks: their pictures, lists, icons and buttons keep their own look. To change that look yourself, set the blocks’ --apbk-* custom properties in Additional CSS on the block’s own class, not on :root, for example :root:root .apbk-product-card { --apbk-accent: #c00; }. A rule has to match or outweigh the blocks’ own, and a button’s underline also needs !important.

Does it slow my site down?

It should not. The card is rendered in PHP, ships no JavaScript at all on the frontend, and its stylesheet (under 10 KB, 2 to 3 KB compressed) is only loaded on pages that actually contain the block.

Can I change the heading level of the product name?

Yes, in the block sidebar. It defaults to H2, which is the only level that never skips a heading level on a plain post. Set it to H3 if your card sits under an H2 section.

Why does the price disappear sometimes?

Three reasons, all deliberate.

A price of zero is almost always a data-entry mistake rather than a free product, so the block leaves the price out instead of printing “0.00”. A “was” price at or below the current price is dropped for the same reason: showing a discount that does not exist is the kind of thing that gets affiliate accounts closed.

The third only affects products that came from Amazon in the first place. Amazon’s Program Policies allow their data to be shown for at most 24 hours. This plugin stops at 12, half that, so a refresh that fails has a second and a third chance before anything is wrong: past 12 hours it stops showing the price, the availability and the image it links from Amazon, and shows “See current price on Amazon” in the price’s place. The block editor tells you when a card is in that state. Bringing the data back means fetching the product again, which is what the Pro add-on’s hourly refresh does automatically. Without it, the button sends readers to Amazon for the price.

The card itself stays: the name, your description, your pros and cons and the button are all still there, and the button sends the reader to Amazon, where the price is current by definition. Products you typed in yourself never expire and none of this applies to them, nor to an image you picked from your own media library; a price typed on a card that links to Amazon is not shown at all (see below).

What happens to an Amazon price after 12 hours?

It stops being shown, and the card says “See current price on Amazon” instead. Amazon’s Program Policies do not allow their prices to be displayed for more than 24 hours without being brought up to date; the plugin stops at 12 to leave room for a refresh that fails. This plugin has no way to update them: fetching is the Pro add-on’s job. With the add-on installed, an hourly task refreshes the products checked longest ago, up to about thirty an hour, so on most sites a price never gets that old.

Two things worth knowing:

WP-Cron only runs when somebody visits your site. On a quiet site tasks fire late. If your prices go stale on a low-traffic site, that is why: switching to a real system cron (wp-cron.php disabled in wp-config.php, a server cron job calling it on a schedule) fixes it, and is worth doing on any site with more than a handful of products.

A full-page cache does not know when a price changes. If you run WP Rocket, LiteSpeed Cache, Varnish or host-level caching, an updated price will not reach your visitors until that cache next clears the page, and neither will the moment a price stops being shown. Nothing here can clear it for you: the plugin knows which product changed, not which of your posts show it. Set the cache to expire pages at least once a day.

Does it add product structured data, and will it fight my SEO plugin?

It adds it, and it is built not to fight.

Structured data is the machine-readable description of a product (name, price, availability, link) that search engines read in order to show a rich result. Two descriptions of one product, disagreeing about the price, is worse than none: the search engine has to pick one, and you do not get to say which.

So if you run Yoast or Rank Math, the product is added inside their existing data rather than as a separate block, and linked to the page they already describe. If you run All in One SEO or SEOPress, which have no way to accept it, a separate block is added with its own identifiers that cannot collide with theirs. If you run no SEO plugin, you get that separate block. Nothing of theirs is ever changed or removed. We do look at it, to ask one question: is this product already described here? The only thing that answer can do is make us quieter.

Nothing at all is added when something else already describes the same product on that page: a WooCommerce product page, for instance, where your card is editorial content rather than the thing the page is about. A missing description costs you nothing; a contradictory one costs you the rich result.

Settings AffiBlocks Search engines has the switch if you would rather we stayed out entirely, and each block has its own “leave this card out” toggle in the sidebar for a card that is an aside rather than the point.

One thing worth knowing: a card is described to search engines only when it has a price or your own review (see the next question). Search engines show nothing for a product with neither, so a card with no price and no review of yours gets no description, and we will not invent either.

Can I add my own star rating?

Yes, and it is the only kind of rating this plugin will ever show. Open a Product Card, fill in the rating, who is reviewing, and a sentence or two of verdict. All three are needed: a star count with nobody’s name on it is not a review, and search engines drop one whose author is not a real name.

Your rating appears on the card and is sent to search engines as your review. It is never Amazon’s star average: that is not available through their API, and publishing someone else’s rating as your editorial judgement is the kind of thing that costs you the rich result and deserves to.

Your pros and cons are sent along with it, which is how a search result comes to show a pros-and-cons list. That only works for editorial reviews (a real opinion from the site, which is what yours is), so it needs the review filled in. Without one, the pros and cons still appear on the card; they just have nowhere to go in the data.

If you already describe your reviews to search engines some other way (a reviews plugin, your own snippets), Settings AffiBlocks Search engines has a switch for leaving ours out. Your pros and cons travel inside that review, so they go with it. Everything still shows on the card either way.

Where does the affiliate disclosure appear?

By default, at the top of the post or page, before the first link, or wherever you chose in the settings. It appears only on single posts and pages where one of the plugin’s blocks drew an affiliate link, and is kept out of feeds, search results and archive listings, where it would repeat once per post.

If you want it somewhere else (just above your first product, after an introduction you want read first, say), add the Affiliate Disclosure block where you want it. Placing it switches the automatic one off for that post, so you never end up with two.

Leave the block’s text empty and it shows whatever your settings say, so rewording your disclosure later updates every post that did not override it. Type in it and that post uses your wording instead.

Why does the price have a date next to it?

Because Amazon requires it. Their Program Policies ask for a timestamp beside any price that is refreshed less often than once an hour, and no plugin refreshes every product that often. The date is shown in your site’s own timezone and date format, and it is styled to be quiet but readable: please do not hide it with CSS, as that is the site owner’s obligation rather than the plugin’s.

A price typed by hand on a card that links to Amazon is not shown: Amazon’s policies allow a price only from its API or a link Amazon serves, so the button sends the reader to Amazon for it. On a card for another shop, a typed price is shown as you typed it, with no date.

If I use the same product in five posts, do I have five copies of it?

No. A product fetched from Amazon is saved once, and every card that names it reads from there, so a price only has to be brought up to date in one place. It creates no database tables: each product is a hidden post, which you can list with wp post list --post_type=apbk_product if you ever want to look.

Cards you type yourself are not saved separately; they simply live in the post you wrote them in, exactly as before.

What happens to my product cards if I delete the plugin?

They stay readable. Every card keeps its own copy of the product as well as pointing at the shared one, so a card whose product has gone still shows its name, image, price and everything else you typed.

Deleting the plugin removes the shared products only if you ticked “Delete this plugin’s settings, cached product data and click counts when the plugin is deleted” under Settings AffiBlocks Data: it is off by default, and it removes all three. Any Amazon credential left over from an older version is always removed, whatever that setting says: nothing can use it once the plugin is gone.

Is the output accessible?

Every block uses real headings, real lists, a real table and real links: the specifications table has proper row headings, the pros and cons are <ul> elements so a screen reader announces how many there are, and the marks beside them are inline SVG hidden from assistive technology. Images carry alt text that defaults to the product name. Buttons are at least 44 pixels tall and keep a visible focus ring even on themes that remove outlines. Availability is stated in words, never by colour alone, and the heading level of every block is yours to set so it fits your page’s outline.

The Notice block’s four types differ in colour and in the shape of their icon, so a reader who cannot tell the colours apart still sees which is which, unless you switch the icon off. The icon is hidden from screen readers, so say in the text itself whether it is a warning or a tip: the editor asks you to.

Where is the source code?

In the plugin itself. The editor scripts in build/ are compiled from the readable sources in blocks/ with @wordpress/scripts: npm install && npm run build rebuilds them from the package.json that ships alongside.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“APBK – Affiliate Product Blocks for Amazon” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.25.1

  • The click counter’s table now installs on every MySQL and MariaDB version, including older ones with a 767-byte index limit. Existing counts are kept.
  • The text domain is now apbk-affiliate-product-blocks, matching the plugin’s directory slug.

0.25.0

  • The plugin is now called APBK – Affiliate Product Blocks for Amazon. It is made by AffiBlocks, and its settings page stays Settings AffiBlocks. Your blocks, settings and links are untouched.

0.24.0

  • The plugin’s author became AffiBlocks, and its settings page is Settings AffiBlocks. Nothing else about it changes: your blocks, settings and links are untouched.
  • Every value the blocks print is now escaped at the moment it is printed, as well as when it is built. For developers: apbk_render_view_model can no longer change a Product Card’s wrapper attributes, layout or heading levels, and any value it returns is printed escaped for where it goes.
  • The FAQ now says plainly when a card is described to search engines: when it has a price or your own review.

0.23.0

  • What the Pro add-on adds, said where it helps: a Pro tab and card on the settings screen, Settings and Get Pro links on the Plugins screen, a closed Pro panel beside the product blocks, a line under a pasted Amazon link, and Pro blocks in the inserter that print nothing on your pages. Only administrators see any of it, “Hide Pro tips” removes the editor’s part, and a licensed Pro removes all of it.
  • For 15 days after install, a one-time offer for free-plugin users: 10% off a first Pro purchase.
  • A one-time notice on the Plugins screen points to the Associates tags, until they are set or it is dismissed.
  • Getting started no longer asks for a price on an Amazon card (0.22.0 does not show typed Amazon prices).
  • Settings cards, the Clicks and Link health tabs, Getting started, the Pro tab’s features and each block’s sidebar link to their page in the documentation on affiblocks.com. The link names only the screen it is on, and nothing is fetched until you click.
  • Fixed: button text took the link colour of themes that colour every link in a post, and a filled button’s turned dark blue on the blue. Filled, outline and Amazon buttons, and a Call to Action’s buttons on a background, keep their own colours now.
  • The plugin’s author is now AffiBlocks.

0.22.0

  • A price or stock typed by hand on a card that links to Amazon is no longer shown, on the page or in the data for search engines: Amazon’s Program Policies allow prices only from its API or links it serves. The button sends the reader to Amazon, and the editor says why. Prices from Amazon’s API, and typed prices for other shops, are unchanged.

0.21.2

  • Blocks keep their own look in themes that style every image, list item, link or icon: no theme borders, padding or shadows on product pictures, no lines beside pros and cons, no underlined or uppercased buttons, and icons that stay icon-sized. Tested against a deliberately hostile theme and seven popular ones.
  • A product card at the top of a post no longer delays its main picture: WordPress decides which pictures load first, as for any picture in your content.
  • Pictures drawn beside a product’s name (tables, comparisons, rankings) no longer repeat the name to screen readers.

0.21.1

  • Security: product records can be written only by the plugin itself, not through XML-RPC or Quick Edit.
  • Security: a settings change that does not mention a setting leaves it as it was, so another tool cannot switch off your disclosure or rel=”sponsored” by accident.
  • A card bound to a saved product always shows that product’s price and pictures, never values typed into the block.
  • A picture address typed into a block must be a full https:// address; one starting with / or // no longer shows.
  • Smaller hardening from a full security review: the link report’s reading bounded, click counting for visitors whose address arrives in IPv6 form, safer spreadsheet downloads.

0.21.0

  • Requires WordPress 6.6 or later: the block editor scripts need it.
  • The automatic disclosure now goes at the top of a post by default, before the first link. A position you chose in the settings is kept.
  • Pictures in blocks keep their size in themes that set image widths themselves, such as Twenty Twenty-One, so a table no longer runs off a phone’s screen.
  • Product Table on a phone: a long product name wraps instead of pushing the row past the screen.

0.20.0

  • Link health: each link with a problem shows its clicks over the last 30 days, and the most clicked come first.
  • Link health: views (Not working, Earning nothing, Prices hidden, Working), one shop at a time, and Download as CSV.
  • Link health: an automatic scan every day, week or month (weekly by default), for what changes without a post being saved.

0.19.0

  • Affiliate Button: an icon beside the words (a cart, an arrow, “opens elsewhere” or a price tag) in the button’s own colour, before or after the words.
  • New “Buy on Amazon Button” in the inserter: the Affiliate Button with those words and a cart, in your theme’s colours; “Amazon colours (orange)” is one more button style.
  • Call to Action: a picture from your media library behind the panel, darkened (60 to 90%) so the words read in white.
  • Clicks: narrow every number to one shop (Amazon, eBay, AliExpress or other links), and download the counts as a CSV file.
  • Product Card: can show the shop’s other pictures of a product beside the main one, when an add-on supplies them and you turn it on for the card. They are hidden with the price when the product is not refreshed.

0.18.1

  • Product Card: with the price switched off, the “In stock” line is hidden too, as it already was from the product’s structured data.

0.18.0

  • Ready-made post layouts in the Patterns tab: a best products roundup, a single product review and two products compared. The blocks in them are empty and the paragraphs say what to write, so nothing fake is published if one is left as inserted.
  • Product Card: up to six more pictures from the media library, shown with the main one in a strip the reader scrolls sideways (no script).
  • Button: a price on one end of the button, before or after the words.
  • Product Table: a second button on each row, for example “Read the review” beside “Check price”.
  • Notice: an icon for each kind of notice, so the kinds differ in shape as well as colour. Notices you already have get it too; it can be switched off.
  • Blocks with buttons or badges can have their own accent colour in Modern, Minimal or Bold, worked out to keep its contrast; every designed block can have its own font size.

0.17.0

  • Product Comparison and Versus: every product column puts its price and button on the same line, however long the names above them are, and a “pick” ribbon on one column no longer pushes its picture below the others. Pictures are larger, and in Modern, Minimal and Bold the columns and their values are centred.
  • Product Table: larger pictures, the badge under the product name, the rank on a disc, and on a narrow screen one compact card per product instead of every cell stacked.
  • Verdict: in Modern, Minimal and Bold the score sits in a box beside the words, and above them in a narrow column.

0.16.1

  • Corrected in this readme and on the settings screen: the automatic disclosure goes at the top or the end of the post, not next to the first product block, and an Amazon price is hidden after 12 hours (Amazon allows 24). Nothing about either behaviour changed.
  • The blocks’ stylesheets now carry the plugin’s version, so a browser fetches the new one after an update instead of keeping the old one until WordPress itself updates.
  • Fixed: on themes that do not size boxes to include their padding, such as Twenty Twenty-Five, a full-width button and the image panel of a Modern, Minimal or Bold Product Card were wider than the block and touched the text beside them.

0.16.0

  • The blocks have a category of their own in the block inserter, at the top of the list, and every block shows a preview when you hover it.
  • A tidier settings screen: each section in its own card, with a getting-started list and the Pro card beside them on a wide screen. Nothing you saved changes.
  • On classic themes the product blocks now have space between them.
  • The Notice block’s heading stays readable on dark themes in the Theme style.
  • New screenshots, icon and banner for the plugin directory.

0.15.0

  • Product Table, Versus and Comparison take the design styles (Modern, Minimal, Bold or Theme) like the other blocks, from the site’s setting or their own Style panel.
  • The styles are now printed once a page instead of on every block, so pages are lighter and a theme can adjust one detail of a style without !important.
  • Versus fits a phone: the label column narrows and the buttons stay inside the block.
  • For developers: contract 8 lets the Pro add-on’s blocks take the styles by declaring a designStyle attribute.

0.14.0

  • A designed look, chosen in one place. Settings AffiBlocks Design offers four styles and an accent colour for buttons and badges. The styles are Modern (the new default: white cards, a soft shadow, rounded corners), Minimal, Bold, and Theme, which keeps your theme’s colours as before. Text on the Modern, Minimal and Bold styles is checked to meet WCAG AA contrast, and an accent too light or too mid-toned to read on is darkened on the page. To keep the look your blocks had before, choose Theme.
  • Product Card, Pros & Cons, Specifications, Verdict, Notice, Call to Action, Button and Disclosure each have a Style panel in the block sidebar’s Styles tab, to give one block another style. No JavaScript is added to your pages.

0.13.0

  • The Clicks tab names products, links and blocks through one shared helper, which the Pro add-on’s email report reads too (contract 7). Nothing changes on the tab.

0.12.0

  • Blocks from the Pro add-on (Top Products, Product Image Button and Rating Box) are known to everything this plugin does site-wide: the affiliate disclosure, Amazon’s price sentence, click counting, the link-health report and the structured data. For developers: the new apbk_blocks filter describes a block another plugin draws (contract 6).

0.11.0

  • Products from AliExpress, with the Pro add-on: cards, tables, Versus and comparisons can show AliExpress products beside Amazon’s and eBay’s, with the store that sells them and the price it was before a discount. Prices are quoted for one ship-to country you choose in the add-on, and shown for twelve hours after they were fetched.
  • Pasting an AliExpress product address into a card’s product URL field puts it on the card as the link, ready for the add-on to fill in.
  • Link health: an AliExpress product page used as a link is reported, since only AliExpress’s promotion links earn anything.
  • The disclosure counts AliExpress as a shop of its own: a page with only AliExpress links names no shop; one with Amazon links too says so for both.
  • No rating ever comes from AliExpress: its shoppers’ feedback score is not shown or described to search engines.

0.10.0

  • Products from eBay, with the Pro add-on: cards, tables, Versus and comparisons can show eBay listings beside Amazon products. Under an eBay price the block shows what eBay asks to be shown (the shipping cost apart from the price, the item’s condition and the seller), and an eBay price is shown for three hours after it was fetched, inside the six eBay allows.
  • Amazon’s price disclaimer now appears only on pages that show an Amazon price.
  • Search engines are told an offer’s condition, shipping cost (and the country it applies to) and seller when the shop gave them.
  • The disclosure follows the shops a page links to, as long as you have kept the default text: “As an Amazon Associate…” where there are Amazon links, a sentence naming no shop where there are none, and both where there are both. Text you wrote yourself is shown as you wrote it.
  • A refreshed price takes the shop’s current shipping, seller and discount with it: a value the shop stopped reporting no longer lingers.
  • Pasting an eBay listing into a card’s product URL field puts it on the card as the link, instead of saying it is not an Amazon URL.
  • Link health: an eBay link without your eBay Partner Network campaign ID is reported, since it earns nothing.
  • Nothing changes for existing Amazon products: they are stored, shown and described exactly as before. This plugin still contacts no shop itself.
  • For developers: Domain\Providers lists the networks and how long each one’s data may be shown, apbk_cache_ttl is passed the provider, and Pro\Bridge::CONTRACT is 5.

0.9.0

  • Click counts, free: affiliate links your blocks draw in a post’s content are counted (per post, per product, per block and per day) under Settings AffiBlocks Clicks. Counting is on after this update; switch it off on the Settings tab. It adds no script to your pages and keeps no personal data with the counts: the visitor’s browser reports the click through the link’s own ping attribute, and the link still goes straight to Amazon with your tag.
  • Link health, free: a report of the affiliate links that are costing you commission: no tag, someone else’s tag, short links, stores you have no tag for, deleted products, expired prices. It checks against your settings and your content and contacts no shop to do it.
  • The plugin keeps its click counts in one table of its own. It is removed on uninstall only if you ticked “Delete this plugin’s settings, cached product data and click counts”.
  • For developers: the Product Table can list a dynamic listing’s products through the apbk_listing_items filter, the link-health report can be extended through apbk_link_health_product, and apbk_click_client_address passes the real visitor address on a site behind a proxy. Pro\Bridge::CONTRACT is 4.

0.8.0

  • Three new blocks, all free: Product Table, Versus and Product Comparison. Between them they cover the listing, the head-to-head and the full comparison a review site is built from.
  • They read the products you already have: pull in the Product Cards that are in the post and the table fills itself, keeping each row bound so its price goes on refreshing.
  • Each price expires on its own clock, so one stale product in a table of five hides only its own price.
  • Search engines get one list per block, pointing at the products rather than repeating them: a page with a card and a table naming the same product describes it once.
  • Every table is a real table with proper row and column headers, so a screen reader reading a price can say which product it belongs to.

0.7.0

  • Six new blocks, all free: Pros and Cons, Specifications, Verdict, Call to Action, Affiliate Button and Notice. Each holds a part of a review page that used to be available only inside the Product Card, or not at all.
  • The affiliate disclosure now also appears on pages whose only affiliate link comes from an Affiliate Button or a Call to Action, rather than only on pages with a Product Card.
  • Fixed: the focus ring on the filled button style was drawn in the button’s own text colour, which on most themes made it invisible against the page. It now uses the accent colour with a contrasting band.
  • The HTML Anchor field works on these blocks below WordPress 7.0, where WordPress does not yet render it for server-rendered blocks.
  • The Affiliate Button takes its rel attributes from your settings at the moment the page is rendered, so turning nofollow on later applies to every button you have already published.
  • Specifications renders a real table with <th scope="row"> row headings, so a screen reader reading the fourth row still knows which specification it belongs to.
  • None of the six is sent to search engines, on purpose: a review needs a product to be about, and these blocks do not have one. The Product Card is still where a star rich result comes from.
  • No new settings, no new database tables, no new outbound requests. This plugin still contacts nothing.

0.6.0

  • Fetching products from Amazon has moved to the separate Pro add-on. This plugin no longer contacts Amazon, or anything else: it makes no outbound request at all. Everything a card does with the data it has is unchanged: the blocks, the affiliate links, the structured data, the review, the disclosure and the rule that hides old Amazon data all work exactly as before.
  • Pasting a product URL still builds your affiliate link, with your tag for that store and anybody else’s removed. That was never the part that needed an API key.
  • An Amazon price still stops being shown before it is 24 hours old, because Amazon’s Program Policies say so. Bringing it back means fetching the product again, which is what the add-on does hourly. Without it, the button sends readers to Amazon for the price.
  • The Amazon credentials screen, the hourly refresh and the “Fill in from Amazon” button are in the add-on now. A stored credential left behind by an older version is deleted when this plugin is uninstalled.

0.5.0

  • Your own star rating, reviewer name and verdict on a Product Card: shown on the card and sent to search engines as your editorial review. Never a marketplace’s star average.
  • Your pros and cons are sent inside that review, which is how a search result comes to show a pros-and-cons list.
  • Product data for search engines: added to Yoast’s or Rank Math’s existing data where possible rather than as a second, competing copy, and left out entirely when your SEO plugin or WooCommerce already describes the same product.
  • A switch for sites that describe their reviews some other way, and a per-block “leave this card out” toggle.
  • An Affiliate Disclosure block, for putting the statement where you want it. Placing it turns the automatic one off for that post.
  • Amazon’s price-accuracy disclaimer now appears whenever one of their prices is on the page, independently of where (or whether) your affiliate disclosure is shown.

0.4.0

  • Prices refresh themselves. An hourly background task asks Amazon about the products that have gone longest without being checked, so a card’s price stops going stale on its own.
  • Before 24 hours pass without a refresh, the price, availability and Amazon image are withheld and replaced with “See current price on Amazon”: Amazon’s Program Policies do not allow showing older data than that.
  • “Price as of ” beside every price that came from Amazon, with their required accuracy disclaimer once per page.
  • The editor tells you when a card’s data has expired and gives you a button to fetch it again.
  • When Amazon refuses, the plugin waits before trying again and waits longer each time, so a site whose credentials expired is not making a failed request every hour forever.

0.3.0

  • Fill a Product Card in from Amazon: paste a URL, press one button, and the title, image, price and availability arrive from the Creators API using your own credentials.
  • Credentials are stored encrypted, per marketplace, and the secret is never sent back to the browser.
  • Products are stored once and shared between cards, so the same product in three posts is one thing to keep up to date.
  • What you type is yours: importing never overwrites a title, description, pros or cons you wrote by hand.

0.2.0

  • Paste an Amazon product URL into the block and get a clean affiliate link back: tracking parameters removed, any tag already on the URL replaced with yours.
  • An Associates tag per Amazon store on the settings screen, covering all twenty-two marketplaces.
  • The editor warns before you publish a link for a store you have no tag for, instead of letting it earn nothing silently.
  • Short links (amzn.to, a.co) are refused with an explanation rather than accepted and broken: resolving one would mean contacting Amazon, which this plugin does not do.
  • Still no external requests, and still no frontend JavaScript.

0.1.0

  • Product Card block: name, image, description, price and was-price with currency, availability, pros, cons, badge, and a call-to-action button.
  • Horizontal and vertical layouts, three image sizes, two button styles, per-field visibility, and a selectable heading level.
  • Settings page for the default button text, rel attributes, new-tab behaviour, affiliate disclosure and delete-on-uninstall.
  • Affiliate disclosure inserted automatically on posts that contain a card.
  • Server-rendered, no frontend JavaScript, stylesheet loaded only where the block is used.