| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• eLearning (website_slides) • Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 77 |
| Technical Name |
website_sale_slides_shop |
| License | LGPL-3 |
| Website | https://www.deepskill.space |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• eLearning (website_slides) • Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 77 |
| Technical Name |
website_sale_slides_shop |
| License | LGPL-3 |
| Website | https://www.deepskill.space |
Sell Courses in Shop
List eLearning courses in /shop and prevent duplicate purchases
By default, Odoo eLearning courses are sold from their own course page but do not appear in the main /shop catalog alongside regular products. This module fixes that.
Courses in the Shop Catalog
eLearning courses appear alongside regular products in /shop. Enrolled users see a green "Ya inscrito" badge — no confusion, no double purchases.
Smart Re-purchase Protection
When an enrolled user visits a course product page, they see a clear warning and the "Add to Cart" button is hidden. If they try to add it via URL, the cart rejects it with a friendly message.
Key Features
Courses in /shop
eLearning courses with payment enrollment appear in the main shop catalog, just like any other product.
"Already Enrolled" Badge
Enrolled users see a green badge on courses they already have access to in the catalog grid.
No Double Purchase
The "Add to Cart" button is hidden for enrolled courses. Cart validation also blocks re-purchase via direct URL.
How It Works
- Install the module (depends on Website Sale Slides).
- Create an eLearning course and set enrollment to "On Payment".
- Link a product to the course.
- The course product now appears in /shop automatically.
- Once a user purchases and enrolls, the badge appears and repurchase is blocked.
Technical Details
- Models extended:
sale.order,product.template - Controllers extended:
WebsiteSale(shop values) - Templates: Inherits
website_sale.products_itemandwebsite_sale.shop_product_buttons - Dependencies:
website_sale_slides(Community) - No Enterprise dependency — works with Odoo Community and Enterprise
- Translations: Spanish (es, es_419) included
- License: LGPL-3
Made with care by Deep Skill.
Please log in to comment on this module