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
    • Intelligence artificielle
    • 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
    • Supermarché
    • 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
    • Homme à tout faire
    • 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
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    • Referral Program
    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
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 setup pricelists on B2B ecommerce webshop

S'inscrire

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

Cette question a été signalée
ecommercepricelistB2Bv15
4 Réponses
7452 Vues
Avatar
Dries Cox, Dries Cox

Hello Community,

I am trying to set up a webshop where it is possible for b2b customers to order stuff. 

So when nobody is logged in, the prices should be B2C. This part works :-).

But when a user logs in the prices should change to the prices on the pricelist for this user. 

So if a B2B-user logs he should see b2b-prices. 

I thought this would be an easy thing to do, but for some reason it is not working like I thought. 

I have the pricelists set up, so I have a B2B and B2C pricelist, but the website does not responds the way I expected. It is showing B2B prices to every user also to B2C-users.  I have been playing around with this for a while, but I can't get it to work.

Thank you for the help setting this up. 

0
Avatar
Ignorer
Avatar
Ricardo Gross
Meilleure réponse

Check the Website configuration from your pricelists

Check also the pricelist from the "Sales & Purchase" Tab of your contacts.

Check the pricelist from the archived contact "public user" (This is the pricelist shown for everyone not logged in)

If you work with taxes included for B2C and excluded for B2B you can also set the Fiscal Position in the Sales & Purchase Tab of each contact, more informations you will find in: https://www.odoo.com/documentation/15.0/nl/applications/finance/accounting/taxation/taxes/B2B_B2C.html?highlight=b2b

A nice forum post about pricelist: https://www.odoo.com/forum/help-1/the-almost-complete-guide-to-pricelist-behavior-185877

And watch this very nice video about B2B website: https://www.youtube.com/watch?v=m4PyXEw95Tw

I hope it helps

BR

Ricardo

0
Avatar
Ignorer
Dries Cox, Dries Cox
Auteur

Hi Ricardo, Thank you for your answer, but this is not what I'm looking for. In my case the B2B customers have a totally different (lower) price than the B2C. So it is not a question of showing prices incl or excl vat.
So I have a pricelist with all the b2b prices listed and I want the webshop to show these b2b prices to all b2b customers when they are logged in.
Now for some reason odoo shows the prices to everyone.
Do you have any clues on how to do that?
Thanks!

Avatar
FC Art, FC Art
Meilleure réponse

Hi Dries,

I stumbled on your question by chance. We are currently set up with B2C pricing in public and B2B pricing when users are logged in. 

We set up a separate price list for retail pricings.

We used this guide to help us navigate pricing behavior:  The almost complete guide to pricelist behavior | Odoo

0
Avatar
Ignorer
Avatar
Premier Property Management Co., Ltd.
Meilleure réponse

Can I follow up on this please?  Did you ever resolve this and how?  I also want to show B2C prices and B2B prices for different users.  Ideally, show B2C prices for non logged in, and B2B prices (usually lower as you mentioned) for select customers.  

0
Avatar
Ignorer
Avatar
Dries Cox, Dries Cox
Auteur Meilleure réponse

For now I solved this by making two websites with shops. But I still hope someone comes up with an answer on how to do it properly. I still can't believe that it isn't posible to show the logged in users their own price on their pricelist on the webshop. This should be very easy in my opinion.

This is how I did it for now.
The products are showing on both the shops. The b2c shop uses the b2c pricelist and the b2b-shop the b2b pricelist.
I made a module that allows only logged in users on the B2B shop. So if a user switches to the b2b-site they automatically get redirected to the login page for every page of the webshop they try to access.

redirecting non-logged in users to the loginpage can be don by inheriting the controller of the webshop eg:

@http.route()
def shop(self, page=0, category=None, search='', min_price=0.0, max_price=0.0, ppg=False, **post):
"""
check if website requires login for users to see the shop.
If so, check if user is logged in.
If not, rederect to login page.
"""
if request.env['website'].get_current_website().need_login:
if request.env.user.id == request.env.ref('base.public_user').id:
return request.render('web.login', {})

return super(WebsiteSaleNeedLogin,self).shop(page, category, search, min_price, max_price, ppg, **post)

Where need_login is a setting I added on the website-settings page. There you can set this website specific.

If you have multiple databases running on one server you do need to adjust your dbfilter for this. You can find a way to do this in this message: https://www.odoo.com/nl_NL/forum/help-1/how-to-configure-dbfilter-for-multi-website-environnement-204368

0
Avatar
Ignorer
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é
B2B Product Access Restricted by Company
ecommerce B2B
Avatar
Avatar
Avatar
Avatar
4
déc. 24
3508
Odoo 15 CE - Selling in Different Quantities (Individual, Case, Etc..)
packaging ecommerce website B2B v15
Avatar
Avatar
Avatar
3
oct. 23
3655
Shop isn't showing products the right way
ecommerce v15
Avatar
0
janv. 23
2953
Separate E-commerce website to employee's website
ecommerce v15
Avatar
0
sept. 22
512
Export product.pricelist.item ? Résolu
pricelist v15
Avatar
Avatar
1
juin 22
4787
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
  • Devenir 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 Svenska ภาษาไทย 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