I'm creating a Drupal Commerce based solution with 2 product types. One product has a constant price; it will be added to the cart, and that's all. The other product has many attributes (more complicated than color and size), and usually price depends from the selected attributes. Prices for various attributes are set by the administrator users. These prices are then multiplied by various other attributes, and added to the product price. For example:
- additional price = some attribute unit price * customer entered width
- complete product price = customer entered width * customer entered height * product default price + additional price
First attribute is width and height, which is entered from the customers before adding to the cart; the default value is 1x1.
More complicated attributes contain checkbox. If customers check it, the radio buttons becomes visible (first selected by default with no price; if customers select a different radio, they will enter a custom value). Another complicated attribute is price set individually for taxonomy term. I have colors, and for each color I can set the price for the current product. Thus I can't set price as a field of taxonomy term.
Now I'm trying to accomplish this with the Commerce Option and the Commerce Product Attributes modules.
Is there any simpler way to get the result?
The biggest problem is that the Drupal Commerce module adds to cart products with different attributes as a single product. So administrator Commerce/Order, or even customers viewing the cart don't really know what was added to cart.
Is there any simple way to distinguish the same product (ID) but with different attributes?