commerce_price_component_add is setup to always add a base price component of the value of the component being added if no components exist. In some cases this is unwanted and makes the API function for doing this, useless.

Comments

googletorp’s picture

I've added a patch for this on my sandbox

googletorp’s picture

Status: Active » Needs review

Forgot status

rszrama’s picture

Status: Needs review » Fixed

Committed. ; )

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.