Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

How to setup pricelists on B2B ecommerce webshop

Subscriure's

Get notified when there's activity on this post

This question has been flagged
ecommercepricelistB2Bv15
4 Respostes
5939 Vistes
Avatar
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
Descartar
Avatar
FC Art
Best Answer

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
Descartar
Avatar
Premier Property Management Co., Ltd.
Best Answer

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
Descartar
Avatar
Ricardo Gross
Best Answer

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
Descartar
Dries Cox
Autor

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
Dries Cox
Autor Best Answer

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
B2B Product Access Restricted by Company
ecommerce B2B
Avatar
Avatar
Avatar
Avatar
4
de des. 24
2673
Odoo 15 CE - Selling in Different Quantities (Individual, Case, Etc..)
packaging ecommerce website B2B v15
Avatar
Avatar
Avatar
3
d’oct. 23
2800
Shop isn't showing products the right way
ecommerce v15
Avatar
0
de gen. 23
1976
Separate E-commerce website to employee's website
ecommerce v15
Avatar
0
de set. 22
512
Export product.pricelist.item ? Solved
pricelist v15
Avatar
Avatar
1
de juny 22
3720
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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