5 replies [Last post]
maboleth's picture
Offline
Joined: 05/11/2009
Juice: 18
Was this information Helpful?

My client asked me to create an e-commerce on a separate web address (like e-comm.shop.net). I'd like to avoid making 2 drupal installs, since the current site is also drupal based. Is it possible to "move" and access ubertcart on a subdomain?

tcindie@drupal.org's picture
Offline
Getting busy with the Ubercode.
Joined: 05/15/2008
Juice: 440
Re: Creating a site: Ubercart on a separate web address??

You should be able to do it with the multisite functionality of drupal. Not exactly sure how involved that would be though, I've not done any multi-site installs.

Follow me on twitter.

digitalfrontiersmedia's picture
Offline
Getting busy with the Ubercode.
Joined: 11/08/2008
Juice: 282
Re: Creating a site: Ubercart on a separate web address??

A good question might also be why the client wants the Ubercart part at a different web address? Seems like an odd thing to request unless what you're really looking to do is create an e-commerce API.

I think what tcindie suggests is correct but for the exception that in addition to a multisite, you'll probably also need to configure the multisites to run with some shared tables. Otherwise, the product listing on one site would have no correlation to products listed on the other.

But I might be misunderstanding and you might not have any plan whatsoever of having products linked between the two. More info might get better suggestions.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Creating a site: Ubercart on a separate web address??

You might also look into the Domain Access module suite. longwave from the forums has even written an Ubercart contrib for it. The gist of it is you can use domains/subdomains to restrict access to content on the site or switch themes. You can also have shared login cookies I believe.

maboleth's picture
Offline
Joined: 05/11/2009
Juice: 18
Re: Re: Creating a site: Ubercart on a separate web address??

Why is separating the shop address so odd? I thought it would make the shop more unique...

Thanks Ryan, I'll check that out.

digitalfrontiersmedia's picture
Offline
Getting busy with the Ubercode.
Joined: 11/08/2008
Juice: 282
Quote:Why is separating the
Quote:

Why is separating the shop address so odd? I thought it would make the shop more unique...

I think my thought there was that if the shop is running the same theme and looks the same as the rest of the site, why go through all the trouble of setting it to run on a different subdomain. It already comes up with unique paths associated with UC. But if you're looking to make those parts' themes unique, it makes more sense to me.

Actually, setting it to run on a different subdomain might make it easier SSL-wise since you could set the SSL to cover just that subdomain instead of having to rely on the SecurePages module or other to discriminately determine which are covered and which are not with a wildcard SSL covering the whole site.

That might be a big plus as a side benefit.