You've already forked wc-bootstrap
25 lines
752 B
Twig
25 lines
752 B
Twig
|
|
{#
|
||
|
|
# Cart Errors on Checkout (Bootstrap 5 Override)
|
||
|
|
#
|
||
|
|
# Displayed when checkout cannot proceed due to cart validation errors.
|
||
|
|
#
|
||
|
|
# WooCommerce PHP equivalent: checkout/cart-errors.php
|
||
|
|
#
|
||
|
|
# @package WcBootstrap
|
||
|
|
# @since 0.1.0
|
||
|
|
#}
|
||
|
|
|
||
|
|
{{ do_action('woocommerce_cart_has_errors') }}
|
||
|
|
|
||
|
|
<div class="alert alert-danger mb-4" role="alert">
|
||
|
|
<i class="bi bi-exclamation-triangle me-2" aria-hidden="true"></i>
|
||
|
|
{{ __('There are some issues with the items in your cart. Please go back to your cart and resolve these issues before checking out.') }}
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<p>
|
||
|
|
<a href="{{ wc_get_cart_url()|esc_url }}" class="btn btn-outline-primary">
|
||
|
|
<i class="bi bi-arrow-left me-1" aria-hidden="true"></i>
|
||
|
|
{{ __('Return to cart') }}
|
||
|
|
</a>
|
||
|
|
</p>
|