{# # Order Review Table (Bootstrap 5 Override) # # Renders the order summary table during checkout. # # Expected context: # cart_items - Array of cart items for review # cart_subtotal - Subtotal HTML # cart_total - Total HTML # coupons - Applied coupons # fees - Fees # # WooCommerce PHP equivalent: checkout/review-order.php # # @package WcBootstrap # @since 0.1.0 #}
{{ do_action('woocommerce_review_order_before_cart_contents') }} {% if cart_items is defined %} {% for item in cart_items %} {% endfor %} {% endif %} {{ do_action('woocommerce_review_order_after_cart_contents') }} {% if coupons is defined %} {% for coupon in coupons %} {% endfor %} {% endif %} {{ do_action('woocommerce_review_order_before_shipping') }} {% if wc_shipping_enabled() is defined and wc_shipping_enabled() %} {{ do_action('woocommerce_review_order_shipping') }} {% endif %} {{ do_action('woocommerce_review_order_after_shipping') }} {% if fees is defined %} {% for fee in fees %} {% endfor %} {% endif %} {{ do_action('woocommerce_review_order_before_order_total') }} {{ do_action('woocommerce_review_order_after_order_total') }}
{{ __('Product') }} {{ __('Subtotal') }}
{{ item.product_name|esc_html }} × {{ item.quantity }} {{ item.item_data_html|default('')|raw }} {{ item.subtotal|raw }}
{{ __('Subtotal') }} {{ cart_subtotal|raw }}
{{ __('Coupon:') }} {{ coupon.code|esc_html }} {{ coupon.discount_html|raw }}
{{ fee.name|esc_html }} {{ fee.total_html|raw }}
{{ __('Total') }} {{ cart_total|raw }}