订购和结账

Odoo eCommerce provides several options to organize the ordering and checkout process. It offers different order button options and sequential checkout steps, some of which support additional features. The related buttons and checkout pages can be customized using the website editor.

订购按钮

要在 Odoo 电子商务中定制订购流程,您可以:

添加到购物车选项

默认购物车添加行为

点击 添加到购物车 按钮时,可触发不同的操作。要配置这些操作,请访问 网站‣ 配置‣ 设置,向下滚动到 电子商务 部分,为 :guilabel:` 加入购物车` 功能选择以下选项之一:

  • 停留在产品页面:顾客可以选择是 加入购物车 并继续购物,还是 前往结账

  • 前往购物车:客户会立即重定向到购物车。

按钮自定义

您可以用 联系我们 按钮替换 添加到购物车 按钮,将用户重定向到默认的联系表单。

注解

想要显示在线目录但又不能公开共享价格(例如,提供自定义或可变定价)的企业通常会取消将产品添加到购物车的功能。

To display the Contact Us button and a note saying Not Available For Sale , you need to hide your prices on your product page.

产品页面上的联系我们按钮

注解

编辑 模式下,可在产品页面上修改 联系我们 按钮标签、URL 以及产品标题和说明下方的 不可出售 文本。

附加购物车按钮

您可以添加额外的 添加到购物车 按钮,并将它们链接到任何网站页面上的特定产品。

要添加它们,请打开网站编辑器并放置 添加到购物车按钮`内部内容构件。放置后,点击按钮,滚动到 :guilabel:`添加到购物车按钮 部分,然后配置以下内容:

  • :guilabel:产品:选择将按钮链接的产品。

  • 操作:选择是否应该是 加入购物车`或 :ref:`立即购买 <ecommerce/checkout/buy-now> 按钮。

注解

  • 如果产品有变体,请选择其中一个,或保留 访客选择 选项,提示客户选择变体,然后 添加到购物车 并继续购物或 前往结账

  • 默认的 添加到购物车 按钮不提供这些选项,但可以更改其标签。

小技巧

在网站编辑器中,还可以显示或隐藏页面标题中的 )图标。点击页眉,然后点击 样式 选项卡下 显示空 选项旁边的 )按钮。

立即购买

要让客户选择直接进入 订单汇总 步骤,您可以添加额外的 立即购买 按钮。要执行此操作,请转到任何产品页面,打开网站编辑器,转到 样式 选项卡,然后点击 采购选项 旁边的 立即购买 按钮。

立即购买按钮

Reorder products

客户可以从以前的销售订单中重新订购商品:

  • 使用 再次订购 按钮从客户门户重新订购。所选订单中的所有产品都会自动添加到购物车,然后客户可以 移除 任何不想重新订购的产品。

    Reorder button
  • from the cart, by clicking Quick reorder at the Order summary step. Customers can then adjust quantities as needed and click the (cart) button next to the product(s) they want to reorder.

    Quick reorder button

结账政策

To allow customers to checkout as guests or force them to sign in/create an account, go to Website ‣ Configuration ‣ Settings, scroll down to the eCommerce section, and configure the Sign in/up at checkout setting. The following options are available:

  • 可选项:客户可以客人身份结账,稍后通过订单确认电子邮件注册,以追踪订单。

  • Disabled: Customers can check out as guests without creating an account.

  • Mandatory: Customers must sign in or create an account at the Order summary step to complete their purchase.

B2B 访问管理

限制特定 B2B 客户结账:

  1. 前往 网站 ‣ 配置 ‣ 设置,在 电子商务 部分启用 强制 选项。

  2. 在设置的 常规 部分,将 客户账户 选项设置为 邀请制

  3. 进入 网站 ‣ 电子商务 ‣ 客户,切换到 列表 视图,选择您希望授予访问权限的客户 门户

  4. 点击 操作 按钮,然后点击 授予门户访问权

  5. 在弹出的 门户访问管理 窗口中查看所选客户,然后点击 授予访问权限

完成后,相关客户将收到账户创建确认邮件,其中包含设置密码和激活账户的操作指引。

注解

  • 您可以使用 门户访问管理 弹出窗口中的相关按钮,撤销访问权限或重新邀请客户。

  • 每封邮件只能有一个 门户访问 用户。

  • 各项设置是针对特定网站的,因此您可以进行独立配置。例如,您可以建立一个允许访客结账的B2C(面向消费者)网站,同时建立另一个要求强制登录的B2B(面向企业)网站。

结帐步骤

在结账过程中,客户将经历以下步骤:

Each step can be customized using the website editor by adding building blocks or opening the Style tab to enable various checkout options.

注解

通过构建模块添加的内容是每个步骤的**特定**。

Order summary

The Order summary step allows customers to see the items they added to their cart, adjust quantities, Remove products, and reorder products from a previous order. Information related to the product prices and taxes applied are also displayed. Customers can then click the Checkout button to continue to the Address and delivery step.

打开网站编辑器以 启用 结账选项,例如:

  • 建议配件:展示 配件产品

  • 促销代码:允许客户兑换 礼品卡 或使用 折扣码

  • Add to Wishlist: Enable wishlists to allow signed-in users to remove a product from their cart and add it to their wishlist using the Save for later option.

注解

  • If a fiscal position is detected automatically, the product tax is determined based on the customer’s IP address.

  • 如果安装的 支付提供商 支持 特快结账,则会显示一个专用按钮,允许客户直接从购物车进入确认页面,而无需填写联系表单。

Address and delivery

一旦他们查看了自己的订单:

  • 未登录的客户会被提示 登入 或输入他们的 电子邮件地址,以及他们的送货地址和电话详情;

  • 已登录的客户可选择相应的 送货地址

然后,他们可以 选择送货方式,选择或输入他们的 账单地址`(或切换 :guilabel:`与送货地址相同 开关,如果账单地址和送货地址相同),并点击 确认 进入下一步。

小技巧

  • 对于 B2B 客户,您还可以在网站编辑器中切换 显示 B2B 字段 选项,从而 启用 可选的 增值税公司名称 字段。

  • You can add a checkbox for users without an account to sign up for a newsletter. To do so, go to Website ‣ Configuration ‣ Settings, scroll down to the eCommerce section, enable the Newsletter feature, and select a Newsletter List.

附加信息

您可以在结账流程中添加 更多信息 步骤,通过在线表单收集额外的客户信息,然后将其包含在 销售订单 中。为此,请在网站编辑器中 启用额外步骤 选项。可根据需要 自定义 表单。

收款

At the Payment step, customers can Choose a payment method, enter their payment details, and click Pay now.

To make payment methods available to customers, configure and enable one or more payment provider(s). To do so, go to Website ‣ Configuration ‣ Payment Providers, Activate the relevant payment provider, and configure it.

小技巧

The options displayed at checkout depend on the active payment providers, the enabled payment methods, the customer’s country and currency, and, optionally, the maximum amount set for the provider.

To display an availability report for payment providers and payment methods and help diagnose potential availability issues on the payment form, enable the developer mode and click the (bug) icon.

Terms and conditions

To require customers to agree to the terms and conditions before payment, open the website editor and toggle the Accept Terms switch in the Style tab.

电子钱包和礼品卡

Customers can pay with an eWallet or gift card during checkout. To offer these options, go to Website ‣ Configuration ‣ Settings and enable Discounts, Loyalty & Gift Card in the eCommerce section. Then, go to Website ‣ eCommerce ‣ Gift cards & eWallet and create a gift card and/or eWallet program.

Gift card and eWallet options at checkout

订单确认

结账流程的最后一步是 订单确认,提供客户购买详情的摘要。