At the moment the "base_price" component for the original price of a entity with commerce_price is the same type that the pricing rules use, this is a problem when you want to modify the original price of something, because there is no way to difference between original price and price rules components besides using the 0 element for the array of price components.

I'd suggest to change the price rules components from "base_price" to "component_price" or something similar and provide an API for altering the base price the same way that you can add it or delete it with commerce_price_component_add or commerce_price_component_delete.

Comments

bojanz’s picture

Issue summary: View changes
Status: Active » Closed (outdated)