You've already forked wc-bootstrap
21 lines
485 B
Twig
21 lines
485 B
Twig
|
|
{#
|
||
|
|
# Order Again Button (Bootstrap 5 Override)
|
||
|
|
#
|
||
|
|
# Renders a button to reorder a previous order.
|
||
|
|
#
|
||
|
|
# Expected context:
|
||
|
|
# order_again_url - URL to reorder
|
||
|
|
#
|
||
|
|
# WooCommerce PHP equivalent: order/order-again.php
|
||
|
|
#
|
||
|
|
# @package WcBootstrap
|
||
|
|
# @since 0.1.0
|
||
|
|
#}
|
||
|
|
|
||
|
|
<p class="order-again mt-3">
|
||
|
|
<a href="{{ order_again_url|esc_url }}" class="btn btn-outline-primary">
|
||
|
|
<i class="bi bi-arrow-repeat me-1" aria-hidden="true"></i>
|
||
|
|
{{ __('Order again') }}
|
||
|
|
</a>
|
||
|
|
</p>
|