My add to cart url returns this. When i click it the products doesn't get added because it's invalid. This happens in the homepage.
In url "
/" =>',,' causing issue.
First in my code it was using
$this->getAddToCartUrl($_product) because of this issue i replaced it with this
Mage::helper('checkout/cart')->getAddUrl($_product) Still the problem exists.
I clear cache but not working. Anyone have idea?