> ## 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 客户账户和感谢页面的 Foliant 区块：每个区块显示什么内容，以及添加位置。

Foliant 会在 Shopify 的结账和客户账户中添加五个区块。您可以在 Shopify 的结账和账户编辑器中放置它们（在 Shopify 后台中，依次进入 **设置 › 结账**，然后点击 **自定义**）。每个区块都会以下表中的名称显示在编辑器的 **应用** 标签页中。

## 区块一览

| 编辑器中的名称 | 放置位置 | 客户看到的内容 | 在 Foliant 中的设置位置 |
| - | - | - | - |
| **Foliant PDF links** | **感谢** 页面和 **订单状态** 页面 | 每个模板一个框，包含标题和下载按钮。在订单状态页面上，如果门户已开启：显示该订单的文档及其编号，每笔退款对应一张贷项通知单。 | **交付** › 订单页面交付 |
| **Foliant - My documents link** | **订单** 页面（客户的订单列表） | “Download invoices and other documents for all your orders.”以及 **My documents** 按钮。仅在门户开启时显示。 | **设置 › 客户门户** |
| **Foliant - My documents** | 客户账户中的一个完整页面 | **My documents** 页面。请在 **内容 › 菜单** 中将其添加到账户菜单。 | **设置 › 客户门户** |
| **E-Invoice Request (Checkout)** | **结账** 页面 | 复选框“I want to provide my Business Data”，随后是 **VAT Number** 和可选的 Peppol ID。公司名称取自结账中的地址（或取自增值税登记信息）。仅在 Peppol 发送开启时显示。 | **设置 › 集成** › Peppol |
| **E-Invoice Request (Post-Purchase)** | **感谢** 页面和 **订单状态** 页面 | 用于填写企业信息的表单，以及 **Send my business invoice** 按钮。仅在 Peppol 发送开启时显示。 | **设置 › 集成** › Peppol |

## 添加区块

1. 打开 Shopify 的结账和账户编辑器。您可以从 Foliant 中：
   * 在订单页面交付（**交付**）中点击 **打开结账编辑器**，或
   * 在 **设置 › 客户门户** 下点击 **打开账户编辑器**，或
   * 在 Peppol 页面（**设置 › 集成**）上点击 **打开结账编辑器**，用于添加电子发票区块。
2. 从页面菜单中选择页面（**结账**、**感谢**、**订单状态** 或 **订单**）。
3. 打开 **应用** 标签页，将区块添加到您想要的位置。
4. 在编辑器中保存。

## 须知

* 每个区块只需添加一次。**Foliant PDF links** 会显示您为该页面设置的所有模板；您需要在 **交付** 中选择模板，而不是在编辑器中。
* 在编辑器中，如果暂时没有可显示的内容，**Foliant PDF links** 会显示一条提示：“No documents to show here yet. Choose the templates for this page in Foliant → PDF delivery. Customers don't see this message.”
* 电子发票区块仅在 **通过 Peppol 发送电子发票** 开启时显示。在编辑器中，隐藏的区块会显示一条提示说明这一点，并列出支持 Peppol 的国家/地区；客户看不到这条提示。请参阅[设置 Peppol 电子发票](https://foliant-help.iforiti.com/cn/integrations/peppol-e-invoicing.md)。
* 客户门户关闭时，**Foliant - My documents link** 和 **Foliant - My documents** 会在编辑器中显示一条提示，提醒您在 **设置 › 客户门户** 中开启门户。客户看不到链接，该页面会告知客户目前无法获取文档。请参阅[开启客户门户](https://foliant-help.iforiti.com/cn/customer-accounts/turn-on-the-customer-portal.md)。
* 如果订单状态页面无法加载门户中的文档，则会改为显示普通的下载链接。
* My documents 页面和链接区块会翻译成客户的语言。**Foliant PDF links** 的标题和链接文字则使用您在 Foliant 中设置的内容。

## 相关文章

* [开启客户门户](https://foliant-help.iforiti.com/cn/customer-accounts/turn-on-the-customer-portal.md)
* [在订单状态页面和感谢页面上显示 PDF 链接](https://foliant-help.iforiti.com/cn/pdf-delivery/order-status-and-thank-you-pages.md)
* [My documents 页面](https://foliant-help.iforiti.com/cn/customer-accounts/my-documents-page.md)
* [设置 Peppol 电子发票](https://foliant-help.iforiti.com/cn/integrations/peppol-e-invoicing.md)


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