How to configure discount for drupal commerce based on CiviCRM membership

How to configure discount for drupal commerce based on CiviCRM membership
This post is a step by step guide to implement member based discounts in Drupal commerce store. Membership is maintained in CiviCRM. You would require following modules: Drupal Commerce Commerce Discount Commerce Discount Extra CiviCRM CiviCRM Member Roles ( this module is shipped with CiviCRM as of 4.7.x) Step 1 Create Drupal role for members. ...