Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • Hotel
    Real Estate
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    Consulting
    • Accounting Firm
    • Odoo पार्टनर
    • Marketing Agency
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    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
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

Developing Themes For the Website/Ecommerce Module Currently in Trunk

Subscribe

Get notified when there's activity on this post

This question has been flagged
v8trunkecommercewebsitebootstrap
4 Replies
21126 Views
Avatar
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
Avatar
Discard
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!

Avatar
Kurt Haselwimmer
Best Answer

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
Avatar
Discard
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

Avatar
Luke Branch
Best Answer

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
Avatar
Discard
Avatar
Nicolás Visús
Best Answer

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
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Is their a way to link attributes with product categories? Solved
v8 ecommerce website
Avatar
Avatar
Avatar
4
जुल॰ 23
9387
[v8.0] Ecommerce Grid is 4 columns by default. Where is this value set and how can we change it? Solved
v8 ecommerce website
Avatar
Avatar
Avatar
7
जुल॰ 19
9237
Need a tutorial for openerp v8 's Website & Ecommerce Module
v8 ecommerce openerp website
Avatar
Avatar
1
मार्च 15
8069
Description for products in ecommerce is obtained from description_sale instead of website_description field. How to replace?
v8 ecommerce description website odoo
Avatar
0
फ़र॰ 18
5916
Date different between backend and front-end (web module)
v8 timezone ecommerce backend website
Avatar
Avatar
1
मार्च 16
6492
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة 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, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

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