cancel
Showing results for 
Search instead for 
Did you mean: 

Best architecture to achieve our solution

SOLVED

Best architecture to achieve our solution

Hello Community,

We are are an ecommerce player in the gifting business and we are currently in the process of migrating our solution to use magento 2 as a backend.   The frontend will access Magento 2 via REST APIs

 

we want to be present in 3 countries, and these countries might have different payment gateways and different shipping rules / rates.  

 

We will be selling both our products (products we make) ,  and products sourced from others ,and we have to support two languages in our solution.

 

Now , we think the best way to do this is 

3 websites, each county will have a website, two stores country ,and each store will have two store views for the two languages.  

 

Now we were told you can now also set payment gateway integration and shipping rules at the store level, so if that is correct can we just do one website, three stores per country and 2 store views per store? 

 

Also some products should be offered in all three countries, some will be country specific, and some will be in two countries but not the third.   so how do we setup the catalogs ? how will this affect our website-store-store view relationship? go with  one catalog or two cataloges , one catalog for our product and one for products sourced ? is there a limitation for the REST APIs to access different stores and different catalogues to present them in a combined listing in the front end ?

 

Please don't answer this questions by pitching your services, this is a question to community peers 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Best architecture to achieve our solution

Hi @Mag2Backend,

 


Regarding your questions:

 

Now we were told you can now also set payment gateway integration and shipping rules at the store level, so if that is correct can we just do one website, three stores per country and 2 store views per store? 

Yes, shipping and payment methods are configured at the store leve.

 

Also some products should be offered in all three countries, some will be country specific, and some will be in two countries but not the third.   so how do we setup the catalogs ?

Since you are creating one store for each country, each store will have a different root category with different associated products.

 

how will this affect our website-store-store view relationship? go with  one catalog or two cataloges , one catalog for our product and one for products sourced ?

Since it's one Magento instance, it's one catalog. Each product will be associated with categories from different root categories (from different stores), and by doing that you can associate a product with one or more stores.

 

is there a limitation for the REST APIs to access different stores and different catalogues to present them in a combined listing in the front end ?

 No, there is no limitation for that.



Best regards.
Gabriel

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.

View solution in original post

2 REPLIES 2

Re: Best architecture to achieve our solution

Hi @Mag2Backend,

 


Regarding your questions:

 

Now we were told you can now also set payment gateway integration and shipping rules at the store level, so if that is correct can we just do one website, three stores per country and 2 store views per store? 

Yes, shipping and payment methods are configured at the store leve.

 

Also some products should be offered in all three countries, some will be country specific, and some will be in two countries but not the third.   so how do we setup the catalogs ?

Since you are creating one store for each country, each store will have a different root category with different associated products.

 

how will this affect our website-store-store view relationship? go with  one catalog or two cataloges , one catalog for our product and one for products sourced ?

Since it's one Magento instance, it's one catalog. Each product will be associated with categories from different root categories (from different stores), and by doing that you can associate a product with one or more stores.

 

is there a limitation for the REST APIs to access different stores and different catalogues to present them in a combined listing in the front end ?

 No, there is no limitation for that.



Best regards.
Gabriel

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.

Re: Best architecture to achieve our solution

Thank you for your response,
Wanted to follow up with question. How can I make the users shared across
all 3 websites ?
If I make 3 distinct websites. For instance UAE, KSA, and USA. And for each
website I have a store , also UAE, KSA, and US then each store would have 2
store views , Arabic and English. And each site would have a root category
With the website name UAE, KSA, and USA. The problem now is the users. Can
the users exist in all three websites ?

Thanks