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

Multiple duplicate shipping notes. #3

Open
pocallaghan opened this issue Aug 7, 2013 · 0 comments
Open

Multiple duplicate shipping notes. #3

pocallaghan opened this issue Aug 7, 2013 · 0 comments

Comments

@pocallaghan
Copy link

Just doing a code review of a site using your module. Looking at entries in their DB and your code, it seems like you can get multiple shipping notes for an order. You observe the checkout_controller_onepage_save_shipping_method event, which can presumably get triggered multiple times during checkout if people move backwards/forwards in the checkout process. Also it means that the shipping note is created even if the checkout process isn't completed.

Not a big deal just means items get 'stranded' in the database so I thought I'd mention it. I guess the simplest solution would be to store the quote_id on the note, then you could load the shipping node if one exists, else create a new one.

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

1 participant