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
Configurationclass works natively with this feature