Expose price history milestones as computed fields on purchasable entities

Created on 3 October 2023, about 1 year ago

Problem/Motivation

It should be easy to include the information collected by this module in the front end. By default, commerce core comes with a Product Variation purchasable entity, fields from this entity type can be injected into the product view. Said fields are controlled with a Manage Display form where certain fields can be exposed or hidden from the entity view.

In addition, computed fields can be easily (even ootb) exposed through an API such as JsonAPI.

Proposed resolution

Define computed fields and make them displayable using standard Manage Display form and field formatters.

User interface changes

Opt-in to show the lowest price on the product page.

API changes

n/a

Data model changes

n/a

Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇳🇴Norway zaporylie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024