Files
wc-bootstrap/templates/myaccount/my-account.html.twig
magdev 7034134678 Polish My Account templates with Bootstrap 5 patterns
Redesign navigation with endpoint icons, offcanvas-lg responsive
pattern, and sticky sidebar. Replace flat dashboard with card-based
welcome greeting (avatar) and quick-action grid. Wrap all forms
(edit-account, edit-address, lost/reset-password) in card sections
with icon headers. Restructure view-order with summary card and
status badge component. Override WooCommerce's float-based layout
and max-width constraint to let Bootstrap flex grid handle sizing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 13:28:15 +01:00

28 lines
647 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-auto">
{% include 'myaccount/navigation.html.twig' %}
</div>
<div class="col-lg">
<div class="woocommerce-MyAccount-content">
{{ do_action('woocommerce_account_content') }}
</div>
</div>
</div>
{{ do_action('woocommerce_after_my_account') }}