Implement Phase 6 & 7: My Account and Order Details templates (Bootstrap 5, HPOS)

Phase 6 - My Account (15 templates):
- Account layout with sidebar navigation (list-group) and content area
- Orders table with status badges, pagination, and responsive design
- View order with order notes as list-group items
- Address cards with edit/add buttons
- Login/Register side-by-side card layout
- Account edit, password change, downloads, payment methods forms
- Lost/reset password forms and confirmation

Phase 7 - Order Details (5 templates):
- Order details table with items, totals, and customer note
- Line item rows with refund quantity display
- Customer billing/shipping address cards
- Order tracking form
- Order again button

All order templates use WC_Order object methods only (HPOS compatible).
Bootstrap 5 components: cards, tables, list-groups, badges, forms, alerts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 10:43:30 +01:00
parent 594d810439
commit 8b1793097c
22 changed files with 1377 additions and 20 deletions

View File

@@ -0,0 +1,23 @@
{#
# Lost Password Confirmation (Bootstrap 5 Override)
#
# Confirmation text after password reset email has been sent.
#
# WooCommerce PHP equivalent: myaccount/lost-password-confirmation.php
#
# @package WcBootstrap
# @since 0.1.0
#}
<div class="alert alert-success mb-4" role="alert">
<i class="bi bi-check-circle me-2" aria-hidden="true"></i>
{{ __('Password reset email has been sent.') }}
</div>
{{ do_action('woocommerce_before_lost_password_confirmation_message') }}
<p>
{{ apply_filters('woocommerce_lost_password_confirmation_message', __('A password reset email has been sent to the email address on file for your account, but may take several minutes to show up in your inbox. Please wait at least 10 minutes before attempting another reset.')) }}
</p>
{{ do_action('woocommerce_after_lost_password_confirmation_message') }}