CodePudding user response:
Listen to your statement should be a shopping cart function, you can be in front such as JS, JQ storing these ids in a local cookies, submitted to the background when the final settlement to submit to save and subsequent operations, if all in SESSION, the user visits a large, a tight system resources,CodePudding user response:
You can search for "jq shopping cart", a lot of ready-made examples of reference, the number of price calculation on the client,