We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<% @minicart_order ||= current_order(true) %> in _minicart.html.erb will create empty orders for every visiting user.
I would remove 'true' and add a few conditinoal statements in case @minicart_order is nil.
The text was updated successfully, but these errors were encountered:
fix [#2] orders are created only if user add item to cart
9a86e47
No branches or pull requests
<% @minicart_order ||= current_order(true) %> in _minicart.html.erb will create empty orders for every visiting user.
I would remove 'true' and add a few conditinoal statements in case @minicart_order is nil.
The text was updated successfully, but these errors were encountered: