[wordpress插件] Amazon Post Purchase亚马逊邮政购买

wordpress 插件 文章 2020-02-17 09:20 588 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Amazon Post Purchase Plugin is based upon the Amazon Product In a Post plugin

Amazon Post Purchase插件基于 Amazon Product in a Post 插件

developed by Don Fischer.

Don Fischer 开发。

While that plugin is intended for displaying products within a Post, this plugin will display products as a side-bar widget in themes that support dynamic side-bars.

虽然该插件旨在在帖子中显示产品,但该插件将在支持动态侧栏的主题中将产品显示为侧栏小部件。

This plugin is useful for when you want to display different Amazon products in the side-bar for individual Posts.

当您要在单个帖子的侧栏中显示不同的Amazon产品时,此插件非常有用。

The plugin will only display when the Post or Page has a custom field set.

该插件仅在“帖子”或“页面”设置了自定义字段时显示。

How it Works:

工作原理:

The plugin uses the newest Amazon Product Advertising API, ensuring full security on all transaction calls.

该插件使用最新的Amazon Product Advertising API,以确保所有交易调用的完全安全。

To use the plugin, you should first get an Amazon Affiliate Account.

要使用该插件,您首先应该获得一个 Amazon Affiliate帐户

Once you have an account, install the plugin, enter your Amazon Associate ID, and the keyname you will use in your post’s Custom Field to track the ASIN.

拥有帐户后,安装插件,输入您的Amazon Associate ID,以及您将在帖子的“自定义字段”中使用的键名来跟踪ASIN。

Styling

样式

You can customize the look and feel of the displayed widget, including turning on or off the display of certain data elements, through CSS.

您可以通过CSS自定义显示的窗口小部件的外观,包括打开或关闭某些数据元素的显示。

The following CSS describes the various data elements displayed in the Widget:

以下CSS描述了窗口小部件中显示的各种数据元素:

#amazon-post-purchase-container {  

#amazon-post-purchase-container {  

/* This is the container DIV for the displayed widget */

/ *这是显示的小部件的容器DIV * /

}

}

#amazon-post-purchase-image {  

#amazon-post-purchase-image {  

/* This is the container DIV for the product IMAGE.

/ *这是产品IMAGE的容器DIV。

Defaults are: */  

默认值为:* /  

text-align:center;

text-align:center;

}

}

#amazon-post-purchase-large-image-link {  

#amazon-post-purchase-large-image-link {  

/* This controls the display of the text "See larger image" Defaults are: */  

/ *这控制文本“查看大图”的显示默认值为:* /  

text-align:center;

text-align:center;

}

}

#amazon-post-purchase-byline {  

#amazon-post-purchase-byline {  

/* This DIV contains the product 'title' and 'author' information.

/ *此DIV包含产品的“标题”和“作者”信息。

Two sub elements are contained within this DIV: */

此DIV中包含两个子元素:* /

}

}

#amazon-post-purchase-byline H2 {    

#amazon-post-purchase-byline H2 {    

/* This is where the product 'title' is contained */

/ *这是包含产品“标题”的位置* /

}

}

#amazon-post-purchase-byline #amazon-post-purchase-author {    

#amazon-post-purchase-byline#amazon-post-purchase-author {    

/* This is where the product 'author' is contained */

/ *这是产品“作者”所在的位置* /

}

}

#amazon-post-purchase-publication {  

#amazon-post-purchase-publication {  

/* This Container displays the Format (ie: 'paperback'), Release Date, and Publisher information.      

/ *此容器显示格式(即:“平装”),发行日期和发行者信息。      

If you turn 'off' display of this id, all 3 of those elements will not be displayed */

如果您关闭此ID的显示,则不会显示所有这三个元素* /

}

}

#amazon-post-purchase-price {  

#amazon-购买后价格{  

/* This is where the 'List Price', 'New Price' and 'Used Price' are displayed      

/ *这是显示“标价”,“新价格”和“使用价格”的地方      

If you turn 'off' display of this id, all 3 of those elements will not be displayed */

如果您关闭此ID的显示,则不会显示所有这三个元素* /

}

}

#amazon-post-purchase-button {  

#amazon-post-purchase-button {  

/* This controls the display of the 'Buy Now at Amazon' button.      

/ *这将控制“在亚马逊上购买”按钮的显示。      

By default, this displays the image "images/buyamzon-button.png" in the plugin directory.      

默认情况下,这会在插件目录中显示图像“ images / buyamzon-button.png”。      

If you want to use a different 'buy' button, simply save a new image with the same name to this location.

如果您要使用其他“购买”按钮,只需将具有相同名称的新图像保存到该位置。

*/

* /

}

}

If you have any questions email us at wordpress@heypublisher.com.

如果您有任何疑问,请发送电子邮件至 wordpress@heypublisher.com

安装步骤

    1. Upload the amazon-post-purchase folder (inside the zip file) to your /wp-content/plugins/ directory
    2. amazon-post-purchase 文件夹(在zip文件中)上传到您的 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    After you have installed the plugin and loaded the widget into your side-bar, you will need to configure it.

    在安装插件并将小部件加载到侧栏中后,您将需要对其进行配置。

    Drag the “AmazonPostPurchase” widget to the appropriate side-bar container.

    将“ AmazonPostPurchase”小部件拖到相应的侧栏容器中。

    Where prompted, set the following fields:

    在出现提示时,设置以下字段:

      • “Title” – this will be the title displayed above the widget in the side-bar.
      • “标题” –这将是显示在侧栏中小部件上方的标题。

      • You can make this simple text, like “You Might Also Like”, or
      • 您可以输入以下简单文字,例如“您可能也喜欢”,或者

      • You can make the title dynamically display the Author/Artist's name by using the keyword #AUTHORNAME#, like this: “Recently by #AUTHORNAME

        您可以使用关键字 AUTHORNAME #,使标题动态显示作者/艺术家的姓名,例如:“最近## em> AUTHORNAME

        em>#”.

        em>#”。

      • “Amazon Affiliate ID” – this should be your Affiliate ID.

        “ Amazon会员ID” –这应该是您的会员ID。

        If you do not set this field, all referral $$ from Amazon will go to us.

        如果您未设置此字段,那么所有来自Amazon的引荐$$ $都会归我们所有。

      • “Custom Field Name” – this is the ‘name’ you will use when you create a custom field in your post.

        “自定义字段名称” –这是在帖子中创建自定义字段时将使用的“名称”。

        By default this value is set to ‘ASIN’.

        默认情况下,此值设置为“ ASIN”。

      No additional adjustments are needed unless you want to configure your own CSS styles.

      除非您要配置自己的CSS样式,否则无需其他调整。

      Usage

      用法

      Once installed, adding a product to your post is a simple process:

      安装后,将产品添加到帖子中是一个简单的过程:

        • Go into the full edit mode for the post (Post/Edit then select the post).
        • 进入帖子的完全编辑模式(“帖子/编辑”,然后选择帖子)。

        • Under the Custom Fields, click on the link ‘Enter New’ (after you’ve done this the first time, you will simply select the value from the drop-down list).
        • 在“自定义字段”下,单击“输入新内容”链接(第一次完成后,您只需从下拉列表中选择值即可)。

        • Input the value you set in the widget “Custom Field Name” in the “Name” field.

        • 在“名称”字段的“自定义字段名称”小部件中输入您设置的值。

          (we recommend the word “ASIN”).

        • (我们建议使用“ ASIN”一词。)

        • Input the ASIN for the product you want displayed in the “Value” field.
        • 在“值”字段中输入要显示的产品的ASIN。

        • Save or Publish the post.
        • 保存或发布帖子。

        Yes — it’s that easy!

        是的-就这么简单!

下载地址
https://downloads.wordpress.org/plugin/amazon-post-purchase.2.3.1.zip
-EOF-

AI助手支持GPT4.0