다중 웹사이트

Odoo allows you to create multiple websites from the same database. This can be useful, for example, if you have multiple brands operating under your organization, or if you want to create separate websites for different products/services or audiences.

Creating another website

Creating multiple websites requires having at least one domain name. Different alternatives exist, but before creating another website, you should either

Once it is time to map your second domain name’s address to your second Odoo website, you can create and map it directly by:

  1. Going to Website ‣ Configuration ‣ Settings and clicking + New Website.

  2. Choosing a Website Name and entering the second website’s address in the Website Domain field (e.g., https://www.yourseconddomain.com or https://subdomain.yourdomain.com).

  3. Clicking the Create button.

To switch from one website’s frontend to another, click the website selection drop-down in the top right corner and select the website you want to switch to.

Selecting a website on the frontend

웹사이트별 설정

Most website settings are website-specific. To access the settings of a website, go to Website ‣ Configuration ‣ Settings and select the desired website using the website selection drop-down at the top left of the settings page.

Selecting a website in the app settings

참고

  • Settings shared by all websites are indicated using the (information) icon.

    Shared setting infobox
  • When you create another website, it uses the default settings; settings are not copied from one website to another.

이커머스 기능

eCommerce features such as products, eCommerce categories, pricelists, discounts, payment providers, etc., can be restricted to a specific website.

고객 계정

To allow your customers to use the same account on all of your websites, go to Website ‣ Configuration ‣ Settings and enable Shared Customer Accounts.

요금제

Products can be priced differently based on the website using pricelists. To do so:

  1. 웹사이트 ‣ 환경설정 ‣ 설정 으로 이동합니다.

  2. 쇼핑 - 품목 섹션까지 아래로 스크롤하여 가격표 옵션과 :guilabel:`제품당 여러 가격`을 선택합니다.

  3. :guilabel:`가격표`를 클릭하여 새 가격표를 만들거나 기존 가격표를 수정합니다.

  4. 가격표를 선택하거나 새로 만들기 를 클릭하여 새 가격표를 생성합니다. 그런 다음 환경설정 탭을 선택하고 웹사이트 필드를 설정합니다.

Content availability across websites

참고

All installed website-related apps (e.g., eCommerce, eLearning, Forum, etc.) and their related pages are also available on the new website. You can remove them from the website’s menu.

By default, most records (products, courses, forum posts, etc.) created from the frontend are displayed on all websites. To restrict the content to a single website, search for the Website field in the backend.

For example, for products, go to eCommerce ‣ Products, select a product, open the eCommerce tab, and specify which website the product should be available on.

Restricting a product to a single website

In a multi-company environment, each website can be linked to a specific company so that only that company’s data (e.g., products, events, etc.) is displayed on the website. To display company-specific data, go to Website –> Configuration –> Settings and set the desired company in the Company field.

참고

When generating links, for example, a customer portal link to a quotation, Odoo uses the following logic to select the website domain:

  • If a company has a single website, that website’s domain is used.

  • If a company has multiple websites, Odoo uses the domain of the website that was created first. To change the order of priority, enable developer mode, go to Website ‣ Configuration ‣ Websites, and use the (drag handle) icon to reorder websites.

  • If a company’s website has no domain, the web base URL is used.

웹사이트 페이지

To modify the website on which a page is published, proceed as follows:

  1. :menuselection:`웹사이트 –> 사이트 –> 페이지`로 이동합니다.

  2. 검색 패널을 열고 페이지가 현재 게시되어 있는 웹사이트를 선택합니다.

    웹사이트별 페이지 표시
  3. 변경하려는 페이지 옆의 확인란을 선택합니다.

  4. 웹사이트 필드를 클릭하고 웹사이트를 선택하거나 비워 두면 모든 웹사이트에 페이지를 게시할 수 있습니다.

참고

모든 웹사이트에는 고유한 홈페이지가 필요하며, 여러 웹사이트에 동일한 홈페이지를 사용할 수 없습니다.

보고

Each website has its own analytics. To switch between websites, use the buttons in the top right corner.

Switching websites in analytics

Other reporting data, such as eCommerce dashboard data, online sales analyses, and visitors, can be grouped by website by opening the search panel and selecting Group by –> Website.