Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently, the logic for selecting the right price list item based on the context belongs to the Price list price resolver, which means it cannot be invoked from somewhere else.
It'd be great if that logic could be abstracted to a separate service, so that it could be reused.
Comment | File | Size | Author |
---|---|---|---|
#3 | commerce_pricelist-3089665-3.patch | 32.81 KB | jsacksick |
| |||
#3 | interdiff_2-3.txt | 807 bytes | jsacksick |
Comments
Comment #2
jsacksick CreditAttribution: jsacksick at Centarro commentedComment #3
jsacksick CreditAttribution: jsacksick at Centarro commentedComment #5
jsacksick CreditAttribution: jsacksick at Centarro commentedCommitted!
Comment #6
eiriksmCould we get a change record or a very prominent mention about this in the next release? :)
Since it changes the constructor, for people either extending or invoking the price resolver things might break.