跳至內容
Odoo 選單
  • 登入
  • 免費試用
  • 應用程式
    財政
    • 會計
    • 發票
    • 開支報銷
    • 試算表 (BI)
    • 文件管理
    • 電子簽名
    銷售
    • 客戶關係
    • 銷售
    • POS 銷售點管理 - 零售
    • POS 銷售點管理 - 餐廳
    • 訂閱
    • 租賃
    網站
    • 網站製作
    • 電子商務
    • 網誌
    • 討論區
    • 線上客服
    • 網上學習
    供應鏈
    • 庫存
    • 製造管理
    • 產品生命周期
    • 採購
    • 保養維護
    • 品質管理
    人力資源
    • 員工管理
    • 招聘
    • 休假
    • 工作表現評核
    • 內部推薦
    • 車隊管理
    市場推廣
    • 社交媒體推廣
    • 電郵推廣
    • 短訊營銷
    • 活動
    • 自動化推廣
    • 網上調查
    服務
    • 專案管理
    • 工時管理
    • 外勤服務管理
    • 技術支援
    • 工作規劃
    • 預約管理
    生產力
    • 聊天
    • 批核
    • 物聯網
    • VoIP
    • 知識庫
    • WhatsApp
    第三方應用程式 Odoo Studio Odoo 雲端平台
  • 行業
    零售
    • 書店
    • 服裝店
    • 家具店
    • 食品雜貨店
    • 五金店
    • 玩具店
    餐飲及款待
    • 酒吧及酒館
    • 餐廳
    • 快餐
    • 賓館
    • 飲品分銷商
    • 酒店
    房地產
    • 地產代理公司
    • 建築師事務所
    • 建造業
    • 物業管理
    • 園藝
    • 業主聯會
    顧問服務
    • 會計公司
    • Odoo 合作夥伴
    • 市場推廣公司
    • 律師事務所
    • 人才招募
    • 審計及認證
    製造管理
    • 紡織
    • 金屬
    • 家具
    • 食品
    • 啤酒廠
    • 企業禮品
    保健與健身
    • 運動俱樂部
    • 眼鏡店
    • 健身中心
    • 健康從業人員
    • 藥房
    • 髮型屋
    技術行業
    • 雜工
    • IT 硬體與支援
    • 太陽能系統
    • 鞋匠
    • 清潔服務
    • 暖通空調服務
    其他
    • 非牟利組織
    • 環境保護機構
    • 廣告板租賃
    • 攝影服務
    • 自行車租賃
    • 軟體經銷商
    瀏覽所有行業
  • 社群
    學習
    • 教學影片
    • 使用說明
    • 認證
    • 培訓
    • 網誌
    • Podcast
    增強教學效能
    • 教育計劃
    • Scale Up! 商業遊戲
    • 到訪 Odoo
    取得軟件
    • 下載
    • 版本對照表
    • 版本說明
    合作
    • GitHub
    • 討論區
    • 活動
    • 翻譯
    • 成為合作夥伴
    • 合作夥伴服務
    • 登記你的會計服務公司
    獲取服務相關資料
    • 尋找合作夥伴
    • 尋找會計服務
    • 預約顧問諮詢
    • 安裝及推行服務
    • 客戶案例
    • 支援
    • 軟件升級
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    預約示範
  • 定價
  • 技術支援

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • 客戶關係
  • e-Commerce
  • 會計
  • 庫存
  • PoS
  • 專案管理
  • MRP
All apps
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
支援

Developing Themes For the Website/Ecommerce Module Currently in Trunk

訂閱

此帖文有活動時,接收通知

此問題已被標幟
v8trunkecommercewebsitebootstrap
4 回覆
21127 瀏覽次數
頭像
Luke

Hi,

I'm interested in developing some themes/templates for the Website/Ecommerce modules that are being rolled out in OpenERP v8 (and is currently available in trunk).

I have a few questions regarding how themes should be packaged and implemented, as well as regarding the general functionality of the Ecommerce module itself. If anyone can offer any insight on this it would be much appreciated.

In regards to the functionality of the Ecommerce module I would like to know if there will be provision for business that operate business to business only, as well as dual channel (ie. business to business and business to consumer).

A business selling products directly to other businesses (such as a distributor) would have the need for a product catalog without pricing or shopping cart functionality for the casual visitor, but would benefit from allowing their business clients (ie. wholesale clients) to be able to login to the website and place purchase orders (eg. via 'add to quote' button or similar) directly through the website (after they have logged in). These B2B clients could then be assigned pricing according to their designated OpenERP price list and this would allow for the full PO/Quotation to Shipment workflow through the frontend of the website, allowing for easy order processing, as well as full visibility on past orders, invoices, etc. in a similar manner to Magento.

A business operating both B2B and B2C would benefit from being able to show prices according to customer group (eg. Magento customer groups) or OpenERP pricelist so that they can sell retail for casual visitors, while offering wholesale clients a way to place orders 24/7 according to their specific pricelist implemented in OpenERP.

In regards to implementing custom themes/templates, I have noticed the current implementation uses a mixture of HTML, XML, CSS, JS and python to build the theme. Any information or guidance on how to implement a new theme/template in addition to the current selection from bootswatch.com would be much appreciated, as I would like to be able to roll out themes/templates as soon as v8/trunk is released to the public.

In regards to different domains in a multi-website, multi-domain implementation, I cannot see how to set this up given the current admin controls (under Settings >> Configuration >> Website Settings) as currently there is only provision for the following:

(Under Domain Heading): Google Analytics Key

(Under Social Media) Twitter Facebook Github Linkedin Youtube Google+

(Under Language):

Default Language: (eg. English)

If I was to be running multiple OpenERP databases, each with their own set of websites and languages attached, how would I make sure that visitors are directed to www.exampledomain.com rather than to the database selector by default? I noticed that in an earlier version of trunk-website-al there was provision for a domain, which I assume could be used with Nginx or OpenERP's built-in webserver to allow for this type of implementation. Preferably frontend users (especially retail customers) would never see, or be aware of the admin/backend of OpenERP so that websites could operate as a standard e-commerce website for both security purposes and ease of use.

In regards to performance for the website frontend, I would also like to know if it will be possible to use Nginx/Varnish to deliver content. From my understanding it should be possible to simply run the OpenERP website module on one port (eg. port 8099) and ask varnish to listen on that port (eg. 8099) and serve content on port 80. Will this be possible with the website module in OpenERP 8/trunk?

I understand this is all still currently under development, however any information/guidance on these topics would be much appreciated.

6
頭像
捨棄
Denise van der Linden

I am also interested in multi-website for the same database(ie a specific shop for each product line or department). Not sure if this is built-in or would require an extension. Can't seem to find the options for it.

Luke Branch

further to this, i've found a succinct explanation of theme structure from Fabien from the OpenDay slides here: https://github.com/odoo/odoodays-2014/blob/master/create_themes/index.rst

Fabien Pinckaers (fp)

Please split your question into several threads. One question power thread is better and will increase your chance to have answers. Check our q&a guidelines on the link in the right toolbox.

Luke Branch

@Denise, You may want to check out this module: https://github.com/odoo/odoo-extra/tree/master/website_multi I'm not sure whether this is designed for backporting to 8.0, however it seems to be working in the 8.0 branch on a development machine.

Luke Branch

For anyone following this thread, It looks like the development of website_multi is being backported to 8.0: just create a temp directory on your dev machine and do the following: sudo git clone -b 8.0-website_multi2-vta https://github.com/odoo-dev/odoo.git then just create a symlink for the website_multi module into your Odoo 8.0 module directory. This module is definitely still under heavy development so please don't use it in production without adequate testing. This allows for multiple websites and multiple domains to be handled in 8.0!

頭像
Kurt Haselwimmer
最佳答案

Whilst this is not a theme in Odoo's formal definition on the term, due to the lack of a clear specification for creating full-blown odoo themes I have resorted to applying my own stylesheets to override the bootswatch based ones that Odoo gives you out of the box. If you are on the Odoo Saas then you will need to store your stylesheet on your own domain. Once you have a css file you want to use to override what you are given simply use the html editor to edit the template 'Theme' like so (saas3):-

 

<?xml version="1.0"?>
<t name="Theme" t-name="website.theme">
    <link id="bootstrap_css" rel="stylesheet" href="/website/static/lib/bootstrap/css/bootstrap.css" t-ignore="true"/>
    <link id="website_css" rel="stylesheet" href="/website/static/src/css/website.css" t-ignore="true"/>
     <link rel="stylesheet" type="text/css" href="//www.mydomain.com/mycss.css"/>
</t>

You add the line in bold - it should then change the theme for all pages in your system. If you base your theme on the bootswatch css - then there's the least chance that future changes to the Odoo templates will not work with your theme.

In saas 5 and v8/saas6 there is no template called 'Theme' that can be accessed from the html editor. The template called 'Saas Website' seems to hold similar xpath instructions and you can instead put your stylesheet link immediately after the reference to saas_website.css.

Hope this is useful in the meantime.

1
頭像
捨棄
Luke Branch

Hi Kurt, I've put together some very basic instructions on how to get started with local theme development here: https://www.odoo.com/forum/help-1/question/new-bootstrap-theme-on-website-builder-58809

OdooBot
Luke,

thanks for this - I am still finding it rather amazing that you are having to do this because odoo SA haven't. My experience of other ecommerce platforms, such as opencart and before that OScommerce, is that the simply paid-for themes created by designers are one of the key ways of promoting the platform - this is, after all what sites like templatemonster and envato have been doing for 10 years now. At the conference in June I got the impression that Odoo understood this and were going to produce a way to allow 1) data-only modules containing themes to be installed on their saas and 2) to find a way of allowing designers to be paid for these themes. Do this and they could open up a significant new market of SME online store-owners and publicity for their platform.

It is now nearly two months since that conference and we still don't have v8 officially released yet and no further news about customising themes - all very frustrating!

By the way - do you provide odoo services - it seems you know what you are doing with the ecommerce front-end when so many 'partners' here in the UK still seem to know next-to-nothing about it with the continual excuse that they are waiting for v8 to be released.

regards

Kurt


Hi Kurt, I've put together some very basic instructions on how to get started with local theme development here: https://www.odoo.com/forum/help-1/question/new-bootstrap-theme-on-website-builder-58809

--
Luke Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo

頭像
Luke Branch
最佳答案

If anyone has any tips on theme file structure and method of packaging (eg. custom module) for the new CMS/E-Commerce features rolled out in v8 please let me know. I would like to begin working on custom bootstrap 3 themes for use with the website/e-commerce functionality, however i'm not sure where to start.

0
頭像
捨棄
頭像
Nicolás Visús
最佳答案

I dont know of issue but I know that you can find the themes used in bootswatch.com. Maybe there you will find more information.

Furthermore you can configure to sell both businesses and individuals as I have been researching. That you do it from the moment you set configuring clients with a particular price list. Customers can "logging" as in the portal and prices would change for them.

0
頭像
捨棄
喜歡這則討論?不要只閱讀,加入發表意見吧!

今天就建立帳戶,享受獨家功能,與我們精彩的社群互動!

註冊
相關帖文 回覆 瀏覽次數 活動
Is their a way to link attributes with product categories? 已解決
v8 ecommerce website
頭像
頭像
頭像
4
7月 23
9387
[v8.0] Ecommerce Grid is 4 columns by default. Where is this value set and how can we change it? 已解決
v8 ecommerce website
頭像
頭像
頭像
7
7月 19
9237
Need a tutorial for openerp v8 's Website & Ecommerce Module
v8 ecommerce openerp website
頭像
頭像
1
3月 15
8070
Description for products in ecommerce is obtained from description_sale instead of website_description field. How to replace?
v8 ecommerce description website odoo
頭像
0
2月 18
5916
Date different between backend and front-end (web module)
v8 timezone ecommerce backend website
頭像
頭像
1
3月 16
6492
社群
  • 教學影片
  • 使用說明
  • 討論區
開源
  • 下載
  • GitHub
  • Runbot 測試環境
  • 翻譯
服務
  • odoo.sh 網頁寄存
  • 支援
  • 升級
  • 自訂功能開發
  • 教育及培訓
  • 尋找會計服務
  • 尋找合作夥伴
  • 成為合作夥伴
關於我們
  • 關於 Odoo 公司
  • 品牌資產
  • 聯絡我們
  • 招聘
  • 活動
  • Podcast
  • 網誌
  • 客戶
  • 法律 • 私隱政策
  • 安全性
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo 是一套開放源碼的商業管理系統,涵蓋你公司全部的營運需要,包括客戶關係管理(CRM)、電子商務、會計、庫存管理、POS(銷售點管理)、專案管理等應用程式。

Odoo 的獨特價值是非常簡單易用,同時將不同應用程式完美整合。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now