This module allows users to skip the cart for certain product types, creating an order without any additional actions. This is useful e.g. if you have some free products for registration purposes and want users to quickly sign up.
This alters the add to cart form for the product variation, replacing the standard add to cart submit behaviour for any product variations that any cart skip rules apply to.
You can currently set this up based on any or all of:
- Product type
- Product variation type
- Product variation price
- Whether user is currently authenticated
For each rule, you can define what order and order item is created, and you can set the UI text shown to the user in the buttons, terms and conditions link, success message, etc.
Commerce cart skip rules are config entities so will become part of the site's configuration.
To set up
- Go to /admin/commerce/config/products/commerce_cart_skip
- Create a rule and define the conditions
- Go to a product with a variation matching those rules and test
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Commerce ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.0 | Stable | Nov 3, 2023 |