I installed Drupal 7 and was so impressed I decided to install commerce. I also installed the supporting modules like Entity, Fields, Rules, etc. Everything was fine until I discovered that Ubercart was a far better cart. So I am unable to uninstall Commerce presumably because of all the supporting modules. I can uncheck the cart in Commerce, but not customer, order, Commerce, price, product, etc.

Do I need to uninstall everything and start over or can I just install Ubercart and just not use any of the Commerce stuff?

Thanks in advance.

Comments

Chasen’s picture

I would stick with Commerce - just going by installs it's more popular than Ubercart and given you have an existing structure it would be easier to stick with it (assuming it performs all the functions you need) than change.

Further to this, the Ubercart website is plagued with spam bots and hasn't been updated in a very long time, the drupal module itself I believe is still active but the website isn't - it wasn't even accessible a few days ago (404)

I've used both and do agree that Ubercart is easier to use but given the status of both projects, I would stay with Commerce.

That being said, if you must change to UC, you'll need to step back through the dependencies with commerce and any other modules and cleanly break them so you can remove the commerce and install UC. What I mean by this is you have many supporting modules, as you've identified, and in those modules you may have configurations which link to one of the commerce sub-modules or functions - in order to cleanly disable commerce you'll need to disable/remove these links one by one, until there's no "required by" showing on the module page for commerce and then you can disable commerce completely and install UC. Remember that you may also break some custom Views and other displays you've setup which may be pulling data from the commerce module - these links may not show up on the module "required by" page so be sure to take backups as you go in case you break something so critical you need to roll back.

Please note though that you'll likely have to treat the UC install as a brand new "from scratch" cart setup because it will likely have different dependencies and functions than commerce so you may not just but able to cleanly re-attach the links you have with related modules, you'll probably have to recreate all those configurations from scratch.

survivaldealer’s picture

OK I will stick with Commerce. I ordered another book that discusses views so maybe I can figure it out.

I had added the Ubercart module to /sites/all/modules but did not ever activate any of it so is it safe to just delete it from the sites/all/modules folder so that it doesn't ever confuse anything with commerce?

Thanks in advance

Chasen’s picture

If you're sure you never actually ticked enable for the UC module in Drupal, then yes, you're fine to delete the folders relating to UC.

If you did enable it (i.e. ticked it) on the modules page and then disabled it, there will still be UC structures in the Drupal database which you may want to remove, to check if there is any, ensure the UC module is unticked and then click the uninstall tab and check on that page if it's giving you an option to uninstall UC - if it does, uninstall it and then you're right to remove the folders.