账户横幅
在买家客户账户的 Orders 和 Profile 页面,向每位已登录的买家显示申请链接、申请状态或其公司链接。
账户横幅是 Sami B2B Onboarding 添加到买家客户账户中常用页面的两个小区块。Orders 页面上的横幅和 Profile 页面上的一行文字会告诉每位买家下一步该做什么:申请、回复您的请求,或管理其公司。在 Shopify 编辑器中,这两个区块以同一个名称显示:B2B account banners。
您需要将该区块添加两次:一次添加到 Orders 页面,一次添加到 Profile 页面。
-
打开结账和账户编辑器
Section titled “打开结账和账户编辑器”在应用中,前往 Settings › Customer accounts。在 Extensions 卡片中,点击 Add blocks in Customer accounts。Shopify 会打开其结账和账户编辑器。
-
将横幅添加到 Orders 页面
Section titled “将横幅添加到 Orders 页面”在编辑器的应用块列表中,在 Sami B2B Onboarding 下,点击 B2B account banners 旁的 +,然后选择 Orders。Shopify 会将该区块放在页面 Main 部分的顶部、订单列表上方,这样买家打开订单时就能立即看到。如需移动,请打开 Sections 列表并拖动该区块。

横幅位于订单列表上方,买家打开订单时就能立即看到。
-
将区块添加到 Profile 页面
Section titled “将区块添加到 Profile 页面”再次点击 B2B account banners 旁的 +,然后选择 Profile。在该页面上,它会以单行形式显示在个人资料卡片之间。
-
保存并检查状态
Section titled “保存并检查状态”在编辑器中保存更改。回到应用,打开 Settings › Customer accounts 并点击 Refresh statuses(圆形箭头)。Account banners 会显示 Active。
只要该区块已添加到两个页面之一,就会显示 Active,因此请确认您已将其添加到两个页面。
Orders 页面上的横幅显示什么
Section titled “Orders 页面上的横幅显示什么”| 买家… | 看到的内容 |
|---|---|
| 尚未申请,且不是公司联系人 | “Buying for a business?”,以及“Apply for a business account to see your own prices and payment terms. If your company already buys from us, ask your company’s admin to add you instead.”,另有一个指向您表单页面的 Apply for a business account 链接。 |
| 已提交申请 | 其申请状态,与公司申请页面上的相同,例如“Your application is being reviewed”。 |
| 被要求补充信息,或被拒绝并选择了 Let them update it and send it again | 状态,以及指向您表单页面的 Update your application 链接,该页面会重新打开其申请。 |
| 已为某家公司采购 | 不显示横幅。 |
买家可以关闭横幅。买家以访客身份提交的申请,会在其使用同一电子邮件地址登录后显示。

尚未申请的买家可以直接从订单页面开始申请。
Profile 页面上的区块显示什么
Section titled “Profile 页面上的区块显示什么”每位已登录的买家都会在 Profile 页面上看到一行文字。
| 买家… | 看到的内容 |
|---|---|
| 是具有 Location admin 角色的公司联系人 | “Update your company’s details, addresses and team in one place.”,以及一个 Manage company 按钮。 |
| 是具有其他角色的公司联系人 | “See your company’s details and who else can order for it.”,以及一个 Manage company 按钮。 |
| 已提交申请 | 其申请状态;当买家有待办事项时,还会显示 Update your application 按钮。 |
| 尚未申请 | “Buying for a business?”,附带与 Orders 横幅相同的信息,以及一个 Apply for a business account 按钮。 |
Manage company 会打开公司自助服务页面。

已获批的买家可以从个人资料页进入其公司的自助服务页面。
横幅中的句子和按钮位于 Settings › Translate。打开您的默认语言(Edit)可修改英文文案,打开其他语言(Translate)可翻译文案。选择 Storefront messages,找到 Customer account pages 卡片。横幅相关的行包括:
| 行 | 默认文案 |
|---|---|
| Apply prompt heading | Buying for a business? |
| Apply prompt message | Apply for a business account to see your own prices and payment terms. If your company already buys from us, ask your company’s admin to add you instead. |
| Apply link | Apply for a business account |
| Update application button | Update your application |
| Company card message, admin | Update your company’s details, addresses and team in one place. |
| Company card message, contact | See your company’s details and who else can order for it. |
| Manage company button | Manage company |
状态相关的行以“Status heading”和“Status message”开头。公司申请页面也使用这些行,因此更改会在两处同时生效。请参阅翻译。