Book Image

PrestaShop Module Development

By : Fabien Serny
Book Image

PrestaShop Module Development

By: Fabien Serny

Overview of this book

Table of Contents (19 chapters)
PrestaShop Module Development
About the Author
About the Reviewers

Chapter 9. Multistore

Now, it's time to see how the multistore feature works on PrestaShop. This feature has been available since PrestaShop 1.5 and is really appreciated by the community. The multistore feature permits you to handle different shops (with different domains), with only one PrestaShop installation and one administration panel. Even though all merchants do not use this feature, it's a plus point when your module is compliant with it.

In this chapter, we will work with the mymodcomments module again since it's the most advanced module we have worked on in this book.

You will learn the following in this chapter:

  • How to enable the multistore feature and create a new shop

  • How to update our module code to make it compliant with this feature

  • How the Configuration class works natively with this feature