title: Best database design for product with different price for each attributes
body: <p>What's the best database design for the following problem:</p>
  
  <p>I have a product with several attributes like color, size, material. Depending on these attributes I want to calculate the total price of a product. Every attribute can hold a specific price. So the price of the product is the sum of all its attribute's costs.</p>