PrestaCraft on Facebook

Please like our page on Facebook to get notifications about new tutorials :)


PrestaCraft

PrestaCraft on Facebook

Please like our page on Facebook to get notifications about new tutorials :)


PrestaCraft

Hello everyone!

I have something really special for developers who want to learn and see the whole PrestaShop module development process. It’s based on newest PS version (1.7.6) architecture using a lot of its features and included components.

I’ve decided to start creating a module called “Helpdesk tutorial” and write in-depth guide with code explanation. You can find more informations in the first section called Helpdesk module introduction.

Why did I choose “helpdesk module”? I think it’s good example because it includes both FrontOffice and BackOffice controllers. From FrontOffice: customers can send and view their tickets. From BackOffice: administrators can see list of all tickets, but also create a response and manage those tickets. Also, such module example covers a lot of programming topics like: work with database, e-mail, AJAX, custom console command and more…

You can treat this post as table of contents. For now I have finished first part, but I’m going to add more in next days. Please note each part is quite big, so it requires a lot of time to write it.

Table of contents

  • [Part 1] Helpdesk module introduction

  • [Part 2] About Composer and namespaces

  • [Part 3] Config.yml – parameters and services registering

  • [Part 4] Module install & uninstall

  • [Part 5] Creating module configuration page

  • [Part 6] Database (Doctrine)

  • [Part 7] FrontOffice: View tickets or create one

  • [Part 8] BackOffice: Tickets management page

  • [Part 9] E-mail notifications

  • [Part 10] AJAX calls

  • [Part 11] Creating module console command

  • [Part 12] Test cases

  • [Part 13] Translation

  • [Part 14] Extras

  • [Part 15] Conclusion and final words

Leave a comment

Your email address will not be published.

Be the first to post a comment!

Leave a comment

Your email address will not be published.