-
Notifications
You must be signed in to change notification settings - Fork 0
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
Collections #1
base: master
Are you sure you want to change the base?
Collections #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have a look
longclaw/checkout/utils.py
Outdated
@@ -23,6 +25,17 @@ def create_order(email, | |||
Create an order from a basket and customer infomation | |||
""" | |||
basket_items, current_basket_id = get_basket_items(request) | |||
|
|||
if not len(basket_items) > 0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like you're trying to solve a different problem. If this is the case, open an issue on the upstream and create a fork to solve it. Let's not mesh the issues.
longclaw/checkout/api.py
Outdated
addresses=address, | ||
shipping_option=shipping_option, | ||
) | ||
try: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment on utils.py bellow
Also remind me why we need the update from wagtail 2.6 to 2.9 |
2a7aae0
to
8d1e999
Compare
No description provided.