php - add product from one domain, to the cart of different domain(both are on same server) -
i have 2 domains abc.com , xyz.com both on same server, abc.com core php based shopping cart developed sell company product
now abc.com main doamin , xyz.com has been created special marketing of specific product
now,(what want) if clicks on product on xyz.com want redirect abc.com/cart.html( know redirection 1 domain another) show product selected user on xyz.com added cart.
xyz.com has single page showing 3 products .
the requirement both domains have store sessions @ same place.
then have make client use same session id on both domains, that, pass session id in links , redirects go 1 domain another.
<a href="http://xyz.com/cart.php?<?php echo sid ?>">cart</a>
Comments
Post a Comment