Isolate creation of order item in PriceCalculator to allow override

Created on 8 September 2023, about 1 year ago

I created custom commerce condition to add new promotion condition.

Some parameters come for current request.

I wanted to override PriceCalculator without rewrite the entiere calculate method.

For know, it's not possible.

So i create a patch to isolate creation of prepareOrderItem method to add my custom data.

Feature request
Status

Needs review

Version

2.35

Component

Developer experience

Created by

🇫🇷France arnaud-brugnon

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

Comments & Activities

Production build 0.71.5 2024