update purchase format and cart update 3.6
Merge branch 'master' of https://github.com/tmlai/CMPUT410-TTHE-Group-Project