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

[7.x] Add additional "has cart" checks to cart tag #1096

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

duncanmcclean
Copy link
Owner

@duncanmcclean duncanmcclean commented Jun 8, 2024

This pull request adds some additional "has cart" checks to the cart tag.

This will hopefully fixes the issue where empty orders are created due to the {{ sc:cart }} tag attempting to "find or create" the customer's existing cart when some of the cart tags are used.

The issue in #1062 reports that the Debugbar integration might be causing an issue here, however, it doesn't really do anything without an active cart.

Fixes #1062.

@duncanmcclean duncanmcclean merged commit 79cc740 into 7.x Jun 8, 2024
12 checks passed
@duncanmcclean duncanmcclean deleted the add-additional-checks-to-cart-tag branch June 8, 2024 19:30
Copy link

github-actions bot commented Jun 8, 2024

Released as part of v7.3.0.

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.

Sometimes an empty order is added
1 participant