I created a multistore using this link with reference.
My default site is working fine, but in my sub store Add to cart is not working, it returns 302 error.
The problem is that cookies are not stored in your sub store (http://arocos.com).
In your default site, cookies are stored.
Check the settings of the cookies in magento.
https://magento.stackexchange.com/questions/68070/whats-the-correct-cookie-config-for-a-magento-site-split-across-multiple-instan
Plaese refer this steps also:
What we had to do is set System > Configuration > Web > URL Options, change Add Store Code to URLs to "Yes". Then we were able to initialize the Mage::app() to the right store code and the add to cart url then correctly routes to the site that has the product.
Causes
Javascript mistake. Most likely the problem is related to the javascript mistake on your page. If you do not have any javascript errors, there’s a couple of other things to look for.
Store URL. Site can be accessed through adress like: eshop.com as well as www.eshop.com. If you install your store like eshop.com, then if you’ll access your store via www.eshop.com, the add to cart wont work on the homepage. So here could be the root of the problem.
Mixed Domains: Make sure that your product page is on the same domain as your Magento installation.
SSL Certificate Problems: SSL errors might be caused by an incorrect environment setup, a bad server certificate, connection problems, certificate expiration etc.
Server-side problems. Your hosting provider (especially if you’re on a shared hosting) may have implemented any changes that lead to functionality drop. How to Fix
Here are some tips and tricks on how to fix this and make your store sales live again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With