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
    Real Estate
    • Real Estate Agency
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consulting
    • Accounting Firm
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Furnitures
    • Food
    • 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
    • Solar Energy Systems
    • Shoe Maker
    • Serveis de neteja
    • HVAC Services
    Others
    • 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

Set Maximum number of products to be added to cart

Subscriure's

Get notified when there's activity on this post

This question has been flagged
ecommercewebsiteQuickstartSF-Experts
2 Respostes
3253 Vistes
Avatar
Vasudevan Padmanabhan (vpd)

How can I set the maximum number of products to be added to the cart in a single order?

0
Avatar
Descartar
Avatar
Vasudevan Padmanabhan (vpd)
Autor Best Answer

With the help of the new Prevent Sale of Zero Price Order feature we can now limit the maximum number of products someone can add to cart.

Enable the Prevent Sale of Zero Price Product under the Shop – Products section of the website settings.

Set the Sales price of the product on the product template. In this case it is going to be 100.

Let's say the maximum quantity someone can buy in a single order is 10 units.

We need to make sure when someone orders more than 10 quantities Odoo changes the price of the product to 0.

This can be achieved with the help of a pricelist.

Select Website -> eCommerce -> Pricelist

Select the Pricelist for the website and Add the product with a Price of 0 and a minimum quantity of 11.

When a visitor comes to the website to buy the product, when they change the quantity to 11 or more, Odoo will automatically display the message “Not Available for Sale”.

Once the message appears, the client will have to reload the page or go back to the shop and get to the product page to re-add the product.

The Next step is to edit the text to inform the client that they can only order up to 10 quantities in an order.

To do this, As the internal user, change the quantity on a product to display the original message and then select the edit button on the page.

Select the text and edit it.

Note: The message here will be the same across all products.


Below are a few scenarios and how they might look on the website.

If there are 10 of these products on the cart already you will not be able to add more, if you try to do so Odoo will give a message in the top right corner.

If you go to the cart and try increasing the quantity the same message will be displayed on the top right corner of the screen, it will be displayed as there is an additional quantity, but the total will not change.

As you proceed to the next steps the maximum quantity will be displayed on the order.

If there is a partial quantity available on the cart like, if the maximum is 10 and there are 7 in the cart, if we try to add 4 more quantities, Odoo will give the same message again and will not add any product to the cart.

 

4
Avatar
Descartar
Avatar
Ethan Souverain
Best Answer

Hello, I'm allowing myself to react because I had the same question :) thank you for the super detailed answer, is it possible to do the same thing but on an e-commerce category?




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
Download a Document on the website with the press of a button Solved
website Quickstart SF-Experts
Avatar
1
d’oct. 24
5988
Create Website pages for a new or existing model? Solved
website Quickstart Forum SF-Experts
Avatar
Avatar
2
d’abr. 25
3832
Website Pop-up with a button Solved
popup website Quickstart SF-Experts
Avatar
1
d’abr. 25
9319
Change URL of Portal Pages Solved
website URL Quickstart SF-Experts
Avatar
Avatar
2
de set. 25
3806
Different Font Styles within the same block Solved
fonts website Quickstart SF-Experts
Avatar
1
de set. 24
4099
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