Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Multiple Domains For Single Storefront Rate Topic   - - - - -

 
  • djhosken
  • Member
  • Members
  • Join Date: 27-Jul 12
  • 38 posts

Posted 11 July 2014 - 10:25 PM #1

Hello, I have an installation with 2 storefronts:
www.modtronix.com
www.netcruzer.com

I would however like to also have www.modtronix.com.au (for Australian customers) link to the www.modtronix.com site. With osCommerce this was easy, and I had www.modtronix.com and www.modtronix.com.au bring up the same site. How do I do this in CS Cart? I do not want a redirection, that is once you type in the www.modtronix.com.au to redirect to www.modtronix.com. I want the addess in the address bar to stay www.modtronix.com or www.modtronix.com.au, but both show exactly the same site.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11660 posts

Posted 12 July 2014 - 01:31 AM #2

For $config['http_host'] in config.local.php use $_SERVER['HTTP_HOST'] as the value. Same for 'https_host'. Not sure what version you are discussing, but you might have to do some swizzlling in the DB if you are running multiple storefronts under a single license.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • djhosken
  • Member
  • Members
  • Join Date: 27-Jul 12
  • 38 posts

Posted 11 September 2014 - 06:20 AM #3

Hi, thanks for reply! But, I think you misunderstood my question. I want to add an additional "Storefront URL" to one of my stores. I have 2 stores configured in CS Cart. One of them has "www.modtronix.com" as it's "Storefront URL" (set in Administation->Stores section of admin area). I want to add an additional "Storefront URL" for this store = www.modtronix.com.au. I want www.modtronix.com and www.modtronix.com.au to both link to the same CS Cart store.

And, the address bar in the browser should show www.modtronix.com or www.modtronix.com.au. So, a redirection will not work, seeing that this will change the address shown in my address bar to the redirected address.

Does anyone know how to do this??

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20777 posts

Posted 11 September 2014 - 07:36 AM #4

Hi, thanks for reply! But, I think you misunderstood my question. I want to add an additional "Storefront URL" to one of my stores. I have 2 stores configured in CS Cart. One of them has "www.modtronix.com" as it's "Storefront URL" (set in Administation->Stores section of admin area). I want to add an additional "Storefront URL" for this store = www.modtronix.com.au. I want www.modtronix.com and www.modtronix.com.au to both link to the same CS Cart store.

And, the address bar in the browser should show www.modtronix.com or www.modtronix.com.au. So, a redirection will not work, seeing that this will change the address shown in my address bar to the redirected address.

Does anyone know how to do this??


I am afraid, there is no way to configure CS-Cart in such a way without additional code modifications.
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11660 posts

Posted 11 September 2014 - 09:18 PM #5

Cs-cart will consider www.modtronix.com and www.modtronix.com.au to be two separate storefronts (for licensing purposes they are two separate domains). You can share essentially everything so just buy your extra storefront license and add it as a storefront. Did you try what I suggested above using $_SERVER['HTTP_HOST']?

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20777 posts

Posted 12 September 2014 - 10:31 AM #6

Cs-cart will consider www.modtronix.com and www.modtronix.com.au to be two separate storefronts (for licensing purposes they are two separate domains). You can share essentially everything so just buy your extra storefront license and add it as a storefront. Did you try what I suggested above using $_SERVER['HTTP_HOST']?


Actually there is no need to buy additional license as the same store will be available through both domains. Second domain can be defined as alias to the main license
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • pradeesh_72
  • Member
  • Trial users
  • Join Date: 15-Nov 17
  • 45 posts

Posted 19 February 2018 - 10:31 AM #7

Change $config['http_host'] = "www.modtronix.com" and $config['https_host'] = "www.modtronix.com" to $config['http_host'] = $_SERVER['HTTP_HOST']; and $config['https_host'] = $_SERVER['HTTP_HOST']; respectively in config.local.php. That should fix the issue.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20777 posts

Posted 20 February 2018 - 12:51 PM #8

cs-cart.com is main website, cs-cart.ru is alias website for the main domain. so, just one license needed? really cool! have cs-cart company confirmed about this? can you clear answer this question eComLabs? please.

 

The answer is - no. Since different content is used on .ru and .com domains


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Elionores
  • Newbie
  • Trial users
  • Join Date: 20-Feb 18
  • 1 posts

Posted 20 February 2018 - 01:30 PM #9

Are not easier to get subdomain folder for main domain?



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11660 posts

Posted 20 February 2018 - 08:00 PM #10

Strongly suggest you contact sales@cs-cart.com and ask their licensing people about the specifics of having cs-cart licensed to multiple domains with a single license specific to your needs.  Development (non public) domains are allowed.  That is one of the reasons that multiple storefronts were implemented back in V3.  But MVE is not intended to operate in that fashion.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20777 posts

Posted 21 February 2018 - 06:05 AM #11

I was showing that cs-cart domains just for example. but my question is, if there is the same content on both domains with above method. can you clear answer this question eComLabs? please.

 

If you have same content on both domains and both domains are used on one CS-Cart installation, additional license is not required.


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)