Hi @WebSpider ,
I'm guessing that your operations of shopping are like this: firstly, when users add the quantities, it need to pass the PID and the quantity to code behind. So it need you to use ajax webmethod. And then you could update the quantity.Also you want to save the data to cookies,you could do like this:
Response.Cookies["CartCookie"].Value =quantity.ToString();
Best regards,
Yijing Sun
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.