-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tracking cart functionality #6902
Conversation
Codecov Report
@@ Coverage Diff @@
## stable #6902 +/- ##
==========================================
- Coverage 26.93% 18.33% -8.60%
==========================================
Files 297 285 -12
Lines 28373 28308 -65
Branches 4153 4148 -5
==========================================
- Hits 7641 5190 -2451
- Misses 20458 23101 +2643
+ Partials 274 17 -257
Continue to review full report at Codecov.
|
hmmm this seems to work, but it requires someone on the backend to reassemble the cart from the activity to make sense of it. seems itd be easier just to have 1 helper function that takes the entire cart data, serializes it, and sends it to the backend to be stored in a blob every time something changes. |
Description
lets just make a grants.models.CartData object in the DB and store a JSON blob in it and a FK to the user. and do a POST request
Refers/Fixes
#6892
Testing
https://www.loom.com/share/fcafdd80c7124b0891010353c59d6cb7