Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
enterprisestudiomultisitemultiple_cartswebsites
4 Réponses
7068 Vues
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
Ignorer
Haresh Kansara

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

Amit Jindal
Auteur

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
Auteur Meilleure réponse

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
Ignorer
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
Auteur

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
Meilleure réponse

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
Ignorer
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

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to show information from Studio App to Website
studio websites
Avatar
0
nov. 24
1106
Enterprise Source code
enterprise studio
Avatar
Avatar
2
juin 24
15923
Adding simple logic to a custom field in studio Résolu
enterprise studio odoo16features
Avatar
Avatar
Avatar
3
janv. 24
3821
item line sales order odoo 16 enteprise
enterprise studio odoo16features
Avatar
Avatar
Avatar
3
nov. 23
2639
Toggle Studio icon not appearing in Navbar in odoo 13
enterprise studio Odoo13.0
Avatar
Avatar
1
mai 22
4443
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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