- Posts: 17
- Thank you received: 2
[22-October-2025] EShop 5.0.0 released - A Major Technical Milestone
- Christoph
- Offline
- New Member
-
Less
More
18 hours 7 minutes ago #176639
by Christoph
Replied by Christoph on topic [22-October-2025] EShop 5.0.0 released - A Major Technical Milestone
Hi Giang,
Thank you very much!
Best regards,
Christoph
I'm (very!) fine with the new structure - it's much better to understand where what is done in the view area. But I'm not sure how to override controllers and models. Could you please give an example of the directory structure one have to use to override (e.g. the original controller/cart.php)? Is it placed in my themes directory - and where?With this new structure, you can now override controllers, models, and views — not just layouts as before. This makes customizations easier and safer, allowing you to customize and update EShop without losing your custom features. A really big improvement.
Thank you very much!
Best regards,
Christoph
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 hours 53 minutes ago - 12 hours 52 minutes ago #176651
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic [22-October-2025] EShop 5.0.0 released - A Major Technical Milestone
Hi Christoph
It is not layout, so it won't be placed in theme directory. You will need to put it into components/com_eshop/override/controller/cart.php instead
It is not layout, so it won't be placed in theme directory. You will need to put it into components/com_eshop/override/controller/cart.php instead
Code:
class EShopOverrideControllerCart extends EShopControllerCart
{
// Add method you want to override here
}
Last edit: 12 hours 52 minutes ago by Tuan Pham Ngoc.
The following user(s) said Thank You: Christoph
Please Log in or Create an account to join the conversation.
- Christoph
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 2
12 hours 42 minutes ago #176653
by Christoph
Replied by Christoph on topic [22-October-2025] EShop 5.0.0 released - A Major Technical Milestone
Ahhh, okay.
Thank you very much for the explanations, Tuan!
Thank you very much for the explanations, Tuan!
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
Topic Author
- Offline
- Administrator
-
12 hours 21 minutes ago #176658
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic [22-October-2025] EShop 5.0.0 released - A Major Technical Milestone
OK no problem at all Christoph!
We will update the documentation to add this into there soon.
Sincerel, Giang
We will update the documentation to add this into there soon.
Sincerel, Giang
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.