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

Cart line products are checked for inventory before payment #7588 #108

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

PritishC
Copy link
Contributor

No description provided.

@PritishC PritishC force-pushed the feature/task-7588 branch 2 times, most recently from 4170a7a to 234638f Compare April 21, 2015 09:39
@@ -746,6 +746,17 @@ def payment_method(cls):
if not cart.sale.shipment_address:
return redirect(url_for('nereid.checkout.shipping_address'))

# Check if any goods product is present in cart sale lines which
# is out of stock
if any(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do this on a for loop and the message should be specifically about the product

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

Successfully merging this pull request may close these issues.

2 participants