Skip to content
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

m4-p6-s3-guestcheckout function guestOrder in utils.py #2

Open
numaFlores opened this issue Aug 8, 2020 · 0 comments
Open

m4-p6-s3-guestcheckout function guestOrder in utils.py #2

numaFlores opened this issue Aug 8, 2020 · 0 comments

Comments

@numaFlores
Copy link

Line 77 of the guestOrder function in utils.py (product = Product.objects.get (id = item ['id'])), error KeyError: 'id', replace with (product = Product.objects.get (id = item ['product'] ['id']))

before
after

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant