-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
Send order and agreement variables to the view #930
Conversation
Especially the `$order` which is really really good to have there. It allows to custom the success page without loading the order again.
Shoul the phtml file be also updated with this PR (to demonstrate the usefullness)? |
I see no need here since the phtml contains everything which is needed right now. It's still possible to add a comment saying these two variables are available in the templates, but I don't see the need here. |
where is the object loaded again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember to need to load the Order Object from the success page quite often, so yes, this is a usefull addition.
So do I get it right, that default templates are not using the order objects (they are not fetching it), but it's a common customization to show some order properties, so its good to have order object available? |
yes |
…cess template It allows to customize the success page without loading the order again
…cess template It allows to customize the success page without loading the order again
Especially the
$order
which is really really good to have there.It allows to custom the success page without loading the order again.