价格¶
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 , 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.
注解
此设置是针对特定网站的,因此可以为数据库中的每个网站独立配置。
小技巧
Switch the Tax indication toggle on in the website editor to explicitly indicate if the price is
Tax excludedorTax includedon the Product page.Enable specific B2B fields during checkout in the delivery step using the website editor.
单位价格¶
要在产品页面的销售价格旁显示 单位价格,请按以下步骤操作:
转到 。
Enable the Product Reference Price checkbox in the eCommerce section.
设置产品的 销售价格 并选择单位(例如 单位)。
In the Base Unit Count field, enter the number of units in the product.
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 , scroll down to the eCommerce section, enable Pricelists, and Save. Then, click Pricelists or go to 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.
要使定价表成为可选,请启用 可选。
注解
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 priceswith theEUcountry group assignedEU prices with discountswith theEUcountry group assignedUS priceswith theUScountry group assigned
If the Selectable option is enabled for
EU regular pricesandUS prices, and the customer is from the European Union, only the pricelistsEU regular pricesandEU prices with discountswill be available. However, since theEU prices with discountlist is not selectable, it will disappear once the customer selects theEU regular priceslist, and prices will be displayed based on theEU regular pricespricelist 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 , 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 , 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.