Closed (outdated)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Price
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2011 at 17:10 UTC
Updated:
4 Jul 2025 at 12:00 UTC
Jump to comment: Most recent
Comments
Comment #1
rszrama commentedI agree, but I think it's of dubious benefit until we change the storage method for price component data (i.e. a price component table of sorts as opposed to serialized storage). As a related request (and possibly duplicate), there's #1232320: Price components: display and rules integration.
Comment #2
wjaspers commentedI don't think the price component storage method is wrong ... confusing to update or alter, perhaps, but it gets the job done. By serializing it, (the same as a product line item stores a product), you get the exact structure of a price with minimal db overhead to retrieve a price.
Maybe a commerce_price_component_type table makes sense, so that a UI can access/store price component types that are created. Would it work similar to that of commerce_tax? Wherein a tax type can be defined by a module, but additional types added via the info hook?
Thanks for the link to 1232320, I didn't find that one before.
Comment #3
jsacksick commented