I am fetching all the products information outside of the magento installation so I am using soap api. I am unable to fetch cart url on which after clicking on, it will be redirected to my magento installation and it will be added to cart for the user
How do I get the Cart url using magento API. I have tried the url which is dynamic.. however it is redirecting me blank cart. It is showing "Shopping Cart is Empty"
I have checked on magento installation it uses the button onclick event
<button onclick="setLocation('http://example.com/checkout/cart/add/uenc/aHR0cDovL2VzaG9wbnNlbGwuY29tL2VzaG9wbnNlbGwuaHRtbD9TSUQ9ZTYyMTJhMzFjY2NmYTU1NzAwMGIxYjNkYTAwODY2Y2I,/product/56/?SID=e6212a31cccfa557000b1b3da00866cb')" class="button btn-cart" title="Add to Cart" type="button"><span><span>Add to Cart</span></span></button>
how this is passing the url
'http://example.com/checkout/cart/add/uenc/aHR0cDovL2VzaG9wbnNlbGwuY29tL2VzaG9wbnNlbGwuaHRtbD9TSUQ9ZTYyMTJhMzFjY2NmYTU1NzAwMGIxYjNkYTAwODY2Y2I,/product/56/?SID=e6212a31cccfa557000b1b3da00866cb'
Thanks :)