Skip to content

Commit

Permalink
CHECKOUT-1189 : Adding support to Order Confirmation page in Stencil
Browse files Browse the repository at this point in the history
  • Loading branch information
snaderiBC committed Mar 6, 2017
1 parent afc72a6 commit 36106b2
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"product_showcase",
"persistent_cart",
"one_page_check_out",
"product_videos"
"product_videos",
"customized_checkout"
]
},
"css_compiler": "scss",
Expand Down
32 changes: 32 additions & 0 deletions templates/pages/orderconfirmation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{{#partial "head"}}
{{{ checkout.checkout_head }}}
{{{ stylesheet '/assets/css/optimized-checkout.css' }}}
{{ getFontsCollection }}

<script type="text/javascript">
window.language = {{{langJson 'optimized_checkout'}}};
</script>

{{/partial}}

{{#partial "page"}}
<header class="checkoutHeader optimizedCheckout-header">
<div class="checkoutHeader-content">
<h1 class="is-srOnly">{{lang 'checkout.title'}}</h1>
<h2 class="checkoutHeader-heading">
<a class="checkoutHeader-link" href="{{urls.home}}">
{{#if checkout.header_image}}
<img alt="{{settings.store_logo.title}}" class="checkoutHeader-logo" id="logoImage" src="{{ checkout.header_image }}"/>
{{ else }}
<span class="header-logo-text">{{settings.store_logo.title}}</span>
{{/if}}
</a>
</h2>
</div>
</header>

{{{ checkout.order_confirmation_content }}}

{{/partial}}

{{> layout/empty}}

0 comments on commit 36106b2

Please sign in to comment.