Giter VIP home page Giter VIP logo

wp-hamazon's Introduction

Hamazon

Contributors: Takahashi_Fumiki, hametuha
Tags: amazon, affiliate, dmm, phg
Requires at least: 5.6
Tested up to: 6.4
Requires PHP: 7.2
Stable tag: 5.1.3

You can add affiliate link in post content via Amazon, iTunes, DMM.

Description

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

Available Services

  • Amazon Advertising API(v5)
  • PHG iTunes affiliate
  • DMM affiliate

Deprecated

These services below are deprecated.

  • Rakuten
  • Linkshare

Installation

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

Screenshots

  1. You can search affiliate like this screen.

Changelog

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

  • はじめてのリリース

wp-hamazon's People

Contributors

fumikito avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wp-hamazon's Issues

Fatal error because of argument type hint

新バージョンのエラーですが、現在
Fatal error: Uncaught TypeError: Argument 1 passed to Hametuha\WpHamazon\Constants\AmazonConstants::get_attributes() must be an instance of Hametuha\WpHamazon\Constants\SimpleXMLElement, instance of SimpleXMLElement given,(…以後は、AmazonConstants.phpの各行エラーが表示)
と表示され、ページ全体が表示されなくなります。

その直前はページ表示時に、商品情報は出ずにアクセスキーなど入力情報が表示されてしまい、リロードすると商品が表示される、という現象が頻繁にありました。
アフェリエイトはAmazonしか使用していません。
ご報告までに

via https://wordpress.org/support/topic/古いバージョンはどこにありますか?/

Follow Amazon API update.

https://webservices.amazon.com/paapi5/documentation/?ref_=pe_3519780_470445350
https://webservices.amazon.com/paapi5/documentation/migrating-your-product-advertising-api-account-from-your-aws-account.html?ref_=pe_3519780_470445350
https://webservices.amazon.com/paapi5/documentation/migration-guide.html?ref_=pe_3519780_470445350

Hello associate, We would like to inform you that all of your applications making calls to Amazon’s Product Advertising API version 4.0 (PA API 4.0) will need to upgrade to Amazon’s Product Advertising API version 5.0 (PA API 5.0) by March 9, 2020. PA API 5.0 is a more simple, granular, and consistent API that enables you to quickly and easily link your content to Amazon.Key Features & ChangesAccess information about the latest offers and products in the entire Amazon product database/catalog, such as Prime discounts, multi-currency formats, and shipping eligibilityNewer, improved ways to get the most relevant and up to date product informationRapid integration and easier development with lower engineering cost through use of popular tools and languagesYou may continue to use both PA API 4.0 and PA API 5.0 without disruption through March 9, 2020. After that date, we will shut down PA API 4.0, and any application calling it will no longer be able to retrieve Amazon product information.Click here for more information on PA API 5.0. To upgrade to PA API 5.0, please follow BOTH of the two steps below:1. Migrate your AWS account to a Product Advertising API account, if you have not done so already.2. After completing step 1, upgrade each of your applications to PA API 5.0, as per the details here.If you have further questions or problems with the upgrade, please contact us here and include your Store ID.We wish you a happy new year.Sincerely, The Amazon Associates Program

楽天・Valueコマースに対応

  • 隠し投稿タイプを作る(キャッシュに利用)
  • そこに楽天とValueコマースを紐づける
  • バッチ処理を追加(既存投稿のサポート)

DMM broken

Since DMM API Version 3.0, wp-hamazon doesn't work.

WordPress 6.5でエラー

select( 'core/edit-post' ).isInserterOpened is deprecated since version 6.5. Please use select( 'core/editor' ).isInserterOpened instead.
i @ deprecated.min.js?ver=e1f84915c5e8ae38964c:2

dataパッケージが変更したので、6.5から挿入ボタンが動かなくなった模様。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.