Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Нерухомість
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Консалтинг
    • Бухгалтерська компанія
    • Партнер Odoo
    • Агенція маркетингу
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Меблі
    • Їжа
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Системи сонячної енергії
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Інші
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

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

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

Set Maximum number of products to be added to cart

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
ecommercewebsiteQuickstartSF-Experts
2 Відповіді
3343 Переглядів
Аватар
Vasudevan Padmanabhan (vpd)

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

0
Аватар
Відмінити
Аватар
Vasudevan Padmanabhan (vpd)
Автор Найкраща відповідь

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
Аватар
Відмінити
Аватар
Ethan Souverain
Найкраща відповідь

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
Аватар
Відмінити
Enjoying the discussion? Don't just read, join in!

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

Реєстрація
Related Posts Відповіді Переглядів Дія
Download a Document on the website with the press of a button Вирішено
website Quickstart SF-Experts
Аватар
1
жовт. 24
6101
Create Website pages for a new or existing model? Вирішено
website Quickstart Forum SF-Experts
Аватар
Аватар
2
квіт. 25
3958
Website Pop-up with a button Вирішено
popup website Quickstart SF-Experts
Аватар
1
квіт. 25
9519
Change URL of Portal Pages Вирішено
website URL Quickstart SF-Experts
Аватар
Аватар
2
вер. 25
3926
Different Font Styles within the same block Вирішено
fonts website Quickstart SF-Experts
Аватар
1
вер. 24
4244
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція Odoo - це одночасно дуже проста у використанні та повністю інтегрована.

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