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

Empty orders will be created #2

Closed
coupling opened this issue Jul 24, 2012 · 0 comments
Closed

Empty orders will be created #2

coupling opened this issue Jul 24, 2012 · 0 comments

Comments

@coupling
Copy link

<% @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.

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

2 participants