Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Add Item into Cart by SQL Insert

$
0
0
Hi,

I think the problem you have here is a process order issue.

The cart check for a cart cookie, which should have the a cartid (GUID I think), it then search for the cart in the DB and displays it. Because your adding the cart by code the cookie is not being created on the user PC and hence when the user goes to the cart the cartid of the cookie is not in the DB and hence a blank cart!!

I'm not sure what you can do to get around this issue without either creating the cookie on the user PC by some other means (but it must have the correct id) or by altering the NB_Store code to not clear the cart!

Regards,
Dave.

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>