15,913,758 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by James Min (Top 8 by date)
James Min
13-Jul-17 12:53pm
View
@Andy Lanng
James Min
13-Jul-17 11:46am
View
There is still a problem. I can't add a second product on the cart
James Min
13-Jul-17 11:07am
View
Lets switch at this problem. Ive made this a cleaner ES6. The problem is also the shopping cart. Take a look at this pls. https://www.codeproject.com/Questions/1196346/Problem-in-shopping-cart-in-javascript-ES
James Min
13-Jul-17 10:57am
View
I played it on your fiddle. Does the browser affect it? This is the fiddle i clicked https://jsfiddle.net/dhkufkq9/5/
James Min
13-Jul-17 10:55am
View
For example if i add to cart the product with the same product ID, it will just update the quantity not add a new row. Did you get it?
James Min
13-Jul-17 10:35am
View
Yes. I played your jsFiddle. yes its adding to cart but I'm asking for help since i want that if the same product ID is added to cart, it shouldn't add a new row instead it would just update the products quantity
James Min
13-Jul-17 10:17am
View
Yes its adding to cart. But the thing is, once it has the same product ID, it must increase its quantity and not add a new product in the cart table
James Min
13-Jul-17 2:19am
View
@Andy Lanng. We were instructed using plain javascript only. It still doesn't work. When we add the same product with the same ID, it still output a new row.
Show More