I am having a error, the stock value doesn\'t change, every purchase should minus the stock in my product database.
Here\'s my code in ajax
$(\'#save\'