Moodle Plugins directory: Shopping Cart: Versions: 1.2.0 | Moodle.org
Shopping Cart
Shopping Cart 1.2.0
Code prechecks
Moodle Cart Enrolment Method
This is a complete shopping cart plugin for Moodle that adds a "Cart" enrolment method to courses, allowing users to add courses to their cart and complete the payment using the available payment methods in Moodle.
Users can view their shopping cart using the cart icon in the top navigation bar and see their purchase history through the "My Purchases" option in the user menu. Additionally, users can add courses to their cart before logging in, with the cart information stored in a cookie. After logging in, the cart is transferred from the cookie to the database, allowing the user to complete the payment.
This plugin allows the admin to set a discount amount or percentage for each course.
Additionally, by implementing the enrol_cart\local\object\coupon_interface class and setting
the coupon_class in the cart enrollment settings, users can use discount coupons during
checkout.
Requirements
- Moodle version 3.11 or later
- PHP 7.4 or later
Translations available
- Persian (fa)
Installation
- Download latest release ".zip" file.
- Install from "Site administration > Plugins > Install plugins".
- Visit the "Site Administration > Plugins > Enrolments" page.
- Click the eye symbol next to "Cart" to enable the plugin.
During installation, you need to set up the "Payment Account", "Currency", and "Payment Gateway" in three steps. These settings can also be adjusted later under "Site Administration > Plugins > Enrolments > Cart".
License
Released Under the GNU http://www.gnu.org/copyleft/gpl.html
Version information
- Version build number
- 2024120200
- Version release name
- 1.2.0
- Maturity
- Stabilní verze
- MD5 Sum
- 9575b04158c137c0d282f192f9341570
- Supported software
- Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0
- The more recent release 1.3.1 (2025060300) exists for Moodle 3.11
- The more recent release 1.3.1 (2025060300) exists for Moodle 4.0
- The more recent release 1.3.1 (2025060300) exists for Moodle 4.1
- The more recent release 1.3.1 (2025060300) exists for Moodle 4.2
- The more recent release 1.3.1 (2025060300) exists for Moodle 4.3
- The more recent release 1.3.1 (2025060300) exists for Moodle 4.4
- The more recent release 1.3.1 (2025060300) exists for Moodle 4.5
- The more recent release 1.3.1 (2025060300) exists for Moodle 5.0
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS tag
- v1.2.0
Default installation instructions for plugins of the type Enrolment
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "myenrol") in the "enrol" subdirectory.
- Visit http://yoursite.com/admin to finish the installation