[wordpress插件] Datafeedr Comparison SetsDatafeedr比较集

wordpress 插件 文章 2020-04-12 22:10 492 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

The Datafeedr Comparison Set plugin automatically creates price comparison sets for any product in your WooCommerce store or by using a shortcode.

Datafeedr比较集插件可自动为WooCommerce商店中的任何产品或使用简码创建价格比较集。

Heads-up! — This plugin requires that you have an active subscription to one of our API plans.

注意!-此插件需要您有效订阅我们的API计划之一。

Purchase a subscription here.

此处购买。

API Usage

API使用情况

Please know that the generating or updating of a single comparison set will require between 2 and 6 API requests.

请注意,单个比较集的生成或更新将需要2到6个API请求。

If you are using the API Starter Plan, consider upgrading<

如果您使用的是API 入门计划,请考虑升级<

/a> to the Basic Plan.

/ a>进入基本计划

Installation & Configuration

安装和配置

[IMPORTANT] Before You Begin

[重要]开始之前

This plugin requires that you have installed and activated the Datafeedr API plugin.

此插件要求您已安装并激活 Datafeedr API插件

The following instructions will assume that you have installed the Datafeedr API plugin and selected your affiliate networks and merchants.

以下说明将假定您已安装 Datafeedr API插件,并选择了您的联盟网络和商家。

Installation and configuration instructions can be found here.

可以在此处找到安装和配置说明。

API Usage

API使用情况

Please know that the generating or updating of a single comparison set will require between 2 and 6 API requests.

请注意,单个比较集的生成或更新将需要2到6个API请求。

If you are using the API Starter Plan, consider upgrading<

如果您使用的是API 入门计划,请考虑升级<

/a> to the Basic Plan.

/ a>进入基本计划

Plugin Installation

插件安装

    1. Upload the datafeedr-comparison-sets folder to the /wp-content/plugins/ directory.
    2. datafeedr-comparison-sets 文件夹上载到 / wp-content / plugins / 目录。

    3. Activate the Datafeedr Comparison Sets plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活 Datafeedr比较集插件。

    5. Configure here: WordPress Admin Area > Datafeedr API > Comparison Sets.
    6. 在此处配置:WordPress管理区域> Datafeedr API>比较集。

    Enabling Amazon Products

    启用Amazon产品

    If you want Amazon products to appear in your comparison sets, do the following:

    如果您希望亚马逊产品出现在比较集中,请执行以下操作:

      1. Go here WordPress Admin Area > Datafeedr API > Configuration > Amazon Settings.
      2. 转到此处WordPress管理区域> Datafeedr API>配置> Amazon设置。

      3. Add your Amazon Access Key ID, Secret Access Key, Tracking ID and Locale.
      4. 添加您的Amazon Access Key ID,秘密访问密钥,Tracking ID和区域设置。

      5. Click the [Save Changes] button at the bottom of the page.
      6. 单击页面底部的[保存更改]按钮。

      7. Go here WordPress Admin Area > Datafeedr API > Comparison Sets.
      8. 转到此处WordPress管理区域> Datafeedr API>比较集。

      9. Change the Cache Lifetime field to 86400.
      10. 缓存生存时间字段更改为 86400

      11. Click the [Save Changes] button at the bottom of the page.
      12. 单击页面底部的[保存更改]按钮。

      Display Comparison Sets for WooCommerce Products

      WooCommerce产品的显示比较集

      To display comparison sets for products in your WooCommerce store, follow these instructions.

      要显示WooCommerce商店中产品的比较集,请按照以下说明进行操作。

        1. Go here WordPress Admin Area > Datafeedr API > Comparison Sets > Integrations.
        2. 转到此处WordPress管理区域> Datafeedr API>比较集>集成。

        3. Check the WooCommerce option.
        4. 选中 WooCommerce 选项。

        5. Click the [Save Changes] button at the bottom of the page.
        6. 单击页面底部的[保存更改]按钮。

        Now, when a product in your store is viewed for the first time, a price comparison set will be generated.

        现在,第一次查看商店中的产品时,将生成一个价格比较集。

        Note: Enabling WooCommerce integration will not generate price comparison sets for all products in your store immediately.

        注意:启用WooCommerce集成不会立即为商店中的所有产品生成价格比较集。

        Sets will only be generated when the product is viewed for the first time.

        仅在首次查看产品时才会生成集合。

        Display Comparison Sets using Shortcodes

        使用简码显示比较集

        To display comparison sets in your posts, pages or in other areas where WordPress shortcodes are allowed, use the formats below.

        要在您的帖子,页面或允许使用WordPress短代码的其他区域中显示比较集,请使用以下格式。

        Create a price comparison set using name field:

        使用名称字段创建价格比较集:

        [dfrcs name="baratza encore"]

          [dfrcs name =“ baratza encore”]

        Create a price comparison set using name and brand field:

        使用名称和品牌字段创建价格比较集:

        [dfrcs name="j8006" brand="omega" ]

          [dfrcs name =“ j8006” brand =“ omega”]

        Create a price comparison set with a custom title:

        创建带有自定义标题的价格比较集:

        [dfrcs name="chaos harness" brand="black diamond" title="{num_products} great deals on Black Diamond Chaos Harnesses"]

          [dfrcs name =“混沌线束” brand =“黑色钻石” title =“ {num_products}黑色钻石混沌线束的超值特惠”]

        Available Filters

        可用过滤器

        You can further filter the results of a Comparison Set by using the filters attribute.

        您可以使用 filters 属性进一步过滤比较集的结果。

        Available filters are:

        可用的过滤器是:

        currency

         货币

        amazon_locale

        amazon_locale

        image

        图片

        onsale

        销售中

        direct_url

        direct_url

        saleprice_min

        saleprice_min

        saleprice_max

        saleprice_max

        finalprice_min

        finalprice_min

        finalprice_max

        finalprice_max

        Here is what each filter controls:

        以下是每个过滤器控制的内容:

        // Return only products which are priced in USD.

          //仅返回以美元定价的产品。

        ​currency=USD

        货币=美元

        // Return Amazon products from US Locale.

        //从美国区域设置返回Amazon产品。

        amazon_locale=US

        amazon_locale =美国

        // Return only products that have an image.

        //仅返回具有图片的产品。

        image=1

        图片= 1

        // Return only products that are on sale.

        //只退回正在销售的产品。

        onsale=1

        onsale = 1

        // Return only products that have a direct URL.

        //仅返回具有直接URL的产品。

        direct_url=1

        direct_url = 1

        // Return only products with a minimum sale price of $10.

        //仅退回最低销售价格为10美元的产品。

        saleprice_min=10

        saleprice_min = 10

        // Return only products with a maximum sale price of $100.

        //只退回最高售价为$ 100的产品。

        saleprice_max=100

        saleprice_max = 100

        // Return only products with a minimum final price of $20.

        //只退回最终价格最低为20美元的产品。

        finalprice_min=20

        finalprice_min = 20

        // Return only products with a maximum final price of $200.

        //只退回最终价格最高为$ 200的产品。

        finalprice_max=200

        finalprice_max = 200

        Here are some examples of how to use these filters in your shortcodes:

        以下是在短码中如何使用这些过滤器的一些示例:

        Create a price comparison set using onsale filter:

        使用 onsale 过滤器创建价格比较集:

        [dfrcs name="farpoint 55" brand="osprey" filters="onsale=1"]

          [dfrcs name =“ farpoint 55” brand =“ osprey” filter =“ onsale = 1”]

        Create a price comparison set using currency filter:

        使用货币过滤器创建价格比较集:

        [dfrcs name="aeropress coffee maker" brand="aerobie" filters="currency=USD"]

          [dfrcs name =“ aeropress咖啡机” brand =“ aerobie” filter =“ currency = USD”]

        Create a price comparison set using multiple filters:

        使用多个过滤器创建价格比较集:

        [dfrcs name="nomad 20 solar panel" filters="currency=USD&finalprice_max=400"]

          [dfrcs name =“ nomad 20 solar panel” filter =“ currency = USD&finalprice_max = 400”]

        Create a price comparison set using an EAN code:

        使用EAN代码创建价格比较集:

        [dfrcs ean="737416080066"]

          [dfrcs ean =“ 737416080066”]

        Create a price comparison set using an UPC code:

        使用UPC代码创建价格比较集:

        [dfrcs upc="050946872827"]

          [dfrcs upc =“ 050946872827”]

下载地址
https://downloads.wordpress.org/plugin/datafeedr-comparison-sets.0.9.34.zip
-EOF-

AI助手支持GPT4.0