• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

php shopping cart trouble

 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

please go to my site : click here

if you click "BUY NOW" at product on this site twice or more it shown duplicated.

Whereas normally when user click to buy product , it's supposed increase the quantity , and not duplicated.

Q : How to fix this problem?

please someone help me

Thanks

Note : if you need something please tell me.

 
Nick Charles
Ranch Hand
Posts: 71
Linux PHP Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hint: in your code, when someone clicks Buy Now a second time, does your code look to see if that item already appears in the shopping cart and if so just increments the quantity?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic