wordpress添加媒体_如何在WordPress中为简单的数字下载添加客户发票

wordpress添加媒体

If you run an eCommerce site, then your customers may want to print out invoices for their purchase. We use Easy Digital Downloads on our OptinMonster website. Easy Digital Downloads is an eCommerce plugin for WordPress, which allows you to sell things online. In this article, we will show you how to add customer invoices to Easy Digital Downloads in WordPress.

如果您经营一个电子商务网站,那么您的客户可能希望打印出购买的发票。 我们在OptinMonster网站上使用Easy Digital Downloads 。 Easy Digital Downloads是WordPress的电子商务插件,可让您在线销售商品。 在本文中,我们将向您展示如何在WordPress中将客户发票添加到Easy Digital Downloads。

Preview of a invoice generated in easy digital downloads with EDD invoices

First thing you need to do is install and activate EDD Invoices plugin. Upon activation, simply create a new page in WordPress. This page will be used to display invoices to users.

您需要做的第一件事是安装并激活EDD Invoices插件。 激活后,只需在WordPress中创建一个新页面 。 此页面将用于向用户显示发票。

Give this page an appropriate title, and enter [edd_invoices] shortcode.

给这个页面适当的标题,并输入[edd_invoices] 简码

Adding the shortcode on invoice page

Now its time to configure the invoice settings. Simply visit Easy Digital Downloads settings page under Downloads » Settings and click on the Extensions tab.

现在可以配置发票设置了。 只需访问下载»设置下的轻松数字下载设置页面,然后单击扩展选项卡。

EDD Invoices settings

Next, select the page you just created as your invoice page and fill out your company information. Don’t forget to press ‘Save changes’ button to store your settings.

接下来,选择刚创建的页面作为发票页面,并填写公司信息。 不要忘记按“保存更改”按钮来保存您的设置。

That’s all. Your customers will now be able to see a ‘Generate Invoice’ link on their purchase history page.

就这样。 您的客户现在将能够在其购买历史记录页面上看到“生成发票”链接。

Generate invoices link on purchase history page

If you want to place a link to the invoice generator in customer’s purchase receipt email, then follow the steps below.

如果要在客户的购买收据电子邮件中放置到发票生成器的链接,请按照以下步骤操作。

To edit the email user receive for their purchase, you need to visit Downloads » Settings and click on the Emails tab.

要编辑用户收到的购买电子邮件,您需要访问下载»设置 ,然后单击电子邮件选项卡。

Adding invoice link to email reciepts

Next, switch to the plain Text editor and add the link in this format:

接下来,切换到纯文本编辑器并以这种格式添加链接:

<a href="http://example.com/invoice/?payment_key={receipt_id}">Generate Invoice</a>

<a href="http://example.com/invoice/?payment_key={receipt_id}">Generate Invoice</a>

Don’t forget to replace example.com with your own domain name and press the save changes button to store your settings.

不要忘记用您自己的域名替换example.com ,然后按保存更改按钮以存储您的设置。

We hope this article helped you add invoices to Easy Digital Downloads in WordPress. You may also want to checkout our guide on how to create invoices for clients using WordPress.

我们希望本文能帮助您将发票添加到WordPress中的Easy Digital Downloads。 您可能还需要查看有关如何使用WordPress 为客户创建发票的指南。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Google+.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterGoogle+上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-add-customers-invoices-for-easy-digital-downloads-in-wordpress/

wordpress添加媒体

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值