Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Droopal_OMate on
Hi all! General Question on Drupal -
Can you share the drupal cms with multiple websites that share the same content.
Example: client has 2 websites. 1 has more product range than the other, but both share the same product range and pricing e.t.c?
PS - tried searching the current info but couldn't find any :( Please point me in the right direction if this information has already been posted up. Cheers!
Comments
**
Might need a bit more detail.
You mean they share the same content?
Updated automatically? Like are they synced so if the price changes on one it does so on the other?
=-=
Drupal 8.x as this thread is tagged isn't ready for production. If using D8, hopefully its for testing purposes.
you can share tables across installs. Take a look at the code comments in settings.php and review already existing documentation for creating multisites.
_
First, as VM already pointed out-- d8 is not for general use so the modules I'm going to mention likely aren't even available yet.
There's basically 3 ways to share content:
I use the first method and it works great. The second method also works well but is more complex. I don't recommend the third method unless you really know what you're doing.
Hi socceronly, VM, WorldFallz
Hi socceronly, VM, WorldFallz,
Firstly, thanks so much for the speedy reply! You guys definitely make the digital world a better place.
Now on to your questions -
Yup, I'm noob. I take it that Drupal 7.x will be the one to use if I were to get an ecommerce site built. I just assumed Drupal 8.x is the latest stable version
Thanks again all, so to summarise, the answer is Yes using Feeds Module. Keep on rocking!
Updated - Workthrough Example
Hi guys, just realised its better to have an illustrative example.
I need to build 2 sites x.com and y.com. Both need to have ecommerce functionality.
I am selling 10 products. At x.com, I will sell all 10 products. At y.com, I'll sell only 5 of those products.
Say I update the pricing for all 10 products, the prices at both x.com and y.com has to be updated.
Is this achievable with Drupal 7.x?
Cheers.
=-=
yes as products are content and the price is a field contained within the content.
yes with D7, as already stated by WorldFallz utilizing either of the methods she took the time to outline. At this point more of your questions would get answered by testing the methods outlined to see which one best fits your needs. I've always found that the devil is in the details which aren't mentioned or aren't even thought about yet.
:)
Thanks VM, and yes, the devil is always in the details! Cheers and have a great day!