Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce From Price

Security covered Under active development 36 sites

Part of the Commerce ecosystem · 487 projects

This module displays a "from" or "starting at" price for products that have multiple variations with different prices. It uses extra field formatters to show the lowest price across all variations, with optional labels. This feature works best when product overviews display products rather than individual product variations.

This module allows for products in a drupal commerce website to display a 'from' or 'starting at' price when the product has multiple variations with different prices. Note that your product overview should display commerce products instead of product variations for this to work.

Features

The module provides extra field formatters for Product Variations (reference) fields, such as the "variations" field of a commerce_product.
It mimics the price field formatters, but displays the lowest price of all variations within a product. A before and after label can be added to the price, e.g. "Starting at [price]".
The formatter uses a template which can be overridden if need be.

Example:
When a 'Laptop' product contains 3 published product variations with the prices $300, $500 and $700, the Variations formatter will display the $300 price with a chosen prefix and/or suffix label.
When all variations have the same price or there is only 1 variation, you can choose whether or not to display a label.

Configuration

After enabling the module, go to a product's manage display page and alter the field formatter of the Variations field to one of the 'from' price formatters. More information on the default and calculated formatters can be found here.

Drupal commerce

Drupal 10–11

Ask your assistant about Commerce From Price

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Jan 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.0.1 Stable 10–11 Nov 26, 2024
2.0.0 Stable 10–11 PHP ^8.1 Aug 27, 2024
1.0.0 Stable 9–10 PHP ^7.1 || ^8.0 Aug 27, 2024
1.0.0-beta3 Pre-release 9–10 PHP ^7.1 || ^8.0 Jan 7, 2024
1.0.0-beta2 Pre-release 9–10 PHP ^7.1 || ^8.0 Jan 7, 2024
1.0.0-beta1 Pre-release 9–10 PHP ^7.1 || ^8.0 Jan 6, 2024
1.x-dev Dev 9–10 PHP ^7.1 || ^8.0 Jan 6, 2024