silverstripe-webpack/app/templates/SilverShop/Page/Layout/CheckoutPage.ss

27 lines
880 B
Scheme
Raw Normal View History

2023-03-24 19:35:01 +01:00
<div class="cart-page cart-page--checkout page-content">
<div class="checkout element">
<% if $PaymentErrorMessage %>
2018-08-26 12:46:03 +02:00
<div class="container">
<div class="alert alert-danger message error">
<%t SilverShop\Page\CheckoutPage.PaymentErrorMessage 'Received error from payment gateway:' %>
$PaymentErrorMessage
</div>
2018-08-26 12:46:03 +02:00
</div>
<% end_if %>
<% include Content %>
2018-08-26 12:46:03 +02:00
<div class="container">
<% if $Cart %>
<% with $Cart %>
<% include SilverShop\Cart\Cart ShowSubtotals=true %>
<% end_with %>
$OrderForm
<% else %>
<div class="alert alert-warning message warning"><%t SilverShop\Cart\ShoppingCart.NoItems "There are no items in your cart." %></div>
<% end_if %>
2018-08-26 12:46:03 +02:00
</div>
</div>
</div>