Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Set Maximum number of products to be added to cart

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
ecommercewebsiteQuickstartSF-Experts
2 Răspunsuri
3315 Vizualizări
Imagine profil
Vasudevan Padmanabhan (vpd)

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

0
Imagine profil
Abandonează
Imagine profil
Vasudevan Padmanabhan (vpd)
Autor Cel mai bun răspuns

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
Imagine profil
Abandonează
Imagine profil
Ethan Souverain
Cel mai bun răspuns

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

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Download a Document on the website with the press of a button Rezolvat
website Quickstart SF-Experts
Imagine profil
1
oct. 24
6067
Create Website pages for a new or existing model? Rezolvat
website Quickstart Forum SF-Experts
Imagine profil
Imagine profil
2
apr. 25
3936
Website Pop-up with a button Rezolvat
popup website Quickstart SF-Experts
Imagine profil
1
apr. 25
9478
Change URL of Portal Pages Rezolvat
website URL Quickstart SF-Experts
Imagine profil
Imagine profil
2
sept. 25
3909
Different Font Styles within the same block Rezolvat
fonts website Quickstart SF-Experts
Imagine profil
1
sept. 24
4225
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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