Sharing Cart

Blocks ::: block_sharing_cart
Maintained by Don Hinkelman, Tue Korsgaard
**New March 13: Sharing Cart 3.9, release 3. Tested OK in Moodle 3.10** This adds more support for 3.9 and improved section copy. The Sharing Cart is a block that enables sharing of Moodle content (resources, activities) between multiple courses on your site. Sharing Cart 3.0 was submitted to Remote Learner for independent vetting and passed May 2016. Includes new interface programmed by Praxis of Denmark, in addition to 'Section Copy' feature and Postgres compatibility (co-funded by Ulm University, Germany and Sapporo Gakuin University, Japan).
Latest release:
3337 sites
153 fans
Current versions available: 5

News from Global MoodleMoot Barcelona 2019: Praxis of Copenhagen is now a co-maintainer of the Sharing Cart. Thank you, Tue Korsgaard and the Praxis team for your collaboration. Also, thanks to Alex Bias and Kathrin Oswald of Ulm University for advice and support. The Sharing Cart is a block for duplicating course items into a personal library and an easy way to move those Moodle resources and activities between multiple courses on your site. With just three clicks, the Sharing Cart copies and moves a single course item from one course to another. It copies without user data--similar to the "Import” function in Course Administration. From version 2.3, user content in Forums, Wikis, Glossaries and Databases can optionally be included. In addition, items can be collected and saved on the Sharing Cart indefinitely, serving as a library of frequently used course items available for duplication. The Sharing Cart is viewable only by teachers, course creators and administrators. Tested on Moodle 3.3-3.8. Testing now in Moodle 3.9 and 3.10-- please report bugs to github. If you have an earlier version of Moodle, please download an earlier version of Sharing Cart that matches your site from this plugins database. Note, the github host has been moved to donhinkelman. We appreciate if you can report your requests and issues there.


Screenshot #0
Screenshot #1


Don Hinkelman (Lead maintainer)
Tue Korsgaard: Maintainer
VERSION2 INC: Original Programming Team
Please login to view contributors details and/or to contact them

Comments RSS


  • Mon, Feb 15, 2021, 11:04 PM
    Hi, Same question as Beat. Looking to install on my 3.9, but I don't see an install button available yet. Thanks.
  • Thu, Feb 25, 2021, 12:29 AM
    When will this be compatible with 3.10+? Ot is it considered that already?
  • Thu, Feb 25, 2021, 4:25 PM
    Hello and thank you for this plugin which is very helpful to us.
    Unfortunately we are having problems with sharing cart since we switched to Moodle 3.9. The bug occurs when several users have copied the same section.
    When choosing the name after choosing the destination, we see the section several times and no matter which one we choose, we get an error message.
    Thanks for your help.
  • Thu, Mar 4, 2021, 7:27 PM
    Hi Clay, Sharing Cart 3.9 has been tested in 3.10 and so far worked OK. We won't make a labeled 3.10 Sharing Cart, until we have made more changes or a bug fixed in it.
  • Thu, Mar 4, 2021, 7:30 PM
    Hi Florent, this sounds like a bug. Could you post an issue in github? Then I will assign it for fixing.
  • Thu, Mar 4, 2021, 7:34 PM
    Lily, this also sounds like a bug with flexible sections. Could you post an issue on github too? With details and screenshots? Sorry to ask you to do this, but actually we try to make this block compatible with standard formats and themes.
  • Thu, Mar 4, 2021, 7:36 PM
    Sorry, Beat, Jeff and Clay. I think I updated and released the Sharing Cart 3.9 incorrectly. I need some help. Could someone look at the code that triggers an install notice for the Sharing Cart?
  • Thu, Mar 4, 2021, 7:56 PM
    Hi Elias >> "If we restore a quiz in another course, all the question bank will be restored as well from the other course." Oh my gosh, you noticed this core bug too! 90% of the Sharing Cart is the core code for backup and restore. I and others reported this issue in 2007. It is now 14 years old! Yeah, I feel frustrated too. Could you politely ask HQ to fix this. wink You can vote for this issue here: MDL-12403 and here: MDL-41924. Some people say this is not a bug, just a feature request. But I am like you, Elias, it is a bug.
  • Thu, Mar 4, 2021, 10:18 PM
    Hi Don,
    So if we have 3.9 or 3.10 you advise us to use fresh code on Github?
  • Fri, Mar 5, 2021, 6:55 AM
    Yes, Csaba, I recommend those with Moodle 3.9 or 3.10 sites to download the github code and install Sharing Cart from there. There are small fixes going in there occasionally, and I update this code on the plugin database every three months or so. My university has been using the Sharing Cart continuously through Moodle 3.10 and standard themes with no issues. I hope Praxis will have time to work on the issues listed in github, but so far those have not affected our operation.
  • Fri, Mar 5, 2021, 3:45 PM
    Thanks! smile
  • Sat, Mar 13, 2021, 4:33 PM
    This information is so wonderful, keep updating these types of interesting posts. Thank you for sharing this with us.
  • Sat, Mar 13, 2021, 6:26 PM
    I have just released Sharing Cart 3.9, release 3 here on the Moodle plugins database. Thanks very much to Praxis software engineers, Ponlawat Weerapanpisit and other volunteers. This current version was earlier available on Github. I have also received reports that this version works on Moodle 3.10 as well. Please continue reporting issues and suggestions--github is the best place when you know you have an issue to share.
  • Sat, Apr 10, 2021, 5:20 AM
    Also note that recent versions of Sharing Cart require PHP 7.1.x. Sites using php 7.0.x will experiences issues like this:
  • Tue, Apr 13, 2021, 8:04 PM
    Correction: according to Praxis, if you use PHP version 7.2 or older, you may experience issues when uploading and downloading activities with the Sharing Cart (not related to the Sharing Cart). For example, there are issues with badges in these older PHP versions. PHP version 7.3, 7.4 and later are recommended.
Please login to post comments