what: Introduces 2 new features to promotion module: 1. Introduce max quantity limit to promotion application - This will limit the application of the promotion based on the quantity of the target products in the cart. 2. When applying buy get promotions, we will now apply buyget promotion until eligible items are exhausted or max quantity is reached. ``` - Buy 2 t-shirts, Get 1 sweater - Max quantity -> 1 This means you can add two t-shirts, and get 1 sweaters for free. However, if you add four t-shirts, you only get one sweater for free. ``` ``` - Buy 2 t-shirts, Get 1 sweater - Max quantity -> 3 This means you can add six t-shirts, and get three sweaters for free. However, if you add eight t-shirts, you only get three sweaters for free ``` ``` - Buy 4 t-shirts, Get 2 sweater - Max quantity -> 1 This should throw on creation, as the max quantity should as a minimum be the same value as the target rule quantity ``` RESOLVES SUP-2357 / https://github.com/medusajs/medusa/issues/13265
Medusa
Documentation | Website
Building blocks for digital commerce
Getting Started
Visit the Documentation to set up a Medusa application.
What is Medusa
Medusa is an ecommerce platform with a built-in framework for customization that allows you to build custom commerce applications without reinventing core commerce logic. The framework and modules can be used to build advanced B2B or DTC ecommerce stores, marketplaces, PoS systems, service businesses, or any product that needs foundational commerce primitives. All commerce modules are open-source and freely available on npm.
Learn more about Medusa’s architecture and commerce modules in the Docs.
Upgrades & Integrations
Follow the Release Notes to keep your Medusa project up-to-date.
Check out all available Medusa integrations.
Community & Contributions
The community and core team are available in GitHub Discussions, where you can ask for support, discuss roadmap, and share ideas.
Our Contribution Guide describes how to contribute to the codebase and Docs.
Join our Discord server to meet other community members.
Other channels
License
Licensed under the MIT License.