| 开发者 | bihideve |
|---|---|
| 更新时间 | 2026年5月18日 18:40 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[leanon_as_box id="your-preset-name"]
Box Builder features include:
[affiliate_storefront_header name="..." handle="..." avatar="..." bio="..."]
Idea list card:
[affiliate_storefront_list name="My Picks" asins="B01,B02,B03" count="12"]
Grid wrapper:
[affiliate_storefront_grid columns="4"][affiliate_storefront_list ...][/affiliate_storefront_grid]
A dedicated admin panel under Affiliate Storefront -> Storefront helps generate these shortcodes.
Dashboard
The plugin dashboard includes:
/wp-content/plugins/ or install the plugin through the WordPress admin.[leanon_as asin="B000QUANME"].You need an active Amazon Associates account and Amazon Creators API credentials if you want to fetch live product data from Amazon. You also need an Amazon partner tag to create affiliate links.
No. This plugin is not affiliated with, endorsed by, sponsored by, or approved by Amazon.com, Inc. or its affiliates.
Go to Affiliate Storefront -> Settings -> Amazon API and enter your Credential ID, Credential Secret, Credential Version, and Token URL.
An ASIN, or Amazon Standard Identification Number, is a product identifier used by Amazon. It is usually a 10-character alphanumeric code, for example B000QUANME.
Product box shortcodes use the leanon_as prefix. This is the plugin's internal shortcode prefix and is not the translation text domain.
Available product box shortcodes include:
[leanon_as asin="B000QUANME"] — Single product box.[leanon_as_sidebar asin="B000QUANME"] — Compact sidebar box.[leanon_as_sidebar_grid asins="ASIN1,ASIN2,ASIN3"] — Sidebar product list.[leanon_as_grid asins="ASIN1,ASIN2,ASIN3" cols="3"] — Product grid.[leanon_as_list asins="ASIN1,ASIN2,ASIN3"] — Ranked list.[leanon_as_compare asins="ASIN1,ASIN2,ASIN3"] — Comparison table.[leanon_as_hero asin="B000QUANME" title="..." tagline="..."]Description.[/leanon_as_hero] — Hero layout.[leanon_as_hero_single asin="B000QUANME"] — Single-image hero layout.[leanon_as_review asin="B000QUANME" rating="4.5" pros="Fast|Light" cons="Expensive"]Verdict.[/leanon_as_review] — Review card.[leanon_as_box id="preset-id"] — Saved Box Builder preset.Storefront-style shortcodes include:
[affiliate_storefront_header name="..." handle="..." avatar="..." bio="..."] — Creator profile card.[affiliate_storefront_list name="..." asins="..." count="..."] — Curated idea list card.[affiliate_storefront_grid columns="4"][/affiliate_storefront_grid] — Responsive grid wrapper.Create a WordPress page and add an [affiliate_storefront_header] shortcode at the top. Then add an [affiliate_storefront_grid] shortcode containing one or more [affiliate_storefront_list] shortcodes.
Each list card can show a cover image, list name, item count, thumbnails, and product quick-view information.
The plugin fetches product data from the Amazon Creators API when no valid cached data exists. Product data is cached using WordPress transients for the duration configured in the plugin settings.
Supported marketplace options include: US, UK, Canada, Germany, France, Italy, Spain, Netherlands, Sweden, Poland, Belgium, Turkey, Brazil, Mexico, Japan, India, Singapore, Australia, UAE, Saudi Arabia, and Egypt.
Geo-targeting is an optional feature. When enabled, the plugin uses GeoJS to detect the visitor's country and adjust Amazon affiliate links to a matching local marketplace where supported. For example, a visitor from the United Kingdom may be directed to amazon.co.uk instead of amazon.com.
The plugin itself does not store personal data about visitors. When geo-targeting is enabled, the visitor's IP address is sent to GeoJS so the visitor's country can be detected. This request is made by the visitor's browser when a page containing plugin output is loaded and geo-targeting is enabled. See the External Services section for more details.
No. All functionality included in this WordPress.org plugin is available in this plugin without a paid upgrade.
The plugin includes an optional disclosure feature that can append an Amazon Associates disclosure to content where product boxes are displayed. Site owners remain responsible for ensuring their use of the plugin, affiliate links, disclosures, and product data complies with Amazon Associates Program requirements and applicable laws.