Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

How to show selected products in multi website setup (Odoo 12 Enterprise)

Subscribe

Get notified when there's activity on this post

This question has been flagged
enterprisestudiomultisitemultiple_cartswebsites
4 Replies
7060 Views
Avatar
Amit Jindal

Hi, we are new to Odoo so I might be asking a basic question. I don't need an exact answer to make it work though it will be helpful. I just need to know if this is possible and potentially how to do it.

We are in process of setting up an Odoo Enterprise (not yet bought). We do plan to buy success pack however this is pre-sales.

Problem

What we need is a way for products to show on certain selected  websites. So say we create 4 websites. Now we want a product to only show on Website1 and Website3. Similarly some products may show on 3 or all 4 websites.

I know we have an option to select either none (so product shows on all) or select any one and product shows on selected site.

What we have done

To  achieve this we used Studio to add a field called "Websites" which is a many-to-many and widget for checkboxes so I am able to select the website. We further wrote a sample module to override WebsiteSale class and change the query going in to only show selected products and that works.

However we are seeing sitemap.xml and product page still opening. There may be other places as well.

Question

Is there an alternate approach to achieve the same? Is there a module that will allow us to do thisWill really appreciate any way you can guide us towards this.​

Thanks
Amit

0
Avatar
Discard
Haresh Kansara

https://apps.odoo.com/apps/modules/11.0/product_multi_company/

Amit Jindal
Author

Haresh, Thanks for your reply. I am not sure how this helps. Are you suggesting we setup multiple companies? Could you please elaborate on your recommendation?

Frank Miao

Hi Amit, How is your progress on this? I actually need this function too. I am not quite a coding guy but I have some hint that may helps. I bought a multi website module long time ago in which you can select one or several of the websites for categories. I see it differs the websites by SQL sentence. It was working much better than the odoo12 default multi-website function. I can create one company with multi website. Category-Website are Manytomany selection which can achieve product-website manytomany quite easily since one product can select several categories. But due to speed and other factors, we had abandoned it. The module link as bellow:

https://apps.odoo.com/apps/modules/10.0/pr1_multi_website-shop/

If you are interested, I can send you for learning.

Roeland Vandecan

Hi Amit,

did you find a solution? I would need this as well.. :)

Avatar
Amit Jindal
Author Best Answer

Hi Paresh. Thanks for your answer. For some reason this website is asking me to have more Karma points to comment on your answer so replying here.

True we can setup variants. We did consider this. However in reality we have a much larger setup.

We have about 65000 total SKUs. Many of those have variants so we will essentially need variants of variants (not sure how to do that). And then we will need to manage their inventories.

Not to mention we also have around 70 different websites for this task so the number of variants will be quite staggering.

To complicate this further, we get around 8000-10000 products changed every 4-6 months.

I would really prefer if we do this without variants as I can't imaging handling so many variants.

Thanks
Amit

0
Avatar
Discard
Paresh Wagh

Another option might be to leverage the eCommerce categories (Website > Configuration > eCommerce Categories). A category can be associated with a specific website. You could create website specific eCommerce categories and associate each eCommerce category with the products that need to appear on it's corresponding website. A product can be associated with multiple eCommerce categories (Categories on the eCommerce tab of the Product template).

Amit Jindal
Author

Paresh, Thanks for reply. I am not sure how this will work. We tried this.

We took 4 products: P1, P2, P3, P4.

We created two sites: S1, S2.

We created two categories: C1 (tied to S1), C2 (tied to S2).

Now P1, P2 are in Category C1.

P3, P4 are in Category C2.

On Site S1 when I go to Show I see all products. So is there a step I need to do to make this work?

Avatar
Paresh Wagh
Best Answer

You can do this using out of the box functionality by defining product variants based on a product attribute called "Website" and associating the website at the product variant level.

0
Avatar
Discard
Roeland Vandecan

Apparently it is not possible this way (without development, only studio)

when yo select one website on a variant, Odoo adds the same website on the all variants.

Is there another way?

thanks for commenting,

roeland

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
How to show information from Studio App to Website
studio websites
Avatar
0
Nov 24
1085
Enterprise Source code
enterprise studio
Avatar
Avatar
2
Jun 24
15920
Adding simple logic to a custom field in studio Solved
enterprise studio odoo16features
Avatar
Avatar
Avatar
3
Jan 24
3808
item line sales order odoo 16 enteprise
enterprise studio odoo16features
Avatar
Avatar
Avatar
3
Nov 23
2638
Toggle Studio icon not appearing in Navbar in odoo 13
enterprise studio Odoo13.0
Avatar
Avatar
1
May 22
4432
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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