@if (loading()) {
{{ 'productDetails.loading' | translate }}
} @if (error()) {
{{ 'productDetails.retry' | translate }}
} @if (missing() && !loading() && !error()) {
{{ 'productDetails.backToCatalog' | translate }}
} @if (product(); as currentProduct) { @if (!loading() && !error()) {
@if (tabsEnabled()) {
@switch (activeTab()) { @case ('description') { } @case ('specifications') { } @case ('reviews') { } @case ('questions') { } @case ('delivery') { } @case ('warranty') { } }
} @else {
@if (isSectionEnabled('description')) { } @if (isSectionEnabled('specifications')) { } @if (isSectionEnabled('reviews')) { } @if (isSectionEnabled('questions')) { } @if (isSectionEnabled('delivery')) { } @if (isSectionEnabled('warranty')) { }
} @if (productPageConfigState().relatedProducts.enabled !== false) { } } }