Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

How to setup pricelists on B2B ecommerce webshop

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
ecommercepricelistB2Bv15
4 Respuestas
5909 Vistas
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
Mejor respuesta

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.
Mejor respuesta

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
Mejor respuesta

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 Mejor respuesta

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
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
B2B Product Access Restricted by Company
ecommerce B2B
Avatar
Avatar
Avatar
Avatar
4
dic 24
2658
Odoo 15 CE - Selling in Different Quantities (Individual, Case, Etc..)
packaging ecommerce website B2B v15
Avatar
Avatar
Avatar
3
oct 23
2785
Shop isn't showing products the right way
ecommerce v15
Avatar
0
ene 23
1967
Separate E-commerce website to employee's website
ecommerce v15
Avatar
0
sept 22
512
Export product.pricelist.item ? Resuelto
pricelist v15
Avatar
Avatar
1
jun 22
3703
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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