> ## Documentation Index
> Fetch the complete documentation index at: https://foliant-help.iforiti.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 开启客户门户

> 在已登录客户的 Shopify 客户账户中添加"我的文档"页面，显示每个订单的文档、编号和下载。

# 开启客户门户

![客户门户设置](https://mintcdn.com/foliant-dev/AoWxppgqeHqT1nDZ/customer-accounts/images/turn-on-the-customer-portal.png?fit=max\&auto=format\&n=AoWxppgqeHqT1nDZ\&q=85\&s=1ff7cadc51ef3bf855e22fe46d05f6a3)

客户门户会在客户账户中添加一个**我的文档**页面。已登录的客户可以看到每个订单及其文档和编号，下载这些文档，还可以通过电子邮件获取一整年文档的 zip 压缩包。客户无需联系您，即可自行找到发票。

## 开始之前

* 您的商店使用 Shopify 的客户账户。门户仅对已登录的客户有效。
* 确定客户应看到哪些文档。门户会列出您在**订单状态页面**上显示的模板（即勾选了**在订单状态页面显示**的订单页面发送方式）。请参阅[在订单状态页面和感谢页面显示 PDF 链接](https://foliant-help.iforiti.com/cn/pdf-delivery/order-status-and-thank-you-pages.md)。

## 第 1 步：开启门户

1. 前往**设置 › 客户门户**。
2. 开启**向客户显示其文档**。
3. 通过保存栏保存。Foliant 会显示**客户门户已更新**。

如果订单状态页面上尚未显示任何模板，Foliant 会提示："订单状态页面上尚未显示任何模板，因此客户将看到没有文档的订单。请在 PDF 发送中将模板添加到订单页面。"

## 第 2 步：将链接添加到客户的订单列表

Shopify 不会自动添加指向该页面的链接。客户通过其订单列表上的链接进入**我的文档**：

1. 在**将链接添加到客户的订单列表**下，选择**打开账户编辑器**。
2. 在 Shopify 的结账和账户编辑器中，选择**订单**页面。
3. 在**应用**标签中，添加 **Foliant - My documents link** 区块。
4. 在编辑器中保存。

该区块显示"下载您所有订单的发票和其他文档。"以及一个**我的文档**按钮。它仅在门户开启时显示。

## 第 3 步（可选）：将页面添加到账户菜单

您还可以在 Shopify 的**内容 › 菜单**中，将**我的文档**页面添加到客户账户菜单。

## 第 4 步（可选）：在电子邮件中添加链接

门户开启后，**"我的文档"链接**会显示该页面的地址。选择**复制链接**，然后将其粘贴到您的通知电子邮件中（在 Shopify 的**设置 › 通知**中），方便客户找到他们的所有文档。

## 关闭门户

关闭**向客户显示其文档**并保存。订单列表上的链接会消失，**我的文档**页面会告知客户"文档暂时不可用。"

## 须知

* 所有套餐均可使用客户门户。
* 每笔有退款金额的退款对应一张贷项通知单。
* 门户只显示已生成的编号，自身从不生成编号。编号在文档首次被下载、打印、导出或通过电子邮件发送时生成。
* 门户开启后，订单状态页面上的 **Foliant PDF links** 区块也会列出订单的文档及其编号，以及每笔退款的贷项通知单。
* 批量模板、未购买的设计，以及在某些订单中替代其他模板使用的模板，不会显示在门户中。

## 相关文章

* ["我的文档"页面](https://foliant-help.iforiti.com/cn/customer-accounts/my-documents-page.md)
* [客户账户区块](https://foliant-help.iforiti.com/cn/customer-accounts/customer-account-blocks.md)
* [供客户下载的文档压缩包](https://foliant-help.iforiti.com/cn/customer-accounts/document-zips-for-customers.md)
* [在订单状态页面和感谢页面显示 PDF 链接](https://foliant-help.iforiti.com/cn/pdf-delivery/order-status-and-thank-you-pages.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.