Sales attributes

This PR completes the sales by addind the per-attribute value sale management feature.