Friday, 10 May 2024

Customizing Controller in Ec-cube

1. Adding a new route

2. Overwrite existing routing

3. Make a redirect

4. Use services within Controller

+ Services in AbstractController 

+ Services Not in AbstractController  

5. Create a controller that doesn't need to display a screen

Reference:
- https://doc4.ec-cube.net/customize_controller

Thank you.

No comments:

Post a Comment

Publish npm package

  Để publish   pav-kit  lên NPM, bạn hãy làm theo các bước dưới đây. Tôi đã tạo thêm file  index.js  để đảm bảo gói tin hợp lệ. Bước 1: Tạo ...