Hamazon

外掛說明

You can add affiliate link in visual editor button.
Search on editor and add it immediately.

Available Services

  • Amazon Creators API (formerly PA-API v5)
  • PHG iTunes affiliate
  • DMM affiliate

Requirements

  • PHP 8.1 or later
  • WordPress 6.0 or later

Deprecated

These services below are deprecated.

  • Rakuten
  • Linkshare

螢幕擷圖

  • You can search affiliate like this screen.

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Affiliate

安裝方式

  1. Upload wp-hamazon folder in /wp-content/plugins/ directory.
  2. Activate plugin.
  3. Go to Setting > Affiliate Setting and enter credentials.

使用者評論

2019 年 1 月 5 日
Thank you for this plugin. I can use it without problems on the block editor.
2017 年 10 月 17 日
At the beginning of this year,the plugin became didn’t work for the API expired. I contacted the developer and asked for renewal, but at last I got the news of the update yesterday. Unbelievable! Thank you so much! I appreciate for you. Next time I would like to have specifications that can select multiple codes.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Hamazon〉的開發相關工作。

參與者

〈Hamazon〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Hamazon〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

6.0.0

Breaking Changes!

  • PHP 8.1 or later is now required. Please check your server environment before updating.
  • Migrated from Amazon PA-API v5 to Amazon Creators API.
    • PA-API v5 (Offers V1) was deprecated by Amazon on January 31, 2026.
    • You need to obtain new credentials (Credential ID and Credential Secret) from Associates Central > Tools > Creator API.
    • Old Access Key / Secret Key will no longer work.
  • Settings field names changed:
    • “Associate ID” “Partner Tag”
    • “Access Key” “Credential ID”
    • “Secret Key” “Credential Secret”

Note: Amazon Creators API requires at least 10 qualifying sales within 30 days per marketplace to maintain API access.
If your account doesn’t meet this requirement, the fallback feature (introduced in 5.2.0) will be used automatically.

5.2.0

  • Add fallback if you can’t satisfy Amazon’s Product Advertising API requirements.

NOTE: PA-API now(Nov 13th 2025) requires at least 10 sales within 30 days via your account.
If you fail to meet these sales requirements, the API will always return a 403 response.
Once this state is reached, you will no longer be able to add new links.
For this reason, we have provided a manual ASIN configuration feature in the block editor,
along with a fallback layout that displays at least the title and URL when only an ASIN is specified.

5.1.4

  • Fix bug on classic editor.
  • Avoid translation error warning.

5.1.3

  • Fix fatal error on deploy script.

5.1.0

  • Fix bug with serverside render.

5.0.2

  • Fix Warning error since 5.4.2

5.0.0

Breaking Changes!

  • Sorry to be late. Followed Amazon Advertising API 5.0. If you use old credentials, go to Amazon Associate Central and get new credentials.
  • Markups and API data structures are completely changed, so if you customize with hooks, please check they work as you wanted.
  • Add WP CLI command: wp hamazon search 'science fiction'

4.0.4

  • Fix js dependency errors.

4.0.3

  • Change translation.

4.0.2

  • Fix JS Error.

4.0.1

  • Sorry! Fix non gutenberg environment.

4.0.0

  • Fix PHG bug.
  • Add Gutenberg support!

3.0.3

  • Got bug report and remove typehint to avoid fatal error.

3.0.0

BREAKING CHANGE!!

  • All codes are rewriten.
  • Drop Rakuten and Linkshare. Shortcodes are now empty.
  • Ready for Shortcake. Now you can preview shortcode resutl.
  • If you feel this version breaks your site, stay old verison or contact me via support forum.

2.3.1

  • 関数tmkm_amazon_viewが動かなくなっていたので、直しました。
  • HTMLリンクを出力するhamazon_asin_linkを追加しました。

2.3

  • ショートコード挿入ボタンをつけました。
  • ショートコード内の情報を出力できるようにしました。一言コピーのようなものが入れられます。後方互換は取っているので、いままでのコンテンツはそのまま表示されます。
  • サービスにPHG(iTuensアフィリエイト)とDMMを追加しました。
// これまで
[tmkm-amazon]00000000[/tmkm-amazon]
// これから
[tmkm-amazon asin='00000000']この本は最高ですよ![/tmkm-amazon]

2.2

  • 楽天をサービスとして追加
  • マークアップをドラスティックに変更しました。これまで利用していた方は注意してください。

2.1

  • リンクシェアのAPIがリクエストを返さないことがあるので、キャッシュ方法を変更

2.0

  • リンクシェアを追加

1.0

  • はじめてのリリース