Shopping Cart

Enrolment ::: enrol_cart
Maintained by MohammadReza PourMohammad
This plugin adds a complete shopping cart system to Moodle by introducing a new "Cart" enrolment method. Users can add courses to their cart and proceed to payment using any of the supported Moodle payment gateways.

Shopping Cart 1.2.0

Moodle 3.11, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: úterý, 3. prosince 2024, 03.44

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

  1. Moodle version 3.11 or later
  2. PHP 7.4 or later

Translations available

  • Persian (fa)

Installation

  1. Download latest release ".zip" file.
  2. Install from "Site administration > Plugins > Install plugins".
  3. Visit the "Site Administration > Plugins > Enrolments" page.
  4. 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

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

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myenrol") in the "enrol" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation