I have an Open Social install and I want to add Drupal Commerce to the site. When I add commerce (via composer) I get an error due to the profile module that is already included in the Open Social distribution. Is there anyway around this error (see error below). I assume if there is a way around this error then I will also see an error with the address module as well. Solutions?? or is Commerce as an add on to Open Social just a far away dream??
]# composer require "drupal/commerce 2.x-dev"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: drupal/profile[1.x-dev, 1.0.0-alpha5].
- Can only install one of: drupal/profile[1.0.0-alpha5, 1.x-dev].
- Can only install one of: drupal/profile[1.x-dev, 1.0.0-alpha5].
- drupal/commerce 2.x-dev requires drupal/profile 1.x-dev -> satisfiable by drupal/profile[1.x-dev].
- Installation request for drupal/commerce 2.x-dev -> satisfiable by drupal/commerce[2.x-dev].
- Installation request for drupal/profile (locked at 1.0.0-alpha5) -> satisfiable by drupal/profile[1.0.0-alpha5].
Installation failed, reverting ./composer.json to its original content.
Comments
Comment #2
Pegasus360 CreditAttribution: Pegasus360 commentedAny idea on how to put commerce2 on an open social install with a 'profile2' version conflict??
Comment #3
rosemeria CreditAttribution: rosemeria as a volunteer commentedI recently saw this article on Drupal Payment module: https://dropsolid.com/en/blog/online-payments-drupal
I have not been able to give the payment module a try yet, but just thought i would pass on the information. I currently have a use case for Open Social where I would have certain groups in the online community that would require paid membership.
Hope this is helpful.
Comment #4
bramtenhove CreditAttribution: bramtenhove for Open Social commented@rosemaria, paid membership is already being researched. But this should be handled in a separate issue, feel free to create one.
Comment #5
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedhttps://www.drupal.org/project/social/issues/3046401