English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

manage virtuemart store for 2 domain alias ?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: manage virtuemart store for 2 domain alias ?
#10621
manage virtuemart store for 2 domain alias ? 11 Years, 8 Months ago Karma: 0
Hi,
I'm trying to manage one site with a store and 2 domain alias that reference to the same place.
the first is www.domain1.co.uk and the second is www.domain2.co.uk

www.domain1.co.uk is the main domain and the cart work wel without ant problems.

but when im runing the site under the second domain (www.domain2.co.uk ) the cart is not working well and i got this error:

XMLHttpRequest cannot load www.domain1.co.uk/index.php. Origin www.domain2.co.uk is not allowed by Access-Control-Allow-Origin.


does your component have the abilities to run one virtue-mart store for 2 domain alias ?
4hjoomla
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10623
Re: manage virtuemart store for 2 domain alias ? 11 Years, 8 Months ago Karma: 54
I think that JMS may help you.
You could create 2 slave site that share the whole content.

Based on the error message, I suspect that you have a problem is an AJAX that call the wrong domain.
I think that JMS would not be required if you can identify what may be wrong in an Ajax call.
See the following article that seems explain the processing.
www.nczonline.net/blog/2010/05/25/cross-...in-resource-sharing/
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla