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

Pegasus360 created an issue. See original summary.

Pegasus360’s picture

Any idea on how to put commerce2 on an open social install with a 'profile2' version conflict??

rosemeria’s picture

I 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.

bramtenhove’s picture

Category: Feature request » Support request
Status: Active » Closed (won't fix)
Issue tags: -Commerce (duplicate), -profile, -address

@rosemaria, paid membership is already being researched. But this should be handled in a separate issue, feel free to create one.

SocialNicheGuru’s picture