Jump to content

Issue Using Webservice To Add Products To Cart


Recommended Posts

I am able to successfully add products to the guest cart.  I receive the cartid back from the webservice, I can see the shopping cart in the dashboard but the cart says empty and the products are not visible.

 

 

If I add a product via the default add to cart button I am able to successfully add the product and I see it appear in the cart.

 

I've looked at the database tables cart_product & cart so that I can compare the data for both products (one added by the webservice and the one added by the default processes).  They are exactly the same. 

 

I'm not sure what to look at next but I am getting really stressed.  I have a client waiting on this setup to be completed and this is the final piece of the puzzle.

 

More info.

I have added a custom module for designing tshirts.  The add to cart button is an button that submits the form.  Upon the form being submitted the webservice call is made to add the product to the cart.   The response is successful and is displayed on screen (not sure why that is happening, but perhaps that is the issue or a hint to what the issue is).  At this point the code should return the user to the shopping cart page.

 

I have tried turning off ajax carts to see if that resolved the issue but it did not.

 

Please advise, I'd appreciate any and all feedback or suggestions.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...