Moodle Plugins directory: Shopping Cart | Moodle.org

Shopping Cart
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.
Key Features
-
Shopping Cart Enrolment Method:
Adds a "Cart" enrolment method to courses, enabling users to easily add one or more courses to their shopping cart and complete payment using Moodle's available payment gateways. -
User-Friendly Cart Management:
Users can access their shopping cart through the cart icon in the top navigation bar and review their purchase history via the "My Purchases" option in the user menu. -
Seamless Shopping Experience:
Users can add courses to their cart even before logging in. The cart information is stored in a cookie and automatically transferred to the database once the user logs in, allowing them to complete their purchase without losing any items. -
Discount Management:
Administrators can set discount amounts or percentages for individual courses. The plugin also supports discount coupons, which can be used during checkout by implementing theenrol_cart\local\object\coupon_interface
class and setting thecoupon_class
in the cart enrolment settings.
Comments