You've already forked wc-bootstrap
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>
28 lines
646 B
Twig
28 lines
646 B
Twig
{#
|
|
# My Account Page (Bootstrap 5 Override)
|
|
#
|
|
# Main wrapper for the My Account area. Renders sidebar navigation
|
|
# and the current endpoint content.
|
|
#
|
|
# WooCommerce PHP equivalent: myaccount/my-account.php
|
|
#
|
|
# @package WcBootstrap
|
|
# @since 0.1.0
|
|
#}
|
|
|
|
{{ do_action('woocommerce_before_my_account') }}
|
|
|
|
<div class="row g-4">
|
|
<div class="col-lg-3">
|
|
{% include 'myaccount/navigation.html.twig' %}
|
|
</div>
|
|
|
|
<div class="col-lg-9">
|
|
<div class="woocommerce-MyAccount-content">
|
|
{{ do_action('woocommerce_account_content') }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{ do_action('woocommerce_after_my_account') }}
|