Using Drupal Commerce, is there a way to adjust the variation price base on the first or second variation selected?

For example I have 3 variations: size, material, color. If I choose Small (that costs $5) and material that costs $10 ($15 total), then when I choose Large at $12, the material should cost $20.

I guess I should use rules. Has anyone done this?

1 Answer 1


http://www.drupalcommerce.org/user-guide/product-attributes-variations - here you can read about product variations, don't forget to enable field as an attribute field that can change the Add to Cart form

After that you need to create products for all variations with right prices. You can use http://drupal.org/project/commerce_bpc

  • THank you, i will look into that. So what you are saying is then actually if i have 2 variations that change each others price, i need to combine them to make 1 variation because the system is not capable up updating an attribute/variation based on another attribute/variation? Similar question from someone else i found: drupal.stackexchange.com/questions/70529/…
    – petergus
    Commented Apr 27, 2013 at 5:59
  • yup, you were right, ended up doing with taxonomy terms and have to create oh so many items. got another good explanation here drupalcommerce.org/questions/7894/…
    – petergus
    Commented May 4, 2013 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.