Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add theme suggestions for the checkout order summary and completion message templates#799

Open
mglaman wants to merge 1 commit intodrupalcommerce:8.x-2.x from
mglaman:2906028
Open

Add theme suggestions for the checkout order summary and completion message templates #799
mglaman wants to merge 1 commit intodrupalcommerce:8.x-2.x from
mglaman:2906028

Conversation

@mglaman
Copy link
Contributor

@mglaman mglaman commented Sep 15, 2017

...er summary and completion message templates

Copy link
Contributor Author

mglaman commented Sep 18, 2017

@bojanz the checkout message currently only receives the order. Should we also pass it the checkout_flow entity as well, then, so we can provide suggestion?

Copy link
Contributor Author

mglaman commented Sep 18, 2017

I'm stupid.

 /** @var \Drupal\commerce_checkout\Entity\CheckoutFlowInterface $checkout_flow */
 $checkout_flow = $variables['order_entity']->get('checkout_flow')->entity;

Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

AltStyle によって変換されたページ (->オリジナル) /