This is a child issue of #998080: Pre-calculate dynamic prices
The Product Reference UI module adds a settings form for the price pre-calculation mediated by the Product Reference module for product sell prices. When a pre-calculation method is enabled on this form, we should indicate which pricing Rules are invalid (i.e. either because they reference the line item argument in a condition's data selector or anything other than the line item in an action's data selector or component actions). Additionally, we can include a checkboxes list that allows the administrator to select which Rules specifically should be considered in pre-calculation (i.e. if a Rule only affects products that will never be listed in Views requiring a price sort / filter, the Rule can be exempted from pre-calculation to cut down on clutter in the database).
Comments
Comment #1
rszrama commentedTagging.
Comment #2
rszrama commentedIt's rough, but it works: https://github.com/rszrama/drupalcommerce/commit/50e95e06993092fdae5bda3...