价格

Odoo offers multiple options for configuring prices in e-commerce. For example, you can apply prices per unit, offer discounts, and set up pricelists.

若要对产品添加税费,您可以在产品表单的 销售税`字段中设置税费,或使用 :doc:`财税位置 </applications/finance/accounting/taxes/fiscal_positions>

其他资料

Choosing the displayed price tax usually depends on a country’s regulations or the type of customers (B2B vs. B2C). To select the type of price displayed, go to Website ‣ Configuration ‣ Settings, select the website, scroll down to the eCommerce section, and under Display Product Prices select between:

  • Tax Excluded: The price displayed on the website is tax-excluded, and the tax is computed at the 订单摘要 step.

  • Tax Included: The price displayed on the website is tax-included.

注解

此设置是针对特定网站的,因此可以为数据库中的每个网站独立配置。

小技巧

单位价格

要在产品页面的销售价格旁显示 单位价格,请按以下步骤操作:

  1. 转到 网站 ‣ 配置 ‣ 设置

  2. Enable the Product Reference Price checkbox in the eCommerce section.

  3. Navigate to the product form.

  4. 设置产品的 销售价格 并选择单位(例如 单位)。

  5. In the Base Unit Count field, enter the number of units in the product.

  6. Select the relevant unit from the drop-down list.

Example

假设您想以 $60 的价格销售一桶 2 升的油漆,即每升 $30。

产品表单上的单位成本定价。

The price per unit, in this case per liter, is shown next to the sales price on the product page.

产品页面上的单位定价。

注解

在某些国家/地区,标明单位价格可能是强制性要求。

其他资料

计量单位

价格表

Pricelists in Odoo allow for managing flexible pricing rules and offering different prices and discounts based on currencies, time periods, purchase volumes, customers’ location, and/or customer type.

To enable pricelists for eCommerce, go to Website ‣ Configuration ‣ Settings, scroll down to the eCommerce section, enable Pricelists, and Save. Then, click Pricelists or go to Website ‣ eCommerce ‣ Pricelists and configure the relevant pricelists.

电子商务`标签页中,配置在线销售特有的选项,例如将 :guilabel:`网站`分配给定价表、允许客户 :ref:`选择该定价表 <ecommerce/prices/selectable-pricelists>、以及/或添加 电子商务促销代码

小技巧

  • If you are using several websites and want to use the same pricelist on several of them, you need to duplicate the pricelist for each website. If you do not assign any website, the pricelist will not be used, unless it is selectable.

  • 定价表也可以 分配给特定客户

注解

  • 当定价表在销售应用中启用时,它们会自动在电子商务应用中启用,反之亦然。

  • 在定价表列表中,按优先级排序定价表:第一个优先于第二个,第二个优先于第三个,依此类推。

  • 也可以为 :ref:`产品变体 <products/variants/configure-variants>`创建特定的定价表。

其他资料

价目表

可选择的价目表

Selectable pricelists are useful, for example, when selling products in multiple currencies, and allow customers to choose a pricelist using the pricelist selector in the catalog, located next to the search bar.

Pricelist selector on the e-commerce.

要使定价表成为可选,请启用 可选

注解

  • If a pricelist is designated as Selectable and not assigned to a specific website, it is selectable on all websites.

  • 如果某个定价表*未*出现在选择器中,可能是由于以下情况:

    • Only one pricelist is defined as Selectable, and the contact has a pricelist assigned.

    • Multiple selectable pricelists exist, but only those matching the customer’s country group are shown. It is strongly recommended to disable the Selectable option when using pricelists with country groups on the e-commerce.

其他资料

特定货币价目表

GeoIP 与国家/地区组

通过为定价表分配 国家/地区组,可以根据访问者的位置和 IP 地址显示特定的定价表。

要执行此操作,请 导航至相关定价表表单 <ecommerce/prices/pricelists>`并选择相应的 :guilabel:`国家/地区组。根据需要为特定区域创建或编辑任意数量的定价表。例如,选择 :guilabel:`欧洲联盟`可将该定价表应用于所有欧盟成员国。

To create a new country group, click Search more in the drop-down list, then Create New. Add a Group Name and select the relevant Countries. Use Custom filters if needed.

注解

每个国家组必须至少包含一个国家/地区。

Example

Use the following filter to add all non-EU countries to the country group.

国家/地区组 + 不等于 + 欧洲联盟

用于创建国家/地区组的筛选条件。

重要

  • When using GeoIP to determine the appropriate pricelist, all pricelists used on the e-commerce site must have a country group assigned.

  • It is strongly recommended to disable the Selectable option when using pricelists with country groups. Indeed, all pricelists with the relevant country group are automatically applied to the catalog, but if one of them is marked as Selectable, the others will disappear as soon as customers select the selectable pricelist.

    Example

    Imagine you create three pricelists:

    • EU regular prices with the EU country group assigned

    • EU prices with discounts with the EU country group assigned

    • US prices with the US country group assigned

    If the Selectable option is enabled for EU regular prices and US prices, and the customer is from the European Union, only the pricelists EU regular prices and EU prices with discounts will be available. However, since the EU prices with discount list is not selectable, it will disappear once the customer selects the EU regular prices list, and prices will be displayed based on the EU regular prices pricelist in the catalog.

Pricelist application

On the e-commerce, the default pricelist is automatically selected for public, non-logged-in users when no country group is assigned. If GeoIP and country groups are used, public users see the pricelist of their country group by default.

Logged-in users with assigned pricelists see the assigned pricelist by default if it is assigned to the website they are visiting. If not, the website’s default pricelist is applied (i.e., the first available pricelist assigned to the website and without a country group, following the sequence order).

Assigned pricelists take precedence over country-based pricelists, when applicable, unless the assigned pricelist is linked to a different country group.

Example

一位来自美国的客户访问网站。他们没有门户账户。应用 美国 价目表。

A different visitor, also from the United States, has the Loyal Customer Discount pricelist assigned in their contact form. This assignment takes precedence over the country group assignment, so the Loyal Customer Discount is applied.

为网站指定各种价目表的示例。

折扣

Discounts programs

To enable discount programs for your e-commerce, go to Website ‣ Configuration ‣ Settings, scroll down to the eCommerce section, and enable the Discounts, Loyalty & Gift Card feature.

Configure the discount program, make sure the Website option is enabled, and add the relevant Pricelist and Website on the program form, if needed.

Permanent product discount

When the price of a specific product is permanently reduced, the strikethrough strategy is commonly used. This involves showing the new discounted price, with the original price crossed out alongside it.

价格删除线。

To display a permanently discounted price, navigate to Website ‣ Configuration ‣ Settings, scroll down to the eCommerce section, enable the Comparison Price option, and Save. Then go to the product form, enter the new (discounted) price in the Sales Price field, and the original price (strikethrough) in the Compare to Price field.

注解

The Compare to Price field must contain a price that is higher than the Sales Price for the original price to appear with a strikethrough.

重要

The Compare to Price is not displayed if discounted pricelists apply. If you want to use the Compare to price with another discount, configure a pricelist with a promotional code.

Discounted pricelists

It is also possible to create pricelists with discounts. To do so, create a pricelist and configure the discount.

If a pricelist contains a Discount price type, the price is striked through for applicable customers, even if the Comparison Price feature has not been enabled.

注解

If using pricelists with country groups, the discounted pricelist must be assigned the same country group as the non-discounted pricelist.

E-commerce promotional code

To offer a discounted pricelist for customers with a specific discount code, access the relevant pricelist form, go to the Ecommerce tab, and add an E-commerce Promotional Code, e.g., SUMMERSALE10%.

Then, go to the Rules tab, click Add a line, and configure the discount. When a customer enters the code during checkout, the discount is applied according to the configuration in the Rules tab.

注解

Make sure that the Promo Code option in the website editor is enabled and, if using country groups, that the discounted pricelist has the same country group assigned as the non-discounted pricelist.

Hiding the Add to Cart button and prices

Many B2B businesses or companies that sell luxury or custom items showcase their products online but restrict direct purchases and hide pricing.

To control price visibility and prevent direct online sales on the e-commerce site, replace the Add to cart button with a Contact Us button. To do so, go to Website ‣ Configuration ‣ Settings, scroll to the eCommerce section, and enable the Hide Add To Cart checkbox.

Then, enter a redirect URL in the Link URL field. The Contact us button appears on the relevant product page. If needed, it can be customized.

Select one of the options from the For drop-down list to define when the Add to cart button is replaced:

  • For 0 price products: When the product price is set to 0, the price is not displayed on the product page.

  • For Specific categories: The prices of the selected categories are displayed only if the product price is greater than 0.

If choosing the 0 price products option, either set the price to 0 for all desired products or create a pricelist with all product prices set to 0. Ensure the pricelist is assigned to the correct website and is listed first among the website’s pricelists.

If choosing the Specific categories option, the Categories submenu appears. Select at least one product category from the drop-down menu.

Example

A jewelry company wants to direct customers to the contact form for all of its rings. Instead of an Add to cart option, the product pages display only the prices and a link to the contact us form.

Example of the Specific categories option configuration for the Hide Add To Cart setting.

小技巧

  • Ensure no pricelist used on the e-commerce has been marked as Selectable to prevent accidentally displaying the zero-priced pricelist.

  • To hide prices from public visitors while keeping them visible to logged-in customers, create a zero-priced pricelist for non-logged-in customers and assign a regular pricelist (with actual prices) to customers with portal access.

其他资料

客户账户