Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Developing Themes For the Website/Ecommerce Module Currently in Trunk

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
v8trunkecommercewebsitebootstrap
4 Trả lời
21202 Lượt xem
Ảnh đại diện
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
Ảnh đại diện
Huỷ bỏ
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!

Ảnh đại diện
Kurt Haselwimmer
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
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

Ảnh đại diện
Luke Branch
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Nicolás Visús
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
Is their a way to link attributes with product categories? Đã xử lý
v8 ecommerce website
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
4
thg 7 23
9424
[v8.0] Ecommerce Grid is 4 columns by default. Where is this value set and how can we change it? Đã xử lý
v8 ecommerce website
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
7
thg 7 19
9323
Need a tutorial for openerp v8 's Website & Ecommerce Module
v8 ecommerce openerp website
Ảnh đại diện
Ảnh đại diện
1
thg 3 15
8141
Description for products in ecommerce is obtained from description_sale instead of website_description field. How to replace?
v8 ecommerce description website odoo
Ảnh đại diện
0
thg 2 18
5981
Date different between backend and front-end (web module)
v8 timezone ecommerce backend website
Ảnh đại diện
Ảnh đại diện
1
thg 3 16
6592
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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