This project is not covered by Drupal’s security advisory policy.
This module adds a new field formatter to show at the same time:
- The original price of the variation.
- The price with the promotions applied.
- The difference in price in percentage.
The initial idea arose in a project in which it was necessary to show the percentage of discount both in the lists of products and in the pages of detail.
REQUIREMENTS
This module requires the following modules:
- Commece (https://www.drupal.org/project/commerce)
INSTALLATION
- Install as you would normally install a Drupal module contributed.
CONFIGURATION
- Go to the dispaly management page of the fields of product variations: Administration >> Commerce >> Configuration >> Product variation types >> Edit Default (/admin/commerce/config/product-variation-types/default/edit/display)
- Select "Price Difference Formatter" as the format of the price field and configure the options
Supporting organizations:
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: E-commerce
- Ecosystem: Commerce Core
350 sites report using this module
- Created by trebormc on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
8.x-1.4
released 13 January 2023
Works with Drupal: ^9 || ^10
Install:
Development version: 8.x-1.x-dev updated 1 Jan 2023 at 23:19 UTC



