cancel
Showing results for 
Search instead for 
Did you mean: 

Multiwebsite

Multiwebsite

Hello all - I am new to magento 2. I am trying to build 3 websites in one instance.

 

Does all 3 websites share single code base? Will they also have a common admin panel. I dont want transactional data to be separate for 3 websites.

 

Can I use different themes or custom theme for each website? 

 

Pls suggest.

7 REPLIES 7

Re: Multiwebsite

Hi @anandapiks8dff 

Yes, in Magento 2, you can indeed create multiple websites within a single instance, and they can share a single codebase. This is one of the key features of Magento's multi-website capability. Each website can have its own domain or subdomain.

 

Regarding your questions:

  • Single Codebase: Yes, all three websites can share a single codebase. Magento 2 is designed to handle multiple websites within one installation. Each website can have its own unique configuration, products, and themes.

  • Common Admin Panel: Yes, Magento 2 allows you to manage multiple websites from a single admin panel. You can set different permissions for users to access specific websites or parts of the admin panel.

  • Transactional Data: By default, transactional data (like orders, customers, etc.) is stored within the same Magento database regardless of the website. So, you won't have separate databases for each website unless you specifically configure it that way.

  • Different Themes: Yes, you can use different themes or custom themes for each website. Magento 2 supports theme inheritance, which means you can have a parent theme with common elements shared across all websites, and then customize each website's theme as needed.

To set up multiple websites in Magento 2, you'll typically create separate store views for each website within the Magento admin panel, and then configure website-specific settings like themes, currencies, languages, etc., for each store view.


Found the above suggestion helpful, hit the "Kudos" & Accept as Solution!

Thank you,
Rohan D.
Free & Premium Magento 2 Extensions

Re: Multiwebsite

Thanks @R_Doshi for quick response.

Few follow up questions. Apologies if I sound stupid.

1. On Transactional data - Can we set user permissions to restrict transactional data by website? assuming same database for all websites.

2. On Themes - For 2 websites, I want to use themes from 2 different theme providers. For 3rd website, I am planning for a custom design (not theme based) Is this the best approach?

Re: Multiwebsite

No problem at all! Let's address your follow-up questions:

  1. Transactional Data Permissions: Yes, you can set user permissions to restrict access to transactional data by website. Magento provides a robust role-based access control (RBAC) system that allows you to define fine-grained permissions for admin users. You can create roles that have access only to specific websites or restrict access to certain types of data, including transactional data like orders and customers. This way, you can ensure that admin users only have access to the data relevant to their responsibilities.

  2. Themes from Different Providers and Custom Design: Yes, your approach sounds reasonable. Just make sure that the themes you choose are compatible with Magento 2 and adhere to best practices for performance and security. For the custom design, you can work with a developer or design team to create a bespoke solution tailored to your specific needs. This approach allows you to achieve the desired level of differentiation and customization for each website.

    Note: As this is the first time for you to create this, it is okay to have a third-party theme.  But for better optimization, custom themes work best. 

Found the above suggestion helpful, hit the "Kudos" & Accept as Solution!

Thank you,
Rohan D.
Free & Premium Magento 2 Extensions

Re: Multiwebsite

Noted @R_Doshi. Really appreciate your response. Will update how it spans out.

Re: Multiwebsite

Looking forward to it.

Found the above suggestion helpful, hit the "Kudos" & Accept as Solution!

Thank you,
Rohan D.
Free & Premium Magento 2 Extensions

Re: Multiwebsite

Yes, in Magento 2, you can build multiple websites within a single instance, and they can share a single codebase. Each website will have its own separate storefront, but they will all use the same Magento installation files and code. This means that updates and changes made to the core Magento files will affect all the websites.

 

Each website can also have its own separate admin panel, allowing you to manage the content, products, and settings specific to each site independently. This ensures that you can customize and control each website's operations separately.

 

As for transactional data, Magento allows you to set up multiple websites with separate storefronts but share the same backend database. This means that transactional data, such as orders and customer information, will be stored centrally and can be accessed from any of the websites within the instance.

 

Regarding themes, Magento allows you to use different themes or custom themes for each website. You can assign a specific theme to each website from the admin panel, allowing you to customize the appearance and layout of each site according to its branding and requirements. This flexibility allows you to create unique and tailored experiences for each website while still maintaining a unified codebase and backend infrastructure.

Re: Multiwebsite

Hi @anandapiks8dff,

 

Yes, in Magento 2, it's possible to host multiple websites within a single instance, and they can share a single codebase and admin panel. Each website can have its own separate frontend design, including different themes or custom themes, while still sharing the same backend and transactional data.

 

Here's how you can achieve this:

 

Multiple Websites in One Instance:

Magento 2 supports the concept of "websites", "stores", and "store views". You can create multiple websites within a single Magento instance. Each website can have its own domain or subdomain.

 

Single Codebase:

All websites within the Magento instance will share the same codebase. This means that any changes or customizations you make to the code will affect all websites.

 

Common Admin Panel:

Magento's admin panel is shared among all websites within the same instance. You can manage products, orders, customers, and other aspects of your business from a single admin panel.

 

Separate Design and Themes:

Each website can have its own design, including different themes or custom themes. Magento allows you to assign a specific theme to each website or store view. This means you can create a different frontend experience for each website while still using the same backend system.

 

Transactional Data:
Transactional data such as orders, customers, and products can be shared among all websites within the same Magento instance. This means that customers can shop across all websites and their data will be centralized in the same database.

 

To set up multiple websites in Magento 2:

 

  • Go to Stores > Settings > All Stores in the admin panel.
  • Create a new website for each of your websites.
  • Assign the appropriate store(s) and store view(s) to each website.
  • Configure the base URLs, currencies, and other settings for each website.

To assign themes to each website:

 

  • Go to Content > Design > Configuration in the admin panel.
  • Select the website you want to configure
  • Choose the theme for that website under the "Applied Theme" section.

By following these steps, you can build and manage multiple websites within a single Magento 2 instance, each with its own frontend design and domain, while sharing the same backend and transactional data.

 

If the issue will be resolved, Click Kudos & Accept as a Solution.