[wordpress插件] Easy Buy Now Button by NtekgNtekg的Easy Buy Now Button

wordpress 插件 文章 2020-03-14 13:40 2428 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Easy Buy Now Button by Ntekg plugin is a convenient and flexible way to add PayPal Buy Now buttons anywhere on your WordPress site.

Ntekg插件提供的Easy Buy Now Button是在WordPress网站上任意位置添加PayPal Buy Now按钮的便捷灵活的方法。

Place as many buttons on a page as you like without the shopping cart and other complicated selling solutions.

在没有购物车和其他复杂销售解决方案的情况下,在页面上随意放置多个按钮。

Easy Buy Now Button by Ntekg plugin is both powerful and flexible enough to run your ecommerce store with the Buy Now solution.

Ntekg插件提供的Easy Buy Now Button既强大又灵活,足以使用Buy Now解决方案来经营您的电子商务商店。

Example

示例

‘[easybuynow name=”Ntekg Coffee Mug” amount=”12.50″]’

‘[easybuynow name =“ Ntekg咖啡杯”,金额=“ 12.50”]”

Some features,

某些功能

    • Add Buy Now buttons anywhere with shortcode.
    • 在任何地方使用短代码添加“立即购买”按钮。

    • Add multiple Buy Now buttons on any page or post.
    • 在任何页面或帖子上添加多个“立即购买”按钮。

    • Set a dollar amount for price.
    • 设置价格金额。

    • Set a name for your product.
    • 设置产品名称。

    • Set item quantity or allow use to select quantity.
    • 设置项目数量或允许选择数量。

    • Set a per item shipping cost.
    • 设置每件商品的运输费用。

    • Set a 2nd shipping amount for each additional unit.
    • 为每个其他单位设置第二个运输金额。

    • Set a fixed tax amount or tax rate.
    • 设置固定税额或税率。

    • Set a SKU or item number.
    • 设置SKU或商品编号。

    • Supports PayPal supported currency codes.
    • 支持PayPal支持的货币代码。

    • Supports PayPal country codes.
    • 支持PayPal国家/地区代码。

    • Supports PayPal test mode (Sandbox).
    • 支持PayPal测试模式(沙盒)。

    • Supports window target (current or new).
    • 支持窗口目标(当前或新的)。

    • Supports PayPal account based shipping calculations.
    • 支持基于PayPal帐户的运费计算。

    • Supports PayPal account based shipping using weight in lbs or kgs.
    • 使用重量(磅或千克)支持基于PayPal帐户的运输。

    • Supports easy configuration with convenient admin options page.
    • 通过方便的“管理选项”页面支持轻松配置。

    Documentation

    文档

    Basic Usage

    基本用法

    Usage is simple.

    用法很简单。

    Create a new post or page add your content to it.

    创建一个新的帖子或页面,将您的内容添加到其中。

    Wherever you want a PayPal button to appear include a shortcode like the following example.

    无论您想在哪里出现贝宝(PayPal)按钮,都应包含一个类似于以下示例的短代码。

    When you view your published post or page the shortcode will be automatically replaced with a corresponding PayPal button.

    当您查看已发布的帖子或页面时,短代码将被相应的PayPal按钮自动替换。

    Shortcode Example

    简码示例

    [easybuynow name=”Ntekg Coffee Cup” amount=”12.50″]

    [easybuynow name =“ Ntekg咖啡杯”数量=“ 12.50”]

    Shortcode Syntax

    短代码语法

    [easybuynow attribute_name=”attribute_value”]

    [easybuynow attribute_name =” attribute_value”]

    Shortcode Attributes

    简码属性

    The Easy Buy Now Button by Ntekg plugin provides a number of options through the inclusion of 10 shortcode attributes.

    Ntekg插件提供的Easy Buy Now Button通过包含10个简码属性提供了许多选项。

    These attributes are as follows.

    这些属性如下。

      • amount
      • 金额

      • name
      • 名称

      • sku
      • sku

      • shipping
      • 运输

      • shipping2
      • shipping2

      • tax
      • tax_rate
      • tax_rate

      • weight
      • 体重

      • quantity
      • 数量

      • undefined_quantity
      • undefined_quantity

      Each attribute can be set in the shortcode by including the attribute name followed by an equals sign and the attribute value in quotes.

      可以在简码中设置每个属性,方法是在属性名称中包含属性名称,后跟等号,并在引号中添加属性值。

      Site Wide Attributes

      站点范围属性

      Set 1 or all of the following attributes on the setting page.

      在设置页面上设置1个或以下所有属性。

      Save time and avoid typos when placing shortcode.

      节省时间并避免在输入简码时出现错字。

        • shipping
        • 运输

        • shipping2
        • shipping2

        • tax
        • tax_rate
        • tax_rate

        • quantity
        • 数量

        • undefined_quantity
        • undefined_quantity

        Attribute Example

        属性示例

        [easybuynow name=”Ntekg Coffee Cup” amount=”12.50″ shipping=”4.95″]

        [easybuynow name =“ Ntekg咖啡杯”,金额=“ 12.50”,运费=“ 4.95”]

        Define shipping on setting page and use the code like this:

        在设置页面上定义运输方式,并使用如下代码:

        [easybuynow name=”Ntekg Coffee Cup” amount=”12.50″]

        [easybuynow name =“ Ntekg咖啡杯”数量=“ 12.50”]

        Override any site-wide attribute by adding it to the shortcode:

        通过将其添加到短代码中来覆盖所有网站范围的属性:

        [easybuynow name=”Ntekg WordPress BookCase” amount=”12.50″ shipping=”39.99″]

        [easybuynow name =“ Ntekg WordPress BookCase” amount =“ 12.50” shipping =“ 39.99”]

        Shortcode Attribute Definitions

        短代码属性定义

        name

        名称

        [easybuynow name=”Item Name”]

        [easybuynow name =“商品名称”]

        The name of the item being sold.

        要出售的商品的名称。

        If omitted, payers enter their own name at the time of payment.

        如果省略,则付款人在付款时输入自己的姓名。

        amount

        金额

        [easybuynow amount=”0.00″]

        [easybuynow数量=“ 0.00”]

        The price or amount of the product, service, or contribution, not including shipping & handling, or tax.

        产品,服务或捐助的价格或金额,不包括运输和装卸或税费。

        If omitted from Buy Now payers enter their own amount during checkout on the PayPal payment page.

        如果从“立即购买”中省略,则付款人在结帐时在PayPal付款页面上输入自己的金额。

        IMPORTANT: Do not enter a currency symbol, just the numerical amount.

        重要提示:不要输入货币符号,只需输入数字即可。

        sku

        sku

        [easybuynow sku=”000″]

        [easybuynow sku =” 000”]

        The id number or sku number for your item.

        您的商品的ID号或SKU号。

        A pass-through variable for you to track product or service purchased or the contribution made.

        一个传递变量,供您跟踪购买的产品或服务或所做的贡献。

        The value you specify passed back to you upon payment completion.

        您指定的值会在付款完成后传回给您。

        shipping

        运输

        Important: Profile-based refers to your Paypal account settings.

        重要提示:基于配置文件是指您的Paypal帐户设置。

        We can not override your Paypal account shipping setting.

        我们无法覆盖您的Paypal帐户发货设置。

        [easybuynow shipping=”0.00″]

        [easybuynow运费=“ 0.00”]

        The cost of shipping this item.

        运输该物品的费用。

        If you specify shipping and shipping2 is not defined, this flat amount is charged regardless of the quantity of items purchased.

        如果您指定装运且未定义装运2,则无论购买的商品数量如何,均将收取这笔固定金额。

        Default – If profile-based shipping rates are configured, buyers are charged an amount according to the shipping methods they choose.

        默认-如果配置了基于配置文件的运费,则买家将根据他们选择的运送方式向其收取费用。

        Note: If you are going to use profile-based shipping, don’t include shipping or shipping2 attributes in shortcode.

        注意:如果您要使用基于个人资料的送货方式,请不要在简码中包含“送货”或“ shipping2”属性。

        shipping2

        shipping2

        [easybuynow shipping2=”0.00″]

        [easybuynow shipping2 =” 0.00”]

        The cost of shipping each additional unit of this item.

        运输该项目每增加一单位的成本。

        If omitted and profile-based shipping rates are configured, buyers are charged an amount according to the shipping methods they choose.

        如果省略并且配置了基于配置文件的运费,则将根据买家选择的运费向买家收取一定的费用。

        tax

        Important: Profile-based refers to your Paypal account settings.

        重要提示:基于配置文件是指您的Paypal帐户设置。

        This will override your Paypal account tax setting.

        这将覆盖您的Paypal帐户税设置。

        [easybuynow tax=”0.00″]

        [easybuynow tax =“ 0.00”]

        Transaction-based tax override variable.

        基于交易的税收替代变量。

        Set this to a flat tax amount to the transaction regardless of the buyer’s location.

        将此设置为交易的固定税额,无论买方身在何处。

        This value overrides any tax settings set in your account profile.

        该值将覆盖您在帐户资料中设置的所有税款设置。

        Default – PayPal profile tax settings, if any, apply.

        默认-适用PayPal个人资料税设置(如果有)。

        To use your PayPal account tax settings simply exclude the tax attribute.

        要使用您的PayPal帐户税收设置,只需排除税收属性即可。

        tax_rate

        税率

        [easybuynow tax_rate=”7.50″]

        [easybuynow tax_rate =” 7.50”]

        Transaction-based tax_rate override variable.

        基于交易的tax_rate覆盖变量。

        Set this to a percentage tax to the transaction regardless of the buyer’s location.

        将此设置为交易的百分比税,无论买方身在何处。

        This value overrides any tax settings set in your account profile.

        该值将覆盖您在帐户资料中设置的所有税款设置。

        Default – PayPal profile tax rate settings, if any, apply.

        默认-适用贝宝配置文件的税率设置。

        Note: Do not use both rate and tax_rate within one shortcode.

        注意:请勿在一个简码中同时使用rate和tax_rate。

        quantity

        数量

        [easybuynow quantity=”0″]

        [easybuynow数量=“ 0”]

        The number of items or item quantity included in the purchase.

        购买中包含的项目数或项目数量。

        For example, if you wanted to sell 10 golf balls at once, you would set the item quantity to 10.

        例如,如果您想一次出售10个高尔夫球,则可以将商品数量设置为10。

        undefined_quantity

        undefined_quantity

        [easybuynow undefined_quantity=”1″]

        [easybuynow undefined_quantity =” 1”]

        Allow customer to specify quantity by setting this code to “1”.

        通过将此代码设置为“ 1”,允许客户指定数量。

        Only use this attribute to allow customers to enter quantity.

        仅使用此属性允许客户输入数量。

        Note: Do not use both quantity and undefined_quantity within one shortcode.

        注意:请勿在一个简码中同时使用数量和undefined_quantity。

        (Avoid this potential conflict by using site-wide quantity setting)

        (通过使用整个站点范围的数量设置来避免这种潜在的冲突)

        weight

        体重

        [easybuynow weight=”0.0″]

        [easybuynow重量=“ 0.0”]

        The weight of the item.

        物品的重量。

        If PayPal account based shipping rates are configured with a basis of weight, the sum of weight values is used to calculate the shipping charges for the transaction.

        如果基于PayPal帐户的运费以权重为基础进行配置,则权重之和将用于计算交易的运费。

        To enable PayPal account based shipping exclude the shipping and shipping2 attributes.

        要启用基于PayPal帐户的送货,请排除shipping和shipping2属性。

        After which you can optionally specify a item weight by entering a numerical (float) weight value, e.g.

        之后,您可以选择输入数字(浮动)重量值来指定商品重量,例如

        1.5.

        1.5。

        You may specify pounds or kilograms by adding a suffix of lbs or kgs to your weight value.

        您可以通过在体重值后加上磅或千克的后缀来指定磅或千克。

        If no suffix is provided the units of weight will default to pounds.

        如果未提供后缀,则重量单位将默认为磅。

        Example

        示例

        [easybuynow weight=”1.5kgs”]

        [easybuynow重量=“ 1.5kgs”]

        Plugin Options

        插件选项

        The Easy Buy Now Button by Ntekg plugin allows you to configure the plugin’s global settings.

        Ntekg插件提供的“立即购买按钮”可让您配置插件的全局设置。

        Configuration of the plugin is made quick and easy through the use of it’s options page.

        通过使用其选项页,可以快速轻松地配置插件。

        You can find the options page at Admin>>Settings>>Easy Buy Now Button by Ntekg.

        您可以在Ntekg的“管理” >>“设置” >>“立即购买”按钮中找到选项页面。

        The Global settings that are made available to you are as follows.

        可供您使用的全局设置如下。

        PayPal Account Email

        PayPal帐户电子邮件

        Enter your valid PayPal account email address.

        输入您的有效PayPal帐户电子邮件地址。

        Payments will be made to the PayPal account associated with this specified email address.

        付款将与此指定的电子邮件地址关联的PayPal帐户进行支付。

        PayPal Test Mode Email

        PayPal测试模式电子邮件

        Enter your valid PayPal sandbox test seller email address.

        输入有效的PayPal沙盒测试卖家电子邮件地址。

        Test payments will be made to the sandbox account associated with this specified email address.

        将对与此指定电子邮件地址关联的沙盒帐户进行测试付款。

        To use this feature you must have a PayPal developer account.

        要使用此功能,您必须具有PayPal开发人员帐户。

        PayPal Test Mode

        PayPal测试模式

        Select on or off to put all PayPal buttons in and out of test mode.

        选择打开或关闭,以使所有PayPal按钮进入和退出测试模式。

        When on is specified all transactions are sent to the PayPal sandbox.

        指定启用时,所有交易都将发送到PayPal沙箱。

        To use this feature you must have a PayPal developer account.

        要使用此功能,您必须具有PayPal开发人员帐户。

        Currency Code

        货币代码

        Valid PayPal 3-letter currency codes: Australian Dollars: AUD, Canadian Dollars: CAD, Euros: EUR, Pounds Sterling: GBP, Yen: JPY, US Dollars: USD, New Zealand Dollar: NZD, Swiss Franc: CHF,

        有效的PayPal 3个字母的货币代码:澳大利亚元:AUD,加拿大元:CAD,欧元:EUR,英镑:GBP,日元:JPY,美元:USD,新西兰元:NZD,瑞士法郎:

        Hong Kong Dollar: HKD, Singapore Dollar: SGD, Swedish Krona: SEK, Danish Krone: DKK, Polish Zloty: PLN, Norwegian Krone: NOK, Hungarian Forint: HUF, Czech Koruna: CZK, Israeli Shekel: ILS, Mexican Peso: MXN

        港元:HKD,新加坡元:SGD,瑞典克朗:SEK,丹麦克朗:DKK,波兰兹罗提:PLN,挪威克朗:NOK,匈牙利福林:HUF,捷克克朗:CZK,以色列谢克尔:ILS,墨西哥比索:MXN

        .

        PayPal Country Code

        PayPal国家/地区代码

        Enter your 2 digit country code to set the language used on the PayPal payment page.

        输入2位数的国家/地区代码,以设置在PayPal付款页面上使用的语言。

        PayPal uses a two-character country code (ISO 3166).

        贝宝(PayPal)使用两个字符的国家/地区代码(ISO 3166)。

        Some examples are United States: US, Great Britain: GB, France: FR, Spain: ES, Netherlands: DL, Poland: PL, German: DE.

        例如:美国:美国,英国:GB,法国:FR,西班牙:ES,荷兰:DL,波兰:PL,德语:DE。

        If you don’t know your country code, or you can Google PayPal Country Codes.

        如果您不知道国家代码,或者可以使用Google PayPal国家代码。

        Button Language Code

        按钮语言代码

        PayPal uses a 5 character code to designate the language of its buttons.

        PayPal使用5个字符的代码来指定其按钮的语言。

        For example, United States English is designated with en_US.

        例如,美国英语用en_US指定。

        Enter the 5 character code for the desired button language.

        输入所需的按钮语言的5个字符代码。

        Other code examples are Great Britain English: en_GB, French: fr_FR, Spanish: es_ES, Dutch: nl_NL, Polish: pl_PL, German: de_DE.

        其他代码示例是英国英语:en_GB,法语:fr_FR,西班牙语:es_ES,荷兰语:nl_NL,波兰语:pl_PL,德语:de_DE。

        If you don’t know the code for your desired language, log into PayPal use the button creater and search the resulting HTML code for this https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif.

        如果您不知道所需语言的代码,请使用按钮创建器登录PayPal,并在结果HTML代码中搜索此https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif。

        Notice the en_US in the URL, it’s the language code for the button.

        请注意URL中的en_US,它是按钮的语言代码。

        Default Button Size

        默认按钮大小

        Select the default button size.

        选择默认按钮尺寸。

        You can choose between Small and large.

        您可以在大小之间选择。

        New Window Target

        新窗口目标

        Choose how you want the buyer to be sent to PayPal, either in their current browser window or a new browser window.

        在您当前的浏览器窗口或新的浏览器窗口中,选择要如何将买家发送到PayPal。

        Sales Tax

        销售税

        Select a default tax amount as a rate or flat tax.

        选择默认税额作为税率或统一税。

        Shipping Charge

        运费

        Let default shipping charges.

        保留默认运费。

        Item Quantity

        项目数量

        Select a fixed quantity to sell or let customer choose quantity to purchase.

        选择要出售的固定数量,或者让客户选择要购买的数量。

        Product Name

        产品名称

        You can set a wite-wide product name.

        您可以设置全产品名称。

        Great for non-profits to accept donations in different set amounts.

        非常适合非营利组织接受不同设定金额的捐赠。

        Rate This Plugin

        为此插件评分

        If you find this plugin useful, please rate it.

        如果您发现此插件有用,请对其评分。

        If you find a bug, please report it.

        如果发现错误,请报告。

        I’d like a chance to fix any bugs before you rate it.

        我希望有机会在您对错误进行评分之前对其进行修复。

        The code is orginally from Trinitronic’s Nice Paypal Button Lite plugin.

        该代码最初来自Trinitronic的Nice Paypal Button Lite插件。

        The nice plugin has not been updated in over 12 months from June 2016. I found it useful for one of my client’s project and edited it to include features that were not available in the Lite version.

        自2016年6月起,这个漂亮的插件还没有更新12个月。我发现它对我的客户的一个项目很有用,并对其进行了编辑,以包含精简版中不可用的功能。

        Much of the documentation was taken from the Nice project and modified by Ntekg.

        许多文档取自Nice项目,并由Ntekg进行了修改。

        Getting the code up to date for inclusion in the WordPress directory required time and effort.

        获取最新代码以将其包含在WordPress目录中需要花费时间和精力。

        I am proud of the finished product but I am certain it can be improved on by the community.

        我为最终产品感到自豪,但我相信社区可以改进它。

安装步骤

    1. Unzip the Easy Buy Now Button by Ntekg plugin download.
    2. 解压缩Ntekg插件下载的“立即购买”按钮。

    3. Upload the entire easyNtekgBuyNowButton folder to your wp-content/plugins/ directory.
    4. 将整个easyNtekgBuyNowButton文件夹上载到wp-content / plugins /目录。

    5. Activate the plugin through the ‘Plugins’ menu in WordPress.

      通过WordPress中的“插件”菜单激活插件。

    6. Go to Settings>>Easy Buy Now Button by Ntekg.

      转到“设置” >> Ntekg的“立即购买”按钮。

    7. Configure the Easy Buy Now Button by Ntekg options, i.e. PayPal seller’s email address, currency, country code, etc.

      通过Ntekg选项配置“立即购买”按钮,即PayPal卖方的电子邮件地址,货币,国家/地区代码等。

    8. Click the “Update Settings” button.

      点击“更新设置”按钮。

    9. Insert Easy Buy Now Button by Ntekg shortcodes in any post or page.
    10. 在任何帖子或页面中插入Ntekg短代码的Easy Buy Now Button。

    11. That’s it!

    12. 就是这样!

      You’re all ready to start making money with Buy Now button!!

    13. 大家都准备好通过立即购买按钮开始赚钱!

下载地址
https://downloads.wordpress.org/plugin/buy-now-button-by-ntekg.zip
-EOF-

AI助手支持GPT4.0