Skip to content

Setup guide

From installing the plugin to inserting your first product card, in order. Read this page top to bottom first.

Right now, Pukulink covers Japanese marketplaces The supported stores today are Amazon.co.jp, Rakuten Ichiba and Yahoo! Shopping (Japan), so you will need an affiliate account with at least one of them — Amazon Associates JP, Rakuten Affiliate, ValueCommerce or Moshimo Affiliate. Other Amazon regions and marketplaces such as eBay are a direction for the future, not something you can configure today.

1. Install

  1. In the WordPress admin, open Plugins > Add New and search for Pukulink.
  2. Press Install Now.
  3. Press Activate Plugin.
  4. Settings > Pukulink appears in the admin menu.

If you would rather install a ZIP, get it from the download page and use Plugins > Add New > Upload Plugin.

Requirements WordPress 6.0 or later, PHP 7.4 or later. To use the Classic Editor you will want the Classic Editor plugin alongside it — but the Block Editor alone works fine.

2. Connect the APIs

Enter the credentials for the marketplaces you want on the API settings tab of Settings > Pukulink. You do not need all three. Rakuten alone, or Yahoo! alone, is enough.

Each marketplace issues credentials differently, so they have a page each. Open the one you need.

Moshimo Affiliate is optional — you don't need it if you are registered directly with each marketplace. Note that Moshimo provides no product search API, so the three API settings above are required even when routing through Moshimo (Moshimo sits on top of them rather than replacing them).

The API settings tab of Settings > Pukulink
The API settings tab. Fill in only the marketplaces you use.

When you are done, press each marketplace's connection test button. Errors are worded to tell you what to fix rather than just failing.

A successful connection test message
A successful connection test. Once this passes, search works.
Don't forget the affiliate ID If Rakuten Ichiba or Yahoo! Shopping is enabled but the affiliate ID (Rakuten Affiliate ID, or ValueCommerce sid / pid) is empty, buttons still appear — but they link to the plain store URL and earn nothing. Since v2.6.5 the settings screen warns you about this.

3. Display settings (optional)

Adjust these on the Display & Design tab if you want to. The defaults are all usable as they are.

SettingSuggested
Card display in the editor“Product card” (default). Switch only if you prefer to see raw shortcodes.
Link checking in the insert preview“Open in a new tab” (default). A dedicated verification window is also available.
Card colour scheme“Follow the device or browser setting” (default). Choose “always dark” only for permanently dark sites.
Price displayThree independent switches — show prices, show the fetch date, show the note (all on by default). This is the site-wide default; individual cards can override it from the insert preview. If you show Amazon prices, leave the fetch date on.
ReviewsStar rating and review link, on by default. Stars come from Rakuten and Yahoo! items only; the review link is Amazon only.
Button colours, text colours and labelsDefaults are each marketplace's brand colour with white text. Changes apply to every existing post.
Product image galleryOff by default. Turning it on enables swipeable extra photos for Amazon and Rakuten items (Yahoo! is unsupported). Even then, only products where you ticked “Include extra photos” are affected.
Structured data (JSON-LD)Off by default. Turn it on if you want it.

4. Insert your first product card

In the Classic Editor

  1. Open a post and press Add Pukulink — the Pukuo icon in the media button row above the editor.
  2. The search modal opens. Choose a marketplace tab, type a product name, search.
  3. Pick a result and the insert preview opens. Choose a template and check the desktop, tablet and phone widths.
  4. Press Insert. A shortcode goes into the post, shown in the Visual tab as a product card placeholder.

In the Block Editor

  1. Add a block and type /pukulink, then choose Pukulink (searching for “product link” finds it too). The search screen opens immediately.
  2. Everything from there is identical to the Classic Editor. The inserted card becomes a Pukulink Card block and renders as a real card while you edit.
  3. The same search screen also opens from the Pukuo icon in the toolbar of any block you have selected.
Both editors save the same shortcode Classic or Block, what lands in the post is [pukulink ...]. Switching editors later does not break anything.

5. Going further

Tune the search keyword

Buttons for marketplaces without a linked product become links to that store's search results. You can edit that search term in the Search keyword field of the insert preview. Adding a model number or capacity gets readers to the right item faster. (The title shown on the card is unaffected; leaving the field empty searches by product name.)

Link a product from another store

Use + Link an item from another store in the insert preview. Choose a store other than your starting one, search by product name, and press Link on the result you have confirmed. Back in the preview, each store's item and price are listed.

Linking makes each store's price update independently. Marketplaces you did not link get a keyword search link instead — the plugin never decides on its own that two items are the same product. More on linking →

Edit a card you already inserted

  • Block Editor: select the card, then Edit card in the toolbar.
  • Classic Editor: the pencil button on the placeholder in the Visual tab.

Either route lets you re-pick the product or change the links.

Save a favourite store

On the Favourite stores tab, choose the marketplace, paste the store URL (or store code) and press Verify and save. The store name is confirmed against the official API first. Afterwards, the search screen gains a Search in selector for narrowing to that store.

  • Rakuten Ichiba: https://www.rakuten.co.jp/scope/ or scope
  • Yahoo! Shopping: https://store.shopping.yahoo.co.jp/STORE-ID/ or the store ID

Register a sale

Rakuten's “days with 5 and 0” and Yahoo!'s “days with 5” appear automatically. For fixed-period events such as Rakuten Super SALE or an Amazon time sale, add the marketplace, label text and date range on the Sales tab. Labels never show outside their range.

Use the Comparison Buttons template

Selecting Comparison Buttons outputs store buttons only, laid out so they survive being dropped into a table cell. The insert preview offers filled or outlined and horizontal or stacked.

Let an AI write the draft

Tell your AI to write [pukulink_draft keyword="product name"] wherever a product should go. The draft then shows highlighted markers in the Classic Editor's Visual tab; press the pencil button, search, pick, and the marker becomes a card. Markers left in a published post are invisible to readers. Example prompts are on the plugin's Help tab.

With several markers, confirming one moves automatically to the next (“AI markers: 2 of 5”). Skip this marker passes over anything you don't want to handle yet.

6. About automatic price updates

Prices refresh through WP-Cron, a little each hour (24-hour cache by default). On quiet sites WP-Cron barely runs, so scheduling wp-cron.php with your server's cron is more reliable.

On Xserver, use the server panel's Cron設定 to run something like this hourly (adjust the path to your own environment):

/usr/bin/php /home/USERNAME/example.com/public_html/wp-cron.php

Adding define( 'DISABLE_WP_CRON', true ); to wp-config.php then stops cron running on every page view, which makes the site a little lighter.

7. When something doesn't work

Start with FAQ & troubleshooting, which covers each connection-test error and the common questions.

Configured? Insert one card

Once the first one is in, the rest is the same three gestures.